70-494 Exam - Recertification for MCSD: Web Applications

certleader.com

Q1. - (Topic 3) 

Customers download videos by using HTTP clients that support various content encodings. You need to configure caching on the DownloadVideo action to maximize performance. Which attribute should you add? 

A. Option A 

B. Option B 

C. Option C 

D. Option D 

E. Option E 

Answer:

Q2. HOTSPOT - (Topic 5) 

You are developing an ASP.NET MVC application. It is ready for deployment to the production web server. A local SQL Express .MDF file was used by the application during development, but the application will use an existing SQL server database in production. 

There are files required by the application that are not part of the project. You must publish the program database (PDB) files. The application was developed using IIS Express without any special settings to be migrated. 

You need to configure the web package settings for deployment. 

Which settings should you use? (To answer, select the appropriate setting or settings in the answer area.) 

Answer:  

Q3. DRAG DROP - (Topic 5) 

You are developing an ASP.NET Web API application for currency conversion that will be consumed by a web browser by using 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:  

Q4. DRAG DROP - (Topic 5) 

You are developing a WCF service. The service will stream messages to clients on the 

internal network. 

You must use Windows Authentication, and all messages must be binary encoded. 

You need to configure the service. 

You have the following markup: 

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

Q5. - (Topic 3) 

You are creating a new authentication system that uses an HTTP header value. 

The existing authentication system must continue to operate normally. 

You need to implement the custom authentication. 

What should you do? (Each correct answer presents a complete solution. Choose all that apply.) 

A. Create a class derived from ActionResult and check for a valid HTTP header value in the ExecuteResult method. Change all actions to return this new class. 

B. Create an HttpHandler to check for a valid HTTP header value in the ProcessRequest method. 

C. Create an HttpModule and check for a valid HTTP header value in the AuthenticateRequest event. 

D. Create a class derived from AuthorizeAttribute and check for a valid HTTP header value in the AuthorizeCore method. Change usages of the existing AuthorizeAttribute to use the new class. 

Answer: C,D 

Q6. - (Topic 5) 

You are building an ADO.NET Entity Framework application. 

You need to validate the conceptual schema definition language (CSDL), store schema definition language (SSDL), and mapping specification language (MSL) files. 

Which Entity Data Model tool can you use? (Each correct answer presents a complete solution. Choose all that apply.) 

A. ADO.NET Entity Data Model Designer 

B. EDM Generator (EdmGen.exe) 

C. Create Database Wizard 

D. Entity Data Model Wizard 

Answer: A,B