Beginners Guide: exam 70 487

Ucertify offers free demo for microsoft 70 487 exam. "Developing Windows Azure and Web Services", also known as 70 487 exam exam, is a Microsoft Certification. This set of posts, Passing the Microsoft microsoft 70 487 exam, will help you answer those questions. The exam ref 70 487 developing windows azure and web services Questions & Answers covers all the knowledge points of the real exam. 100% real Microsoft exam 70 487 exams and revised by experts!

Q11. - (Topic 4) 

You are developing a Microsoft Azure web application. The application will be deployed to 10 web role instances. A minimum of 8 running instances is needed to meet scaling requirements. 

You need to configure the application so that upgrades are performed as quickly as possible, but do not violate scaling requirements. 

How many upgrade domains should you use? 

A. 1 

B. 2 

C. 5 

D. 10 

Answer:


Q12. - (Topic 2) 

You need to regenerate the service proxies to include task-based asynchronous method signatures. 

Which command should you use? 

A. aspnet_regiis.exe /t:code http://localhost:62965/UploadCallbackService.svc 

B. svcutil.exe /t:code http://localhost:62965/UploadCallbackService.svc 

C. aspnet_compiler.exe /t:code http://localhost:62965/UploadCallbackService.svc 

D. aspnet_regiis.exe /t:code http://localhost:62965/UploadService.svc 

E. svcutil.exe /t:code http://localhost:62965/UploadService.svc 

Answer:

Explanation: http://msdn.microsoft.com/en-us/library/aa347733.aspx 


Q13. DRAG DROP - (Topic 4) 

You are developing an ASP.NET MVC Web API application. 

The method names of the Web API must match naming guidelines for RESTful services. 

You need to create methods to support standard insert, select, update, and delete 

operations in an HTTP service. 

What should you do? (To answer, drag the appropriate HTTP methods to the correct row in 

the table in the answer area. Each HTTP method 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. DRAG DROP - (Topic 4) 

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: 


Q15. DRAG DROP - (Topic 4) 

You are developing a self-hosted WCF service that returns stock market information. 

The service must be discoverable by any client application. 

You need to build the service host. 

How should you build the host? (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: 


Q16. - (Topic 4) 

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? 

A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer:

Explanation: 

The difference is that IQueryable<T> is the interface that allows LINQ-to-SQL (LINQ.-to-anything really) to work. So if you further refine your query on an IQueryable<T>, that query will be executed in the database, if possible. 

For the IEnumerable<T> case, it will be LINQ-to-object, meaning that all objects matching the original query will have to be loaded into memory from the database. 


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


Q18. - (Topic 4) 

You are developing a WCF service. 

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

You need to choose an instancing mode. 

Which instancing mode should you use? 

A. Single 

B. PerRequest 

C. PerCall 

D. Multiple 

E. PerSession 

Answer:


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


Q20. 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: