Which appraoch should you recommend?
You are designing a SharePoint 2010 farm in your organization. You need to design the
library to meet the following requirements: ·The budget approval office needs a custom
document library, which will send an e-mail as soon as each budget document is updated
by a user. .The SharePoint farm administrator wants to block the addition of any document
that is larger than 100 MB and send out a message to users informing them of the failure.
Which appraoch should you recommend?
You need to invoke the stored procedure to return the active products, and you must ensure that the UNQ to SQL
You use Microsoft .NET Framework 4 to develop an application that uses LINQ to SQL. The LINQ to
SQL model contains the Product entity. A stored procedure named GetActiveProducts performs a
query that returns the set of active products from the database. You need to invoke the stored
procedure to return the active products, and you must ensure that the UNQ to SQL context can track
changes to these entities. What should you do?
You need to create a custom content type and specify the content type ID
You need to create a custom content type and specify the content type ID. What should you do?
Which line of code should you use?
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to develop an application.
You use the ADO.NET Entity Framework Designer to model entities. You retrieve an entity from an
object context. A different application updates the database. You need to update the entity instance
to reflect updated values in the database. Which line of code should you use?
Which technology should you recommend?
You are designing an n-tier .NET Framework 4 solution that includes a Windows
Presentation Foundation (WPF) application. The WPF application will access data stored in
a Microsoft SQL Server 2008 database by using the solution’s data access tier. The data
access tier must also be available from within Microsoft Excel 2010. You need to
recommend a technology for accessing the data access tier. Which technology should you
recommend?
Which two technologies could you recommend?
You are designing an ASP.NET Web application. You have the following requirements:
Perform rapid development. Maintain cross-browser compatibility. Do not require client-side
installations. You need to recommend a client-side technology that meets the requirements.
Which two technologies could you recommend? (Each correct answer presents a complete
solution. Choose two.)
You need to provide a user with the ability to manage records in the zone
You manage a domain controller that runs Windows Server 2008 R2 and the DNS Server server role.
The DNS server hosts an Active Directory-integrated zone for your domain. You need to provide a
user with the ability to manage records in the zone. The user must not be able to modify the DNS
server settings. What should you do?
Which code segment should you use?
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to develop an application
that connects to a Microsoft SQL Server 2008 database. You use the ADO.NET Entity Framework
Designer to model entities. You add the following stored procedure to the database, and you add a
function import to the model.
CREATE PROCEDURE [dbo].[InsertDepartment]
@Name nvarchar(50),
@ ID int NULL OUTPUT
AS
INSERT INTO Department (Name) VALUES (@Name)
SELECT @ID = SCOPE_IDENTITY()
You need to insert a new department and display the generated ID. Which code segment should you
use?
Which code segment should you use?
You use Microsoft .NET Framework 4 to develop an ASP.NET Web application that connects to a
Microsoft SQL Server 2008 database. The application uses Integrated Windows authentication in
Internet Information Services (IIS) to authenticate users. A connection string named connString
defines a connection to the database by using integrated security. You need to ensure that a
SqlCommand executes under the application pool’ s identity on the database server. Which code
segment should you use?
You need to ensure that the DAL entity objects are updated when the database schema changes
You are designing a Windows Presentation Foundation (WPF) application by using
Microsoft .NET Framework 4, Microsoft Visual Studio 2010, and Microsoft SQL Server
2008. You have designed the application to use the ADO.NET Entity Framework for the
Data Access Layer (DAL). You have designed the user interface (UI) of the application by
using the Model-View-ViewModel (M-V-VM) pattern. The middle tier of the application is
designed by using Windows Communication Foundation (WCF). The database schema
changes often. The DAL entity objects are required to be referenced from the middle tier
and the ViewModel layer of the UI. You need to ensure that the DAL entity objects are
updated when the database schema changes. What should you do?