Home » [Free] Get all latest Microsoft 70-492 Actual Tests 31-40

[Free] Get all latest Microsoft 70-492 Actual Tests 31-40

Ensurepass

QUESTION 31

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

 

clip_image001

 

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?

 

clip_image003

 

A.

Option A

B.

Option B

C.

Option C

D.

Option D

 

Correct Answer: C

 

 

QUESTION 32

HOTSPOT

You are supporting an application that uses the ADO.NET Entity Framework to query and access data. The latest version of Entity Framework contains bug fixes that will improve performance.

You need to update Entity Framework. Which Visual Studio 2012 menu item should you choose? (To answer, select the appropriate menu item in the answer area.)

 

clip_image004

 

Correct Answer:

clip_image005

 

 

QUESTION 33

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 34

You are developing a WCF service that returns the result of a comparison between several data sources. The service takes a long time to complete. The service must meet the following requirements:

 

clip_image007The client must be able to continue processing while the service is running.

clip_image007[1]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.

Duplex

B.

Streaming

C.

One Way

D.

Request/Reply

 

Correct Answer: A

 

 

QUESTION 35

You are developing a WCF service. A new service instance must be created for each client request. You need to choose an instancing mode. Which instancing mode should you use?

 

A.

single

B.

Multiple

C.

PerSession

D.

PerRequest

E.

PerCall

 

Correct Answer: E

 

 

QUESTION 36

You are developing an ASP.NET MVC web application that contains the following HTML.

 

<table id=”customers”></table>

 

You also have an ASP.NET Web API application that contains a call for retrieving customers.

 

You must send and retrieve the data in the most compact format possible.

 

You need to update the HTML for the customers table to contain data from the Web API application. Which script segment should you use?

 

clip_image008

 

A.

Option A

B.

Option B

C.

Option C

D.

Option D

 

Correct Answer: A

 

 

QUESTION 37

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 38

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”,”VendorId”:9823,”Items”:[“Dogs”,”Cats”]}

 

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_image014

 

Correct Answer:

clip_image016

 

 

QUESTION 39

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_image018

 

Correct Answer:

clip_image020

 

 

QUESTION 40

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_image022

 

Correct Answer:

clip_image024

 

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

Instant Access to Try Microsoft 70-492 Free Demo

HOT EXAM!

Name of author

Name: admin