Q1. DRAG DROP - (Topic 2)
You add a class named ShippingInfo.
You need to modify the IShippingService interface and the ShippingInfo class to meet the technical requirements.
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:
Q2. HOTSPOT - (Topic 4)
You are developing a WCF service in Visual Studio 2013 that integrates with the Microsoft
Azure service bus relay.
The Azure service bus namespace is named RestaurantServiceBus
You need to obtain the issuer name and secret.
What should you do? (To answer, select the appropriate option in the answer area.)
Answer:
Q3. DRAG DROP - (Topic 4)
You are developing a WCF Data Services service in Visual Studio 2012 to display movie information from a SQL Server database that changes every 24 hours. The service is defined in the following class.
The application contains the following Entity Framework model.
The service must only return data for movies that are currently in theaters.
You need to add a method to the MovieService class to filter the data.
How should you build the method? (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:
Q4. DRAG DROP - (Topic 4)
You are developing an ASP.NET MVC Web API application.
The methods of the Web API must return details about the result of the operation.
You need to create methods to update and delete products.
You have the following code:
Which code segments should you include in Target 1, Target 2, Target 3, Target 4 and Target 5 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 2)
The DeleteExternalOrder() method in the ExternalQueueService service is not throwing a FaultException exception as defined by the FaultContractAttribute attribute in the IExternatQueueService.cs file.
You need to throw the FaultException exception.
Which code segment can you insert at line EQ45 to achieve this goal? (Each correct answer presents a complete solution. Chose all that apply.)
A. Option A
B. Option B
C. Option C
D. Option D
Answer: C
Q6. - (Topic 4)
You are developing an ASP.NET MVC web application that contains the following HTML.
<table id= “customer” ></table>
You also have an ASP.NET Web API application that contains a call for retrieving customers.
You must send and retrieve the data in the most compact format possible.
You need to update the HTML for the customers table to contain data from the Web API application.
Which script segment should you use?
A. Option A
B. Option B
C. Option C
D. Option D
Answer: A
Q7. HOTSPOT - (Topic 4)
You are developing a WCF service.
The service must be interoperable with ASP.NET web service clients. In addition, it must
have a time-out of three hours.
You need to configure the service to meet the requirements.
You have the following markup:
Which markup segments should you include in Target 1, Target 2, Target 3, Target 4, Target 5, Target 6 and Target 7 to complete the markup? (To answer, select the appropriate markup segment from each drop-down list in the answer area.)
Answer:
Q8. - (Topic 3)
You need to create an OData query expression to return the ten books with the largest number of sales.
Which query expression should you use?
A. Option A
B. Option B
C. Option C
D. Option D
Answer: C
Explanation:
Order by desc(ending) to get the posts with the largest number of sales at the top. Specify to display the top 10 posts.
Q9. - (Topic 4)
You are developing an ASP.NET MVC application.
Deployment administrators do not have access to Visual Studio 2102, but will have the
elevated permissions required to deploy the application to the servers. You need to select a deployment tool for use by the deployment administrators. Which tool should you use?
A. Publish Web Site Tool
B. Web Deployment Package
C. One-Click Publish
D. Deployment Package Editor
Answer: B
Q10. - (Topic 2)
You need to regenerate the service proxies to include task-based asynchronous method signatures.
Which command should you use?
A. aspnet_regiis.exe /t:code http://localhost:62965/UploadCallbackService.svc
B. svcutil.exe /t:code http://localhost:62965/UploadCallbackService.svc
C. aspnet_compiler.exe /t:code http://localhost:62965/UploadCallbackService.svc
D. aspnet_regiis.exe /t:code http://localhost:62965/UploadService.svc
E. svcutil.exe /t:code http://localhost:62965/UploadService.svc
Answer: B
Explanation: http://msdn.microsoft.com/en-us/library/aa347733.aspx