You need to ensure that all Contractors are bound to the Contractor class
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create an application. The
application connects to a Microsoft SQL Server 2008 database. The database includes a table that
contains information about all the employees. The database table has a field named EmployeeType
that identifies whether an employee is a Contractor or a Permanent employee. You declare the
Employee entity base type. You create a new Association entity named Contractor that inherits the
Employee base type. You need to ensure that all Contractors are bound to the Contractor class.
What should you do?
Which class should you use?
You are designing a Windows application by using Microsoft .NET Framework 4 and
Microsoft Visual Studio 2010. You plan to add a feature to the application. The application
will be used in several different locales. The application will send data to a centralized
server and log the date and time information. You need to ensure that the date and time
information includes the local Universal Time Coordinate (UTC) offset value. Which class
should you use?
Which approach should you recommend?
You are designing a collection of Web Parts that will be packaged into a SharePoint 2010
application that you plan to market worldwide. In order to be accessible in many different
languages, the following elements must comply with localization requirements: ·The feature
title and description The UI property labels You need to design the Web Parts according to
the localization requirements in a way that takes the fewest developer hours to implement
and maintain. Which approach should you recommend?
Which line of code should you use?
You use Microsoft .NET Framework 4 to develop an application that exposes a WCF Data Services
endpoint. The endpoint uses an authentication scheme that requires an HTTP request that has the
following header format.
GET /OData.svc/Products(l)
Authorization: WRAP access_token “123456789”
You add the following method to your DataService implementation.
Protected Overrides Sub OnStartProcessingRequest( ByVal args As
System.Data.Services.ProcessRequestArgs)
…
End Sub
You need to ensure that the method retrieves the authentication token. Which line of code should
you use?
What should you recommend?
You are designing an ASP.NET Web application. The Web application must instruct proxy
servers between the server and the browser to not cache content. You need to recommend
an approach for instructing the proxy servers. What should you recommend?
Which file should you modify?
You use a custom site definition to create SharePoint sites. You need to add a Web Part to the
home page of the site definition. Which file should you modify?
You need to ensure that all generated entities inherit from MyBaseClass
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to develop an application.
You use the Entity Framework Designer to create the following Entity Data Model.
The application contains a class as shown in the following code segment.
Public Class MyBaseClass Inherits EntityObject
End Class
You need to ensure that all generated entities inherit from MyBaseClass.
What should you do?
What should you create on Server1?
Your network contains three servers named Server1, Server2, and Server3 that have the Network
Policy Server (NPS) role service installed. On Server1, you configure a Remote RADIUS Server Group
that contains Server2 and Server3. On Server2 and Server3, you configure Server1 as a RADIUS
client. You configure Server2 and Server3 to authenticate remote users. You need to configure
Server1 to forward RADIUS authentication requests to Server2 and Server3. What should you create
on Server1?
Which code segment should you use?
You use Microsoft .NET Framework 4 and the Entity Framework to develop an application. You
create an Entity Data Model that has an entity named Customer. You set the optimistic concurrency
option for Customer. You load and modify an instance of Customer named loadedCustomer, which is
attached to an ObjectContext named context. You need to ensure that if a concurrency conflict
occurs during a save, the application will load up-to-date values from the database while preserving
local changes. Which code segment should you use?
You need to ensure that Feature1 is always activated before Feature2
You create a SharePoint solution that contains two Features named Feature1 and Feature2. You
need to ensure that Feature1 is always activated before Feature2. You must achieve this goal by
using the minimum amount of development effort. What should you do?