we provide Actual Microsoft exam ref 70 487 exam prep which are the best for clearing microsoft 70 487 test, and to get certified by Microsoft Developing Windows Azure and Web Services. The 70 487 dumps Questions & Answers covers all the knowledge points of the real exam ref 70 487 developing windows azure and web services exam. Crack your Microsoft 70 487 exam Exam with latest dumps, guaranteed!

Q17. DRAG DROP - (Topic 4) 

You have a UI element library. 

You need to build a NuGet package to integrate the library into your projects. 

What should you do? (To answer, drag the appropriate code elements to the correct 

location or locations in the answer area. Each code 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: 


Q18. - (Topic 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. 

With which code segment should you replace the body of the SaveChanges() method in the FlightInfoContext.es file? 

A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer:

Explanation: Explanation/Reference: 

EntitySqlException: Represents errors that occur when parsing Entity SQL command text. 

This exception is thrown when syntactic or semantic rules are violated. 

SqlException: The exception that is thrown when SQL Server returns a warning or error. 

This class cannot be inherited. 

EntityCommandExecutionException : Represents errors that occur when the underlying 

storage provider could not execute the specified command. This exception usually wraps a 

provider-specific exception. 


Q19. - (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:


Q20. 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: 


Q21. - (Topic 2) 

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? 

A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer:


Q22. - (Topic 4) 

You are developing an order processing application that uses the ADO.NET Entity Framework against a SQL Server database. Lazy loading has been disabled. The application displays orders and their associated order details. Order details are filtered based on the category of the product in each order. 

The Order class is shown below. 

The OrderDetail class is shown below. 

The Product class is shown below. 

The Category class is shown below. 

You need to return orders with their filtered list of order details included in a single round trip to the database. 

Which code segment should you use? 

A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer:


Q23. - (Topic 1) 

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:


Q24. DRAG DROP - (Topic 4) 

You are developing a WCF service. The service will stream messages to clients on the internal network. 

You must use Windows Authentication, and all messages must be binary encoded. 

You need to configure the service. 

What should you do? (To answer, drag the appropriate elements to the correct location or locations in the answer area. Each 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: 


Q25. 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: 


Q26. DRAG DROP - (Topic 2) 

You need to complete the GetProcessedOrders() action in the ProcessedOrderController controller to meet the 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: 


Q27. - (Topic 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? 

A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer:


Q28. DRAG DROP - (Topic 4) 

You are supporting a WCF data contract that returns a price calculation that can be expanded to add new data members. 

Clients using the old version of the data contract must be supported. 

You need to define the data contract so that the data serializer can put unknown data members into a property bag. 

You have the following code: 

Which code segments should you include in Target 1 and Target 2 to complete the data contract? (To answer, drag the appropriate code elements to the correct targets in the answer area. Each code 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: 


Q29. - (Topic 4) 

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 customers. Customers are filtered on Country and, if provided, on CompanyName. 

You have an Entity Framework context named db. 

The Customer class is shown below. 

You need to execute a single deferred query to return the filtered list of customers. Which code segment should you use? 

A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer:


Q30. - (Topic 2) 

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) 

A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer: B,C 


Q31. - (Topic 3) 

You need to choose the appropriate data access strategy for the college textbook area of the web application. 

Which data access technology should you implement? 

A. ADO.NET 

B. Entity Data Model (EDM) 

C. WCF Data Services 

D. LINQ to SQL 

Answer:

Explanation: * Scenario: The college textbook area of the web application must get data from a daily updated CSV file. 

* ADO.NET reads the CSV file in a very similar way as table in database. 


Q32. - (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: