Latest MCSD 70-487 Dumps Real Exam Download 1-10

Ensurepass

QUESTION 1

You are building an ADO.NET Entity Framework application. You need to validate the conceptual schema definition language (CSDL), store schema definition language (SSDL), and mapping specification language (MSL) files. Which Entity Data Model tool can you use? (Each correct answer presents a complete solution. Choose all that apply.)

 

A. EDM Generator (EdmGen.exe)

B. ADO.NET Entity Data Model Designer

C. Entity Data Model Wizard

D. Update Model Wizard

 

Correct Answer: BC 

 

 

QUESTION 2

DRAG DROP

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.

clip_image002

Correct Answer:   

clip_image004

 

 

QUESTION 3

DRAG DROP

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.)

clip_image006

Correct Answer:  

clip_image008

 

 

QUESTION 4

DRAG DROP

You are developing an ASP.NET MVC Web API application. The method names of the Web API must match naming guidelines for RESTful services. You need to create methods to support standard insert, select, update, and delete operations in an HTTP service. What should you do? (To answer, drag the appropriate HTTP methods to the correct row in the table in the answer area. Each HTTP method 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_image010

Correct Answer:  

clip_image012

 

 

QUESTION 5

DRAG DROP

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.)

clip_image014

Correct Answer:  

clip_image016

 

 

QUESTION 6

You are planning to migrate websites from IIS 6 to IIS 7.5. You do not have access to SSH or a VPN. You need to select a deployment tool to securely migrate the websites. Which tool should you use?

 

A. RoboCopy

B. Web Deploy

C. Microsoft command-line FTP

D. xCopy

 

Correct Answer: B 

 

 

QUESTION 7

You are preparing to develop a set of libraries for a company. The libraries must be shared across the company. You need to create a remote NuGet feed that

exposes the libraries. What should you do? (Each answer presents part of the solution. Choose all that apply.)

 

A. Install the NuGet.Feed Package.

B. Install the NuGet.Server Package.

C. Configure the Packages folder located in the system.webserver section of the web application’s Web.config.

D. Create a new Empty Web Site in Visual Studio 2012.

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

F. Add packages to the Packages folder.

G. Create a new Empty Web Application in Visual Studio 2012.

 

Correct Answer: BEFG 

 

 

QUESTION 8

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.

 

Correct Answer: D 

 

 

QUESTION 9

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

clip_image018

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’

 

Correct Answer: A 

 

 

QUESTION 10

DRAG DROP

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

clip_image020

The application contains the following Entity Framework model.

clip_image022

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.)

clip_image024

Correct Answer:  

clip_image026

 

Download Latest MCSD 70-487 Real Free Tests , help you to pass exam 100%.