70-487 Premium Bundle

70-487 Premium Bundle

Developing Windows Azure and Web Services Certification Exam

4.5 
(15915 ratings)
0 QuestionsPractice Tests
0 PDFPrint version
November 23, 2024Last update

Microsoft 70-487 Free Practice Questions

Q1. DRAG DROP - (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? (To answer, drag the appropriate properties to the correct location or locations in the answer area. Each property 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 an ASP.NET MVC application. 

Applications can be deployed to remote servers only by administrators who have elevated privileges. The administrators do not have access to Visual Studio 2012. 

You need to select a deployment tool to deploy the application to remote servers for testing. 

Which tool should you use? 

A. Copy Web Site Tool 

B. One-Click Publish 

C. Publish Web Site Tool 

D. Web Deployment Package 

Answer:

Q3. - (Topic 4) 

You are developing a WCF service. 

You need to create a duplex contract. 

What should you do? (Each correct answer presents part of the solution. Choose all that apply.) 

A. Apply the MessageContractAttribute attribute to every public method signature included in the appropriate contract. 

B. Create an interface for the client-side duplex contract. 

C. Create an interface for the server-side duplex contract. 

D. Apply the MessageContractAttribute attribute to the appropriate interface. 

E. Apply the ServiceContractAttribute attribute to the appropriate interface. Then, apply the OperationContractAttribute attribute to every public method signature included in that contract. 

F. Set the CallbackContract property to the appropriate interface. 

Answer: C,E,F 

Explanation: To create a duplex contract 

(C) Create the interface that makes up the server side of the duplex contract. 

 (E) Apply the ServiceContractAttribute class to the interface. 

Declare the method signatures in the interface. 

 (E)Apply the.OperationContractAttribute.class to each method signature that must be part of the public contract. 

Create the callback interface that defines the set of operations that the service can invoke on the client. 

Declare the method signatures in the callback interface. 

Apply the.OperationContractAttribute.class to each method signature that must be part of the public contract. 

 (F)

 Link the two interfaces into a duplex contract by setting 

the.CallbackContract.property in the primary interface to the type of the callback 

interface. 

Reference: How to: Create a Duplex Contract 

Q4. DRAG DROP - (Topic 1) 

You need to configure the Windows Azure service definition to enable Consolidated 

Messenger to upload files. 

What should you do? (To answer, drag the appropriate configuration items to the correct location or locations. Each configuration item 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 4) 

You are designing an ASP.NET Web API application. 

You need to select an HTTP verb to allow blog administrators to modify the text of a comment. 

Which HTTP verb should you use? 

A. GET 

B. DELETE 

C. POST 

D. PUT 

Answer:

Q6. - (Topic 4) 

You are developing an order processing application that uses the ADO.NET Entity Framework against a SQL Server database. Lazy loading has been disabled. The application displays orders and their associated order details. Order details are filtered based on the category of the product in each order. 

The Order class is shown below. 

The OrderDetail class is shown below. 

The Product class is shown below. 

The Category class is shown below. 

You need to return orders with their filtered list of order details included 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:

Q7. DRAG DROP - (Topic 3) 

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:  

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

Q9. - (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 customers. Customers are filtered on Country and, if provided, on CompanyName. 

You have an Entity Framework context named db. 

The Customer class is shown below. 

You need to execute a single deferred query to return the filtered list of customers. Which code segment should you use? 

A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer:

Q10. HOTSPOT - (Topic 4) 

You are developing a WCF service in Visual Studio 2013 that integrates with the Microsoft 

Azure service bus relay. 

The Azure service bus namespace is named RestaurantServiceBus 

You need to obtain the issuer name and secret. 

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

Answer:  

Q11. - (Topic 4) 

You are developing an ASP.NET MVC application. The application is a loan 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 loans along with rate information. Lazy loading has been disabled. 

The Loan class is shown below. 

You need to return the loans and rate 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:

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

Q13. HOTSPOT - (Topic 4) 

You are developing an ASP.NET MVC application named ContosoWebApp. You are ready to deploy the application to your production web server. 

You need to import the publishing profile. 

Which menu item should you use? (To answer, select the appropriate menu item in the answer area). 

Answer:  

Q14. - (Topic 4) 

You are designing an ASP.NET Web API application. 

You need to select an HTTP verb to allow blog administrators to remove a comment. 

Which HTTP verb should you use? 

A. PUT 

B. DELETE 

C. POST 

D. GET 

Answer:

Q15. - (Topic 4) 

You are developing a .NET application that uses the HttpClient type to call an ASP.NET Web API application. The API call returns a list of customers in JSON format and logs the results. 

The URI for the API call is in a variable named address. 

You need to make the API call without blocking. 

Which code segment should you use? 

A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer:

Explanation: Example: // Create an HttpClient instance 

11: HttpClient client = new HttpClient(); 

12: 

13: // Send a request asynchronously continue when complete 

14: client.GetAsync(_address).ContinueWith( 

15: (requestTask) => 

16: { 

17: // Get HTTP response from completed task. 

18: HttpResponseMessage response = requestTask.Result; 

19: 

20: // Check that response was successful or throw exception 

21: response.EnsureSuccessStatusCode(); 

22: 

23: // Read response asynchronously as JsonValue and write out top facts for each country 

24: response.Content.ReadAsAsync<JsonArray>().ContinueWith( 

25: (readTask) => 

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

START 70-487 EXAM