getcertified4sure.com

[Up to date] exam ref 70 487




Proper study guides for Far out Microsoft Developing Windows Azure and Web Services certified begins with Microsoft 70 487 exam preparation products which designed to deliver the Practical exam ref 70 487 questions by making you pass the exam ref 70 487 test at your first time. Try the free exam ref 70 487 demo right now.

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


Q52. - (Topic 1) 

You need to load flight information provided by Consolidated Messenger. 

Which should you use? 

A. SQL Server Data Transformation Services (DTS) 

B. EntityTransaction and EntityCommand 

C. Office Open XML 

D. OleDbConnection and OleDbDataReader 

Answer:


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


Q54. DRAG DROP - (Topic 4) 

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

The application must meet the following requirements: 

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

It must allow up to 1 MB of data to be received. 

It must allow up to 2 MB of 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: 


Q55. DRAG DROP - (Topic 1) 

Flight information data provided by Margie's Travel is updated both locally and remotely. When the data is synced, all changes need to be merged together without causing any data loss or corruption. 

You need to implement the Sync() method in the MargiesTravelSync.es file. 

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: 


Q56. DRAG DROP - (Topic 4) 

You are developing an Internet-based ASP.NET Web API application that manages pet data. 

You install an SSL certificate on the web server to encrypt calls to the API. You create a class named PetAuthorization, which inherits from a type named AuthorizeAttribute, and implements the OnAuthorization() method. 

You need to implement basic authentication for the API. 

What should you do? (To answer, drag the appropriate words to the correct targets in the answer area. Words 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: 


Q57. - (Topic 4) 

You are developing a WCF service that compares several data sources. The service takes a long time to complete. 

The service must meet the following requirements: 

. The client must be able to continue processing while the service is running. . The service must initiate communication with the client application when processing is complete. 

You need to choose a message pattern to meet the requirements. 

Which message pattern should you choose? 

A. One Way 

B. Streaming 

C. Duplex 

D. Request/Reply 

Answer:


Q58. - (Topic 3) 

You need to update the CreateMonthlyTotalsReports() method to use database transactions. 

Which code segment should you use? 

A. SqlConnection.BeginTransaction(IsolationLevel.ReadCommitted); 

B. SqlConnection.BeginTransaction(IsolationLevel.ReadUnconwited); 

C. SqlConnection.BeginTransaction(IsolationLevel.Chaos); 

D. SqlConnection.BeginTransaction(IsolationLevel.Serializable); 

Answer:

Explanation: * Scenario: The Create MonthlyTotalsReport() method must lock the data and prevent others from updating or inserting new rows until complete. 

* Serializable: 

A range lock is placed on the DataSet, preventing other users from updating or inserting 

rows into the dataset until the transaction is complete. 


Q59. - (Topic 4) 

You are developing a library to support multiple ASP.NET MVC web applications on a shared server. The library provides implementations of security algorithms. 

If a problem with any of the security algorithms is discovered, a new version of the library must be created and deployed. Application downtime during the update must be minimized. 

You need to ensure that the new version of the library will be used by all applications as soon as possible. 

What should you do? 

A. Build the web applications and include the security assembly as an embedded resource. 

When an update is needed, copy the new assembly to the bin directory for the application. 

B. Sign all assemblies in each application with the same key used to sign the security assembly. 

When an update is needed, create a new key pair and re-sign all assemblies. 

C. Build the security assembly as a netmodule in a shared location. 

Use the assembly linker to merge the netmodule into the assemblies for the application. 

When an update is needed, update the netmodule in the shared location. 

D. Install the security assembly in the Global Assembly Cache (GAC). 

When an update is needed, update the assembly in the GAC. 

Answer:


Q60. - (Topic 4) 

You are developing an ASP.NET MVC application that reads and writes data from a SQL Server database. 

You need to prevent the application from reading data that is locked by other transactions. You also need to prevent exclusive range locks. 

Which isolation level should you use? 

A. ReadCommitted 

B. Serializable 

C. Repeatable 

D. ReadUncommitted 

Answer: