Q1. - (Topic 5)
You are developing an ASP.NET MVC application.
You need to authenticate clients by using NT LAN Manager (NTLM).
Which authentication method should you implement?
A. Basic
B. Windows
C. Kerberos
D. Forms
Answer: B
Explanation: http://msdn.microsoft.com/en-us/library/aa292114(v=vs.71).aspx
Q2. DRAG DROP - (Topic 5)
You are developing an ASP.NET Web API action method.
The action method must return the following JSON in the message body.
{ " Name ":" Fabrikam", "Vendor Id": 9823, "Items": ["Apples", "Oranges"] }
You need to return an anonymous object that is serialized to JSON.
What should you do? (To answer, drag the appropriate code segments to the correct
location or locations in the answer area. Each code segment 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:
Q3. - (Topic 2)
The QueueDetail entity type must inherit from the InboundQueue entity type in the ExternalQueue service project using table-per-type inheritance.
You need to modify the entities in the designer.
What should you do? (Each correct answer presents part of the solution. Choose all that apply.)
A. Remove the OrderNum property in InboundQueue.
B. Remove the OrderNum property in QueueDetail.
C. Set the QueueDetail BaseType to InboundQueue.
D. Remove the association between the entities.
E. Right-click the entities and validate the table mapping.
F. Set the InboundQueue BaseType to QueueDetail.
Answer: B,C,D,E
Explanation: http://www.robbagby.com/entity-framework/entity-framework-modeling-table-per-type-inheritance/
Q4. DRAG DROP - (Topic 5)
You are developing a RESTful application by using ASP.NET MVC. The application is a pet management system and implements the following method in a controller for retrieving pet data.
The method must only accept JSON data using the standard MIME type.
You need to implement a controller that saves pet data and return a properly formatted HTTP/1.1 protocol response.
You have the following code:
Which code segments should you include in Target 1, Target 2, Target 3 and Target 4 to complete the code? (To answer, drag the appropriate code segments to the correct targets in the answer area. Each code segment 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:
Q5. - (Topic 1)
You are preparing to write the data access code for the children's book area of the web site.
You need to review the requirements and identify the appropriate data access technology.
What should you do?
A. Use the WCF Data Services.
B. Use a Web Service.
C. Use ADO.NET Entity Framework.
D. Use LINQ to SQL
Answer: C
Q6. - (Topic 5)
You are developing an ASP.NET MVC application that enables you to edit and save a
student object.
The application must not retrieve student objects on an HTTP POST request.
You need to implement the controller.
Which code segment should you use? (Each correct answer presents a complete solution.
Choose all that apply.)
A. Option A
B. Option B
C. Option C
D. Option D
Answer: A,C
Q7. DRAG DROP - (Topic 5)
You are developing an ASP.NET MVC Web API application.
The method names of the Web API must match naming guidelines for RESTful services.
You need to create methods to support standard insert, select, update, and delete operations in an HTTP service.
What should you do? (To answer, drag the appropriate HTTP methods to the correct row in the table in the answer area. Each HTTP method 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:
Q8. DRAG DROP - (Topic 5)
You are developing an ASP.NET Web API application that will be consumed by a web browser via a composite application that is served from another web domain.
You need to configure the Web API.
What should you do? (To answer, drag the appropriate XML elements to the correct location or locations in the answer area. Each XML element 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:
Q9. DRAG DROP - (Topic 4)
Historical flight information data will be stored in Windows Azure Table Storage using the
FlightInfo class as the table entity.
There are millions of entries in the table. Queries for historical flight information specify a set of airlines to search and whether the query should return only late flights. Results should be ordered by flight name.
You need to specify which properties of the FlightInfo class should be used at the partition and row keys to ensure that query results are returned as quickly as possible.
What should you do? (To answer, drag the appropriate properties to the correct location or locations in the answer area. Each property 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:
Q10. - (Topic 4)
You are adding a new REST service endpoint to the FlightDataController controller that
returns the total number of seats for each airline.
You need to write a LINQ to Entities query to extract the required data.
Which code segment should you use?
A. Option A
B. Option B
C. Option C
D. Option D
Answer: D