Are you struggling for the 70-487 exam? Good news, Lead2Pass Microsoft technical experts have collected and certified 445 questions and answers which are updated to cover the knowledge points and enhance candidates’ abilities. With Lead2Pass 70-487 preparation tests you can pass the exam easily and go further on Microsoft career path.
QUESTION 71
You need to choose the appropriate data access technology for the cookbook area of the web application.
Which data access technology should you choose?
A. WCF Data Services
B. LINQ to SQL
C. Entity Framework
D. ADO.NET
Answer: A
QUESTION 72
You are preparing to write the data access code for the children’s book area of the web site.
You need to review the requirements and identify the appropriate data access technology.
What should you do?
A. Use ADO.NET Entity Framework.
B. Use a Web Service.
C. Use the WCF Data Services.
D. Use LINQ to SQL.
Answer: A
QUESTION 73
The PurchaseOrders.xml file contains all of the purchase orders for the day.
You need to query the XML file for all of the billing addresses.
Which code segment should you use?
A. Option A
B. Option B
C. Option C
D. Option D
Answer: A
QUESTION 74
You need to create an OData filter expression that returns books that match the following characteristics:
– Published after 1/1/2000
– Have “Science” as the first word
Which filter statement should you use?
A. Option A
B. Option B
C. Option C
D. Option D
Answer: D
QUESTION 75
You need to update the ImportBooks() method to use database transactions.
Which code segment should you use?
A. SqlConnection.BeginTransaction(IsolationLevel.RepeatableRead);
B. SqlConnection.BeginTransaction(IsolationLeve.ReadUnconvnited);
C. SqlConneetion.BeginTransaction(IsolationLevel.Serializable);
D. SqlConnection.BeginTransaction(IsolationLevel.Snapshot);
Answer: B
Explanation:
* scenario: The ImportBooks() method must keep a copy of the data that can be accessed while new books are being imported without blocking reads.
* ReadUncommitted: A dirty read is possible, meaning that no shared locks are issued and no exclusive locks are honored.
QUESTION 76
You need to implement the Get() method in the bookstore Web API application to be able to find books by using an ad hoc query.
Which method should you use?
A. Option A
B. Option B
C. Option C
D. Option D
Answer: A
QUESTION 77
Drag and Drop Question
You need to update the GetBook() method to retrieve book data by using ADO.NET.
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.)
Answer:
QUESTION 78
Drag and Drop Question
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.)
Answer:
QUESTION 79
Drag and Drop Question
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.)
Answer:
QUESTION 80
Hotspot Question
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.)
Answer:
If you want to get more 70-487 exam preparation material,you can download the free demos in PDF files on Lead2pass.It would be great help for you exam.Wish you pass the exam successfully.