Home » [Free] Get all latest Microsoft 70-487 Actual Tests 81-90

[Free] Get all latest Microsoft 70-487 Actual Tests 81-90

Ensurepass

QUESTION 81

HOTSPOT

You are developing an ASP.NET MVC application named ContosoWebApp. You are ready to deploy the application to your production web server.

 

You need to import the publishing profile.

 

Which menu item should you use?

 

To answer, select the appropriate menu item in the answer area.

 

clip_image001

 

Correct Answer:

clip_image002

 

 

QUESTION 82

HOTSPOT

You are developing an ASP.NET MVC application. It is ready for deployment to the production web server.

 

A local SQL Express .MDF file was used by the application during development

 

The deployment has the following requirements:

 

clip_image004The deployment must merge the assemblies on the local machine with those on the host.

clip_image004[1]The deployment must publish the local database to the remote Microsoft SQL server.

 

You need to configure the web package settings for deployment.

 

Which settings should you use?

 

To answer, select the appropriate setting or settings in the answer area.

 

clip_image005

 

Correct Answer:

clip_image006

 

 

QUESTION 83

You are developing a Microsoft Azure web application. The application will be deployed to 10 web role instances. A minimum of 8 running instances is needed to meet scaling requirements. You need to configure the application so that upgrades are performed as quickly as possible, but do not violate scaling requirements. How many upgrade domains should you use?

 

A.

1

B.

2

C.

5

D.

10

 

Correct Answer: C

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

QUESTION 84

HOTSPOT

You are supporting an application that uses the ADO.NET Entity Framework to query and access data.

 

The latest version of a tool will add new templates and wizards that will enhance developer productivity.

 

You need to update the tool.

 

Which Visual Studio 2012 menu item should you choose?

 

To answer, select the appropriate menu item in the answer area.

 

clip_image008

 

Correct Answer:

clip_image010

QUESTION 85

You are developing an ASP.NET MVC application that displays a report. The report includes large images that are stored in a database. Members of the EntityClient namespace are used to access the database through the ADO.NET Entity Framework data model. You need to prevent memory exceptions while generating a report using the EntityDataRcader type. Which CommandBehavior type should you use?

 

A.

FastForwardReadOnly

B.

SequentialAccess

C.

SingleResult

D.

SingleRow

 

Correct Answer: B

Explanation:

SequentialAccess

Provides a way for the DataReader to handle rows that contain columns with large binary values. Rather than loading the entire row, SequentialAccess enables the DataReader to load data as a stream.

 

 

QUESTION 86

You are developing an ASP.NET MVC application. The application has a page that searches for and displays an image stored in a database. Members of the EntityClient namespace are used to access an ADO.NET Entity Framework data model. Images and associated metadata are stored in a database table. You need to run a query that returns only the image while minimizing the amount of data that is transmitted. Which method of the EntityCommand type should you use?

 

A.

ExecuteScalar

B.

ExecuteDbDataReader

C.

ExecuteReader

D.

ExecuteNonQuery

 

Correct Answer: A

Explanation:

ExecuteScalar

Executes the command, and returns the first column of the first row in the result set.

Additional columns or rows are ignored.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

QUESTION 87

You are developing an order processing application that uses the ADO.NET Entity Framework against a SQL Server database. Lazy loading has been disabled. The application displays orders and their associated order details. Order details are filtered based on the category of the product in each order.

 

The Order class is shown below.

 

clip_image011

 

The OrderDetail class is shown below.

 

clip_image012

 

The Product class is shown below.

 

clip_image013

 

The Category class is shown below.

 

clip_image014

 

You need to return orders with their filtered list of order details included in a single round trip to the database.

 

Which code segment should you use?

 

clip_image015

 

A.

Option A

B.

Option B

C.

Option C

D.

Option D

 

Correct Answer: B

 

 

 

 

 

 

 

 

 

 

 

 

QUESTION 88

DRAG DROP

You are developing a WCF service application.

 

The application must meet the following requirements:

 

clip_image004[2]Operations must have 30 second timeouts.

clip_image004[3]The service must have a transaction scope.

clip_image004[4]Transactions must flow from the client to the server.

 

You need to write a transactional service contract and implementation class to meet the requirements.

 

You have the following code:

 

clip_image016

 

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_image018

Correct Answer:

clip_image020

 

 

QUESTION 89

DRAG DROP

You are developing a WCF service.

 

You need to configure the web.config file to ensure that metadata is exposed only via the MEX protocol.

 

You have the following markup:

 

clip_image021

 

Which XML elements should you include in Target 1, Target 2, Target 3 and Target 4 to complete the markup?

 

To answer, drag the appropriate XML elements to the correct targets 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_image023

 

Correct Answer:

clip_image025

 

 

 

 

 

 

 

QUESTION 90

HOTSPOT

You are developing a WCF service in Visual Studio 2013 that integrates with the Microsoft Azure service bus relay.

 

The Azure service bus namespace is named RestaurantServiceBus

 

You need to obtain the issuer name and secret.

 

What should you do?

 

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

 

clip_image026

 

Correct Answer:

clip_image027

 

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

Instant Access to Try Microsoft 70-487 Free Demo

HOT EXAM!

Name of author

Name: admin