Microsoft Developing Microsoft Azure and Web Services 70-487 Exam Practice Test

Page: 1 / 14
Total 203 questions
Question 1

Errors occasionally occur when saving data using the FlightInfoContext ADO.NET Entity Framework context. Updates to the data are being lost when an error occurs.

You need to ensure that data is still saved when an error occurs by retrying the operation. No more than five retries should be performed.

Which code segment should you use as the body of the SaveChanges() method in the FlightInfoContext.es file?



Answer : A


Question 2

You are developing a web application by using Microsoft .NET Framework 4.5.

You are creating a web client for the application. The web client will make REST calls to several web services.

You need to ensure that the web client meets the following requirements:

Uses the Task class to perform asynchronous operations

Reuses recently resolved DNS lookups

Which object should you include in the solution?



Question 3

You are developing an ASP.NET MVC application. The application is an order processing system that uses the ADO.NET Entity Framework against a SQL Server database. It has a controller that loads a page that displays all orders along with customer information. Lazy loading has been disabled.

The Order class is shown below.

You need to return the orders and customer information in a single round trip to the database.

Which code segment should you use?



Answer : A


Question 4

You need to configure DNS for the Event service.

How many DNS entries should you create?



Answer : C

Scenario: Regional access to the Event Service API

Data for partners in Germany and Brazil must be served from Azure datacenters in their respective geographies unless there is a regional Azure outage. All other partners must use the US West Azure datacenter.


Question 5

Data provided by Consolidated Messenger is cached in the HttpContext.Cache object.

You need to ensure that the cache is correctly updated when new data arrives.

What should you do?



Answer : D


Question 6

You are developing a WCF service.

A new service instance must be created for each client request.

You need to choose an instancing mode.

Which instancing mode should you use?



Answer : C


Question 7

You are planning to migrate websites from IIS 6 to IIS 7.5.

You do not have access to SSH or a VPN.

You need to select a deployment tool to securely migrate the websites.

Which tool should you use?



Page:    1 / 14   
Total 203 questions