70-487 Exam - Developing Windows Azure and Web Services

certleader.com

Q1. DRAG DROP - (Topic 1) 

The service has been deployed to Windows Azure. 

Trey Research has provided version 1.3.0.0 of the assembly to support a change in the serialization format. The service must remain available during the transition to the new serialization format. 

You need to ensure that the service is using the new assembly. 

Which configuration setting should you add to the web.config? (To answer, drag the appropriate configuration elements to the correct location or locations in the answer area. Each configuration 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.) 

Answer:  

Q2. - (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:

Q3. HOTSPOT - (Topic 1) 

You need to deploy the application to the Windows Azure production environment to meet the business requirements. 

What should you do? (To answer, select the appropriate button in the answer area.) 

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

Q6. - (Topic 2) 

TION NO: 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:

Q7. - (Topic 3) 

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:

Explanation: * gt Greater than Example: filter= Entry_No gt 610 Query on GLEntry service. Returns entry numbers 611 and higher. 

* startswith 

filter=startswith(Name, 'S') 

Query on Customer service. Returns all customers names beginning with “S”. 

Q8. - (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:

Q9. DRAG DROP - (Topic 4) 

You are configuring a web application for deployment. 

You need to create a SetParameters.xml file to configure the IIS application pool. 

You have the following markup: 

Which configuration values should you include in Target 1 and Target 2 to complete the markup? (To answer, drag the appropriate configuration values to the correct targets in the answer area. Each configuration value 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:  

Q10. - (Topic 4) 

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

You need to prevent the application from reading data that is locked by other transactions. You also need to prevent exclusive range locks. 

Which isolation level should you use? 

A. ReadCommitted 

B. Serializable 

C. Repeatable 

D. ReadUncommitted 

Answer: