70-487 Dumps

70-487 Free Practice Test

Microsoft 70-487: Developing Windows Azure and Web Services

QUESTION 1

DRAG DROP
The GetVendorPolicy() private method in the ProcessedOrderController controller is returning a
CacheItemPolicy object with default values. The returned policy must expire if the external file located at C:\Triggers\VendorTrigger.txt has been modified or the timeout outlined in the technical requirements is reached.
You need to return the policy.
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.)

Solution:

http://msdn.microsoft.com/en-us/library/system.runtime.caching.cacheitempolicy.aspx

Does this meet the goal?

Correct Answer: A

QUESTION 2

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?

Correct Answer: D

QUESTION 3

The GetExternalOrder() method in the ExternalQueueService service is throwing a runtime error. The method must query the database for a record that matches the orderNum parameter passed to the method.
You need to modify the queryString string to retrieve the record. With which code segment should you replace line EQ64?

Correct Answer: C

QUESTION 4

You need to load flight information provided by Consolidated Messenger. Which should you use?

Correct Answer: D

QUESTION 5

The DeleteExternalOrder() method in the ExternalQueueService service is not throwing a FaultException exception as defined by the FaultContractAttribute attribute in the IExternalQueueService.cs file.
You need to throw the FaultException exception.
Which code segments can you insert at line EQ45 to achieve this goal? (Each correct answer presents a complete solution. Chose all that apply)

Correct Answer: BC