Microsoft 70-487 Exam Actual Questions

The questions for 70-487 were last updated on Nov. 1, 2024.
  • Viewing page 1 out of 40 pages.
  • Viewing questions 1-5 out of 200 questions

Topic 1 - Question Set 1

Question #1 Topic 1

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.
Reveal Solution Hide Solution   Discussion   2

Correct Answer: D 🗳️

Question #2 Topic 1

You are developing an application in Visual Studio 2012 to display student information. The application contains the following Entity Framework model.


The application contains a WCF data service named DirectoryService.svc.
You need to create a query expression to display all of the grades for students whose first name is "John"
How should you build the expression?

  • A. http://localhost:54946/DirectoryService.svc/Students?$filter=FirstName eq 'John' &$expand=Grades
  • B. http://localhost:54946/DirectoryService.svc/Students?$filter=FirstName eq 'John'/Grades
  • C. http://localhost:54946/DirectoryService.svc/Students?$filter=FirstName = 'John' &$expand=Grades
  • D. http://localhost:54946/DirectoryService.svc/Grades/Students?$filter=FirstName eq 'John' A
Reveal Solution Hide Solution   Discussion   11

Correct Answer: Explanation 🗳️

Question #3 Topic 1

DRAG DROP -
You are developing a WCF Data Services service in Visual Studio to display movie information from a SQL Server database that changes every 24 hours. The service is defined in the following class.

The application contains the following Entity Framework model.

The service must only return data for movies that are currently in theaters.
You need to add a method to the MovieService class to filter the data.
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.)
Select and Place:

Reveal Solution Hide Solution   Discussion   3

Correct Answer:
Query interceptor methods, which are called when processing an HTTP GET request, must return a lambda expression that determines whether an instance of the interceptor's entity set should be returned by the query results. This expression is used by the data service to further refine the requested operation. The following is an example definition of a query interceptor.
// Define a query interceptor for the Orders entity set.
[QueryInterceptor("Orders")]
public Expression<Func<Order, bool>> OnQueryOrders()
References:
https://docs.microsoft.com/en-us/dotnet/framework/data/wcf/interceptors-wcf-data-services

Question #4 Topic 1

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
Reveal Solution Hide Solution   Discussion   6

Correct Answer: A 🗳️

Question #5 Topic 1

DRAG DROP -
You are developing a Windows Azure based web application that provides users the ability to rent training videos. The application is deployed to hosted services in Asia and Europe.
The web application must meet the following requirements:
✑ Video files are large and must be able to be streamed.
✑ Streaming videos requires low latency network connections.
✑ Rental data contains structured information about the user and the video.
✑ Rental permissions are checked every five seconds during video playback.
You need to recommend a storage architecture for the application.
What should you do? (To answer, drag the appropriate technologies to the correct location or locations in the answer area. Each technology 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.)
Select and Place:

Reveal Solution Hide Solution   Discussion   1

Correct Answer:

Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...