70-494 Exam Questions - Online Test


70-494 Premium VCE File

Learn More 100% Pass Guarantee - Dumps Verified - Instant Download
150 Lectures, 20 Hours

certleader.com

we provide Realistic Microsoft 70-494 free draindumps which are the best for clearing 70-494 test, and to get certified by Microsoft Recertification for MCSD: Web Applications. The 70-494 Questions & Answers covers all the knowledge points of the real 70-494 exam. Crack your Microsoft 70-494 Exam with latest dumps, guaranteed!

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


Q2. HOTSPOT - (Topic 5) 

You are developing an ASP.NET MVC application that authenticates a user by using claims-based authentication. 

The application must: . Use Windows Identity Foundation 4.5. 

. Support the Windows Azure Access Control Service. 

You need to implement authentication. 

How should you build the class constructor? (To answer, select the appropriate option from the drop-down list in the answer area.) 

Answer: 


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


Q4. - (Topic 1) 

You are preparing to write the data access code for the children's book area of the web site. 

You need to review the requirements and identify the appropriate data access technology. 

What should you do? 

A. Use the WCF Data Services. 

B. Use a Web Service. 

C. Use ADO.NET Entity Framework. 

D. Use LINQ to SQL 

Answer:


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


Q6. - (Topic 5) 

You are developing an ASP.NET MVC application. The application is deployed in a web 

farm and is accessed by many users. 

The application must handle web server failures gracefully. The servers in the farm must 

share the short-term state information. 

You need to persist the application state during the session. What should you implement? 

A. A local database 

B. ASP.NET session state 

C. Profile properties 

D. A state server 

Answer:

Explanation: 

Ref: http://msdn.microsoft.com/en-us/library/vstudio/ms178586(v=vs.100).aspx 


Q7. - (Topic 5) 

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


Q8. - (Topic 5) 

You are developing a library to support multiple ASP.NET MVC web applications on a shared server. The library provides implementations of security algorithms. 

If a problem with any of the security algorithms is discovered, a new version of the library must be created and deployed. Application downtime during the update must be minimized. 

You need to ensure that the new version of the library will be used by all applications as soon as possible. 

What should you do? 

A. Build the web applications and include the security assembly as an embedded resource. 

When an update is needed, copy the new assembly to the bin directory for the application. 

B. Sign all assemblies in each application with the same key used to sign the security 

assembly. 

When an update is needed, create a new key pair and re-sign all assemblies. 

C. Build the security assembly as a netmodule in a shared location. 

Use the assembly linker to merge the netmodule into the assemblies for the application. 

When an update is needed, update the netmodule in the shared location. 

D. Install the security assembly in the Global Assembly Cache (GAC). 

When an update is needed, update the assembly in the GAC. 

Answer:


Q9. - (Topic 5) 

You are developing an ASP.NET MVC web application that includes the following method. 

You need to test the AccountBalance method. Which unit test should you use? 

A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer:

Explanation: 

http://msdn.microsoft.com/en-us/magazine/cc163665.aspx http://msdn.microsoft.com/en-us/library/microsoft.visualstudio.testtools.unittesting.assert.areequal(v=vs.110).aspx 


Q10. DRAG DROP - (Topic 2) 

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

Which code segment should you use?

 

Answer: