[Free] Get all latest Microsoft 70-487 Actual Tests 101-110

Ensurepass

QUESTION 101

You are preparing to develop a set of libraries that uses large data sets. The libraries must be shared across an organization and distributed to several servers. You need to create a remote NuGet feed that exposes the libraries for developer use. What should you do? (Each answer presents part of the solution. Choose all that apply.)

 

A.

Add packages to the Packages folder.

B.

Create a new Empty Web Application in Visual Studio.

C.

Configure the Packages folder located in the appSettings section of the web application’s Web.config.

D.

Install the NuGet.DataFeed Package.

E.

Install the NuGet.Server Package.

F.

Create a new Empty Web Site in Visual Studio.

 

Correct Answer: ABCE

Explanation:

Creating Remote Feeds

You can host a remote (or internal) feed on a server that runs IIS.

Step 1 (B): Create a new Empty Web Application in Visual Studio

Step 2 (E): Install the NuGet.Server Package

Step 3 (C): Configure the Packages folder

Step 4 (A): Add Packages to the Packages folder

Step 5: Deploy and run your brand new Package Feed!

 

Reference:

Hosting Your Own NuGet Feeds

 

 

QUESTION 102

DRAG DROP

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:

 

clip_image001

 

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.

 

clip_image002

 

Correct Answer:

clip_image003

 

 

QUESTION 103

You are developing an ASP.NET MVC application that reads and writes data from a SQL Server database. You need to maintain data integrity including retrieving identical sets across reads in all situations that use transactions. Which isolation level should you use?

 

A.

Repeatable

B.

Serializable

C.

ReadUncommitted

D.

ReadCommitted

 

Correct Answer: A

Explanation:

REPEATABLE READ

Specifies that statements cannot read data that has been modified but not yet committed by other transactions and that no other transactions can modify data that has been read by the current transaction until the current transaction completes.

 

 

QUESTION 104

DRAG DROP

You are developing a RESTful application by using ASP.NET MVC. The application is a pet management system and implements the following method in a controller for retrieving pet data.

 

clip_image004

 

The method must only accept JSON data using the standard MIME type.

 

You need to implement a controller that saves pet data and return a properly formatted HTTP/1.1 protocol response.

 

You have the following code:

 

clip_image005

 

Which code segments should you include in Target 1, Target 2, Target 3 and Target 4 to complete the code?

 

To answer, drag the appropriate code segments to the correct targets 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.

 

clip_image006

 

Correct Answer:

clip_image007

 

QUESTION 105

DRAG DROP

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

 

The methods of the Web API must return details about the result of the operation.

 

You need to create methods to update and delete products.

 

You have the following code:

 

clip_image008

 

Which code segments should you include in Target 1, Target 2, Target 3, Target 4 and Target 5 to complete the code?

 

To answer, drag the appropriate code segments to the correct targets 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.

 

clip_image009

 

Correct Answer:

clip_image010

 

 

QUESTION 106

HOTSPOT

You are developing an application.

 

The application must be deployed from Team Foundation Server after a successful build is completed. The Process tab of the Build Definition screen is shown in the exhibit. (Click the Exhibit button.)

 

clip_image011

 

You need to configure the automated deployment.

 

In which section should you define the parameters for the automated deployment?

 

To answer, select the appropriate section in the answer area.

 

clip_image012

 

Correct Answer:

clip_image013

 

 

QUESTION 107

DRAG DROP

You are developing an ASP.NET Web API for a home inventory management system.

 

You need to limit access to users with IP addresses based only in the United States.

 

You have the following code:

 

clip_image014

 

Which code segments should you include in Target 1 and Target 2 to complete the code?

 

To answer, drag the appropriate code segments to the correct targets 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.

 

clip_image016

 

Correct Answer:

clip_image018

 

 

 

 

 

 

 

 

 

 

 

 

 

QUESTION 108

DRAG DROP

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

 

clip_image020

 

Correct Answer:

clip_image022

 

 

QUESTION 109

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.

 

clip_image023

 

You need to execute a single deferred query to return the filtered list of customers.

 

Which code segment should you use?

 

clip_image025

 

A.

Option A

B.

Option B

C.

Option C

D.

Option D

 

Correct Answer: C

 

 

 

 

 

 

 

 

 

 

 

QUESTION 110

DRAG DROP

You are developing a self-hosted WCF service to display data about books. The solution contains a service named BookService that implements the IBookService interface.

 

You need to expose the metadata in the service host programmatically.

 

You have the following code:

 

clip_image026

 

Which code segments should you include in Target 1, Target 2, Target 3, Target 4 and Target 5 to build the service host?

 

To answer, drag the appropriate code segments to the correct targets 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.

 

clip_image027

 

Correct Answer:

clip_image028

 

Instant Access to Download Testing Software & PDF File for Microsoft 70-487 Real Exam

Instant Access to Try Microsoft 70-487 Free Demo

This entry was posted in 70-487 Actual Tests and tagged , , , , , . Bookmark the permalink.