PrepAway - Latest Free Exam Questions & Answers

Tag: Exam 70-487 (update July 23th, 2017)

Exam 70-487: Developing Windows Azure and Web Services (update July 23th, 2017)

Which markup segments should you include in Target 1, T…

HOTSPOT
You are developing a WCF service.
The service must be interoperable with ASP.NET web service clients. In addition, it must be a time-out of three
hours.
You need to configure the service to meet the requirements.
You have the following markup:

Which markup segments should you include in Target 1, Target 2, Target 3, Target 4, Target 5, Target 6 and
Target 7 to complete the markup? (To answer, select the appropriate markup segment from each drop-down
list in the answer area.)
Hot Area:

Which code segments should you include in Target 1, Tar…

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 complete
the markup? (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.)
Select and Place:

Which code segments should you include in Target 1 and …

DRAG DROP
You are supporting a WCF data contract 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.)
Select and Place:

Which code segments should you include in Target 1, Tar…

DRAG DROP
You are developing a WCF service application.
The application must meet the following requirements.
Operations must have 30 seconds timeouts.
The service must have a transaction scope.
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:

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.)
Select and Place:

How many tables should you identify?

HOTSPOT
You are developing a web application that will store data in an Azure SQL Database.
The application will contain three classes named Vehicle, Car, and SportsCar. Car will inherit the Vehicle class.
SportsCar will inherit the Car class.
You plan to create the table structure for the three classes by using mapping strategies in the Entity
Framework.
You need to identify how many tables will be created by each mapping strategy.
How many tables should you identify? To answer, select the appropriate options in the answer area.
Hot Area:

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?

How should you complete the code?

DRAG DROP
You have an Azure SQL Database that contains two tables named Country and City.
You need to insert a country into the Country table and a city into the City table. The solution must meet the
following requirements:
If an error occurs while attempting to add the country, the city must NOT be added.
If an error occurs while attempting to add the city, the country must NOT be added.
How should you complete the code? To answer, drag the appropriate code blocks to the correct locations in the
answer area. Each code block 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.
Select and Place:

Which CommandBehavior type should you use?

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 EntityDataReader type.
Which CommandBehavior type should you use?

Which method of the EntityCommand type should you use?

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?


Page 3 of 1112345...10...Last »