QUESTION 31Drag and Drop QuestionYou are developing a WCF service.You need to implement transport security by using NTLM authentication and NetTcpBindings.Which configuration values should you use? (To answer, drag the appropriate configuration values to the correct location or locations in the answer area. Each configuration value may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.)

QUESTION 33You are developing an order processing application that uses the ADO.NET Entity Framework against a SQL Server database. Lazy loading has been disabled. The application displays orders and their associated order details. Order details are filtered based on the category of the product in each order.The Order class is shown below.

You need to return orders with their filtered list of order details included in a single round trip to the database.Which code segment should you use?

A. Option AB. Option BC. Option CD. Option D

Answer: C

QUESTION 34You are developing an ASP.NET MVC application to be used on the Internet. The environment uses Active Directory with delegation to access secure resources.Users must be able to log on to the application to maintain their personal preferences.You need to use the least amount of development effort to enable users to log on.What should you do?

QUESTION 35You are developing an ASP.NET MVC application that uses forms authentication.Authentication credentials must be encrypted and secure.You need to ensure that user credentials are persisted after users log on.Where should you store the credentials? (Each correct answer presents a complete solution. Choose all that apply.)

A. In TempDataB. In SessionC. In ViewDataD. In a cookie

Answer: BD

QUESTION 36You are developing an ASP.NET MVC application.You need to authenticate clients by using NT LAN Manager (NTLM).Which authentication method should you implement?

QUESTION 37Drag and Drop QuestionYou are configuring a web application for deployment.You need to create a SetParameters.xml file to configure the IIS application pool. You have the following markup:

Which configuration values should you include in Target 1 and Target 2 to complete the markup? (To answer, drag the appropriate configuration values to the correct targets in the answer area. Each configuration value may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.)

Answer:

QUESTION 38You develop an ASP.NET MVC application that is secured by using SSL. You are ready to deploy the application to production. The deployment package must include the installation of the SSL certificate. You need to configure the deployment package to meet the requirement. What should you do?

A. Create a web publish pipeline target file with a custom web deploy target.B. In the Package/Publish settings of the project, select the All Files in this project option.C. Extend the CopyAllFilesToSingleFolder target in the project file.D. In the Build Events settings of the project, configure a pre-build event to include the SSL certificate.

QUESTION 39Hotspot QuestionYou are developing an ASP.NET MVC application that authenticates a user by using claims-based authentication.The application must:– Use Windows Identity Foundation 4.5.– Support the Windows Azure Access Control Service.You need to implement authentication.How should you build the class constructor? (To answer, select the appropriate option from the drop-down list in the answer area.)

Answer:

QUESTION 40Hotspot QuestionYou are developing an ASP.NET MVC application named ContosoWebApp. You are ready to deploy the application to your production web server.You need to import the publishing profile.Which menu item should you use? (To answer, select the appropriate menu item in the answer area).