PrepAway - Latest Free Exam Questions & Answers

Category: 70-487 (v.4)

Exam 70-487: Developing Windows Azure and Web Services (update November 4th, 2016)

You need to create a remote NuGet feed that exposes the libraries for developer use

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

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

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:

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

Which code segments should you include in Target 1, Target 2, Target 3…?

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.

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:

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

Which code segments should you include in Target 1, Target 2…?

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:

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

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

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

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

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

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:

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

You need to implement basic authentication for the API

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)

Which code segment should you use?

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.

You need to execute a single deferred query to return the filtered list of customers.
Which code segment should you use?

Which code segments should you include in Target 1, Target 2, Target 3…?

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:

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


Page 11 of 12« First...89101112