PrepAway - Latest Free Exam Questions & Answers

Category: 70-487 (v.3)

Exam 70-487: Developing Windows Azure and Web Services (update July 2nd, 2016)

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, Target 4 and Target 5…?

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

Which code segment should you use?

You are developing an ASP.NET MVC application. The application is a loan processing
system that uses the ADO.NET Entity Framework against a SQL Server database. It has a
controller that loads a page that displays all loans along with rate information. Lazy loading
has been disabled.
The Loan class is shown below.

You need to return the loans and rate information in a single round trip to the database.
Which code segment should you use?

Which code segment should you use?

You are developing a library management application that uses the ADO.NET Entity
Framework against a SQL Server database. The application has a method that returns
check outs filtered by date.
The Book class is shown below.

You must filter the data on the SQL server before it is returned to the application server. You
need to return books checked out more recently than the entered date. Which code segment
should you use?

You need to configure the Windows Azure service definition to enable Consolidated Messenger…

DRAG DROP
You need to configure the Windows Azure service definition to enable Consolidated
Messenger to upload files.
What should you do? (To answer, drag the appropriate configuration items to the correct
location or locations. Each configuration item 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 the Sync() method in the MargiesTravelSync.es file

DRAG DROP
Flight information data provided by Margie’s Travel is updated both locally and remotely.
When the data is synced, all changes need to be merged together without causing any data
loss or corruption.
You need to implement the Sync() method in the MargiesTravelSync.es file.

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

You need to specify which properties of the FlightInfo class should be used at the partition…

DRAG DROP
Historical flight information data will be stored in Windows Azure Table Storage using the
FlightInfo class as the table entity.
There are millions of entries in the table. Queries for historical flight information specify a set
of airlines to search and whether the query should return only late flights. Results should be
ordered by flight name.
You need to specify which properties of the FlightInfo class should be used at the partition
and row keys to ensure that query results are returned as quickly as possible.
What should you do? (To answer, drag the appropriate properties to the correct location or
locations in the answer area. Each property 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 7 of 12« First...56789...Last »