70-494 Exam - Recertification for MCSD: Web Applications

certleader.com

Q1. - (Topic 5) 

You are developing an ASP.NET MVC application to be used on the Internet. The environment uses Active Directory with delegation to access secure resources. Users must be able to log on to the application to maintain their personal preferences. You need to use the least amount of development effort to enable users to log on. What should you do? 

A. Enable Windows authentication. 

B. Generate server SSL certificates and install them in IIS. 

C. Enable Digest authentication. 

D. Enable Forms authentication. 

Answer:

Q2. DRAG DROP - (Topic 5) 

You are developing an ASP.NET Web API for a home inventory management system. You need to limit access to users with IP addresses based only in the United States. 

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:  

Q3. DRAG DROP - (Topic 5) 

You are developing a WCF service. 

You need to implement transport security by using NTLM authentication and NetTcpBindings. 

Which configuration values should you use? (To answer, drag the appropriate configuration values to the correct location or locations 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:  

Q4. DRAG DROP - (Topic 5) 

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 a method to add 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:  

Q5. DRAG DROP - (Topic 4) 

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:  

Topic 5, Mix Questions

Q6. DRAG DROP - (Topic 2) 

You need to modify the ExecuteCommandProcedure() method to meet the technical requirements. 

Which code segment should you use?

 

Answer:  

Q7. DRAG DROP - (Topic 5) 

You are developing an ASP.NET MVC application in a web farm. The application has a page that uploads a customer's photo, resizes it, and then redirects the browser to a page where the new image is displayed along with the final dimensions. 

The final dimensions should be available only to the page where the new image is displayed. 

You need to store state and configure the application. 

What should you do? (To answer, drag the appropriate item to the correct location. Each 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:  

Q8. DRAG DROP - (Topic 5) 

You are developing an ASP.NET Web API application that will be consumed by a web browser via a composite application that is served from another web domain. 

You need to configure the Web API. 

What should you do? (To answer, drag the appropriate XML elements to the correct location or locations in the answer area. Each XML 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:  

Q9. - (Topic 5) 

You are developing an ASP.NET MVC application. 

The application provides a RESTful API for third-party applications. This API updates the 

information for a contact by embedding the information in the URL of an HTTP POST. 

You need to save the Contact type when third-party applications use the EditContact method. 

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

A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer: A,B 

Q10. - (Topic 4) 

You are adding a new REST service endpoint to the FlightDataController controller that 

returns the total number of seats for each airline. 

You need to write a LINQ to Entities query to extract the required data. 

Which code segment should you use? 

A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer: