Want to Pass 70-487 Exam In Next HOURS? Download Now →
January 11, 2018

Why You Need To exam 70 487?


Free Instant Download NEW 70-487 Exam Dumps (PDF & VCE):
Available on: https://www.certshared.com/exam/70-487/


Q1. DRAG DROP - (Topic 4) 

You are developing a WCF service. 

The WCF service requires implementations of the new data contracts to validate against the old schema. 

You need to develop a new data contract without breaking current functionality. 

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

Answer: 


Q2. - (Topic 1) 

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? (Each correct answer presents part of the solution. Choose all that apply.) 

A. Use the WasLate property as the row key. 

B. Use the Airline property as the row key. 

C. Use the WasLate property as the partition key 

D. Use the Arrival property as the row key. 

E. Use the Airline property as the partition key. 

F. Use the Flight property as the row key. 

Answer: B,F 


Q3. - (Topic 3) 

You need to choose the appropriate data access technology for the children's book area of the web application. 

Which data access technology should you choose? 

A. Web Service 

B. LINQ to SQL 

C. ADO.NET Entity Framework 

D. WCF Data Services 

Answer:


Q4. DRAG DROP - (Topic 4) 

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) 

Answer: 


Q5. - (Topic 3) 

You need to configure the server to self-host the bookstore's Web API application. Which code segment should you use? 

A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer:

Explanation: MapHttpRoute Method Maps the specified route template. Use the option with "api/… 


Q6. DRAG DROP - (Topic 2) 

You need to create the ShippingContext class in the ShippingAddress.es file to meet the requirements. 

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

Answer: 


Q7. - (Topic 3) 

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:


Q8. - (Topic 4) 

You are developing an ASP.NET MVC application that reads and writes data from a SQL Server database. 

You need to maintain data integrity in all situations that use transactions. 

A. ReadUncommitted 

B. Repeatable 

C. Serializable 

D. ReadCommitted 

Answer:


Q9. - (Topic 2) 

The GetExternalOrder() method in the ExternalQueueService service is throwing a runtime error. The method must query the database for a record that matches the orderNum parameter passed to the method. 

You need to modify the queryString string to retrieve the record. With which code segment should you replace line EQ64? 

A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer:


Q10. - (Topic 1) 

Errors occasionally occur when saving data using the FlightInfoContext ADO.NET Entity Framework context. Updates to the data are being lost when an error occurs. 

You need to ensure that data is still saved when an error occurs by retrying the operation. No more than five retries should be performed. 

Which code segment should you use as the body of the SaveChanges() method in the FlightInfoContext.es file? 

A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer:


Q11. - (Topic 4) 

You are developing a WCF service. 

A new service instance must be created for each client session. 

You need to choose an instancing mode. 

Which instance mode should you use? 

A. PerCall 

B. Single 

C. Multiple 

D. PerSession 

E. PerRequest 

Answer:


Q12. - (Topic 2) 

The GetVendors() action in the ProcessedOrderController controller is querying the database each time it is run. The GetVendors() action must query the database only if the cache is null. 

You need to add code to the action at line PC33 to cache the data. 

Which code segment can you use? (Each correct answer presents a complete solution. Choose all that apply.) 

A. cache.Set(new CacheItem("vendorKey", vendors), GetVendorPolicy()); 

B. cache.Add("vendors", vendors, new CacheItemPolicy()); 

C. cache.Add(new CacheItem("vendorKey", vendors) , GetVendorPolicy()); 

D. cache.AddOrGetExisting("vendorKey", context, new CacheItemPolicy()); 

Answer: A,C 


Q13. DRAG DROP - (Topic 4) 

You are developing a .NET application that uses the HttpClient type to access an ASP.NET Web API application. 

You need to add a header to specify that data is returned as JSON. 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) 

Answer: 


Q14. - (Topic 4) 

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 all orders along with customer information. Lazy loading has been disabled. 

The Order class is shown below. 

You need to return the orders and customer information in a single round trip to the database. 

Which code segment should you use? 

A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer:


Q15. - (Topic 4) 

You are developing a new ASP.NET MVC application that does not have an existing database. 

The requirements for the application are not complete, and the SQL data model will likely change. 

You need to choose an approach to visually manage a data model. 

Which approach should you use? 

A. Physical First 

B. Database First 

C. Code First 

D. Model First 

Answer:

Explanation: With the model first workflow, you can design a model in a designer. 


Q16. - (Topic 4) 

You are developing an application in Visual Studio 2012 to display student information. The application contains the following Entity Framework model. 

The application contains a WCF data service named DirectoryService.svc. 

You need to create a query expression to display all of the grades for students whose first name is "John" 

How should you build the expression? 

A. http://localhost:54946/DirectoryService.svc/Students?$filter=FirstName eq 'John' &$expand=Grades 

B. http://localhost:54946/DirectoryService.svc/Students?$filter=FirstName eq 'John'/Grades 

C. http://localhost:54946/DirectoryService.svc/Students?$filter=FirstName = 'John' &$expand=Grades 

D. http://localhost:54946/DirectoryService.svc/Grades/Students?$filter=FirstName eq 'John' 

Answer: