70-487 Exam Questions - Online Test


70-487 Premium VCE File

Learn More 100% Pass Guarantee - Dumps Verified - Instant Download
150 Lectures, 20 Hours

certleader.com

Want to know Testking exam ref 70 487 developing windows azure and web services Exam practice test features? Want to lear more about Microsoft Developing Windows Azure and Web Services certification experience? Study Realistic Microsoft microsoft 70 487 answers to Regenerate 70 487 pdf questions at Testking. Gat a success with an absolute guarantee to pass Microsoft exam 70 487 (Developing Windows Azure and Web Services) test on your first attempt.

Q31. - (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 


Q32. - (Topic 4) 

You are developing an ASP.NET MVC application. The application has a page that searches for and displays an image stored in a database. Members of the EntityClient namespace are used to access an ADO.NET Entity Framework data model. Images and associated metadata are stored in a database table. 

You need to run a query that returns only the image while minimizing the amount of data that is transmitted. 

Which method of the EntityCommand type should you use? 

A. ExecuteScalar 

B. ExecuteDbDataReader 

C. ExecuteReader 

D. ExecuteNonQuery 

Answer:

Explanation: ExecuteScalar 

Executes the command, and returns the first column of the first row in the result set. 

Additional columns or rows are ignored. 


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


Q34. DRAG DROP - (Topic 4) 

You are developing an ASP.NET MVC Web API image management application. 

The application must meet the following requirements: 

It must send or receive image data without the use of a buffer. 

It must allow up to 4 MB of image data to be received. 

It must allow up to 3 MB of image data to be sent. 

You need to complete the code 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: 


Q35. - (Topic 1) 

You are adding a new REST service endpoint to the FlightDataController controller. It 

returns flights from the consolidated data sources only for flights that are late. 

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:

Explanation: Explanation/Reference: 

D is right because you send result as REST so if you use “AsQueryable” the result is 

deferred to the next enumeration of your result. 

D is not optimized but will works. 

A will break at runtime. 

Credits to Rem 


Q36. DRAG DROP - (Topic 4) 

You are developing an ASP.NET Web API application that will be consumed by a web browser via a composite application that is served from another web domain. 

You need to configure the Web API. 

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


Q37. DRAG DROP - (Topic 4) 

You are developing an ASP.NET Web API action method. 

The action method must return the following JSON in the message body. 

{" Name ":" Fabrikam", "Vendor Id": 9823, "Items": ["Apples", "Oranges"] } 

You need to return an anonymous object that is serialized to JSON. 

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: 


Q38. - (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 in all situations that use transactions. 

A. ReadUncommitted 

B. Repeatable 

C. Serializable 

D. ReadCommitted 

Answer:


Q39. - (Topic 3) 

The PurchaseOrders.xml file contains all of the purchase orders for the day. 

You need to query the XML file for all of the shipping addresses. 

Which code segment should you use? 

A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer:


Q40. HOTSPOT - (Topic 1) 

You need to deploy the application to the Windows Azure production environment to meet the business requirements. 

What should you do? (To answer, select the appropriate button in the answer area.) 

Answer: