Q1. DRAG DROP - (Topic 3)
An XML file must be produced by the SaveFeaturedBooks() method of the Book class. The
schema of the resulting XML file must be identical to the FeaturedBooks.xml file.
You need to write the code to produce the file.
You have the following code:
Which code segments should you include in Target 1, Target 2 and Target 3 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:
Q2. DRAG DROP - (Topic 2)
The GetQueueItems() action in the InboundQueueController controller is not populating the view with data. The action must populate the view with data by calling the GetExternalOrders() method in the ExternalQueueService service using the ChannelFactory class.
You need to modify the action to populate the view with data.
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. HOTSPOT - (Topic 4)
You 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).
Answer:
Q4. DRAG DROP - (Topic 4)
You are developing a self-hosted WCF service that returns stock market information.
The service must be discoverable by any client application.
You need to build the service host.
How should you build the host? (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:
Q5. - (Topic 4)
You are developing an ASP.NET MVC application.
Applications can be deployed to remote servers only by administrators who have elevated privileges. The administrators do not have access to Visual Studio 2012.
You need to select a deployment tool to deploy the application to remote servers for testing.
Which tool should you use?
A. Copy Web Site Tool
B. One-Click Publish
C. Publish Web Site Tool
D. Web Deployment Package
Answer: D
Q6. DRAG DROP - (Topic 4)
You 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.)
Answer:
Q7. - (Topic 4)
You are developing an ASP.NET MVC application that reads and writes data from a SQL Server database.
You need to maintain data integrity including retrieving identical sets across reads in all situations that use transactions.
Which isolation level should you use?
A. Repeatable
B. Serializable
C. ReadUncommitted
D. ReadCommitted
Answer: A
Explanation: REPEATABLE READ Specifies that statements cannot read data that has been modified but not yet committed by other transactions and that no other transactions can modify data that has been read by
the current transaction until the current transaction completes.
Q8. DRAG DROP - (Topic 4)
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:
Q9. - (Topic 4)
You are designing an ASP.NET Web API application.
You need to select an HTTP verb to allow blog administrators to modify the text of a comment.
Which HTTP verb should you use?
A. GET
B. DELETE
C. POST
D. PUT
Answer: D
Q10. - (Topic 3)
You need to choose the appropriate data access technology for the children's book area of the web application.
Which data access technology should you choose?
A. Web Service
B. LINQ to SQL
C. ADO.NET Entity Framework
D. WCF Data Services
Answer: C