70-494 Exam Questions - Online Test


70-494 Premium VCE File

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

surepassexam.com

Proper study guides for Renew Microsoft Recertification for MCSD: Web Applications certified begins with Microsoft 70-494 preparation products which designed to deliver the Validated 70-494 questions by making you pass the 70-494 test at your first time. Try the free 70-494 demo right now.

Q31. DRAG DROP - (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, drag the appropriate code segment 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: 


Q32. DRAG DROP - (Topic 5) 

You are developing an ASP.NET MVC Web API image management application. The application must meet the following requirements: 

... 

It must send or receive image data without the use of a buffer. 

It must allow up to 4 MB of image data to be received. 

It must allow up to 3 MB of image data to be sent. 

You need to complete the code to meet the requirements. 

What should you do? (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: 


Q33. - (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 


Q34. - (Topic 5) 

You are authoring unit tests. 

The unit tests must test code that consumes sealed classes. 

You need to create, maintain, and inject dependencies in the unit tests. 

Which isolation method should you use? 

A. Shim types 

B. Hard-coded implementation 

C. Stub types 

D. T4 text templates and code generation 

Answer:

Explanation: http://msdn.microsoft.com/en-us/library/hh549176.aspx Shim types are one of two technologies that the Microsoft Fakes Framework uses to let you easily isolate components under test from the environment. Shims divert calls to specific methods to code that you write as part of your test. Many methods return different results dependent on external conditions, but a shim is under the control of your test and can return consistent results at every call. This makes your tests much easier to write. 


Q35. HOTSPOT - (Topic 5) 

You are developing a WCF service. 

The service must be interoperable with ASP.NET Web service clients. In addition, it must 

have a time-out of three minutes. 

You need to configure the service to meet the requirements. 

You have the following markup: 

Which markup segments should you include in Target 1, Target 2, Target 3, Target 4, Target 5, Target 6 and Target 7 to complete the markup? (To answer, select the appropriate markup segment from each drop-down list in the answer area.) 

 

Answer: 


Q36. - (Topic 5) 

You develop an ASP.NET MVC application that is secured by using SSL. You are ready to 

deploy the application to production. 

The deployment package must include the installation of the SSL certificate. 

You need to configure the deployment package to meet the requirement. 

What should you do? 

A. Create a web publish pipeline target file with a custom web deploy target. 

B. In the Package/Publish settings of the project, select the All Files in this project option. 

C. Extend the CopyAllFilesToSingleFolder target in the project file. 

D. In the Build Events settings of the project, configure a pre-build event to include the SSL certificate. 

Answer:

Explanation: 

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


Q37. HOTSPOT - (Topic 5) 

You are developing a WCF service. 

The service must be interoperable with ASP.NET web service clients. In addition, it must 

have a time-out of three hours. 

You need to configure the service to meet the requirements. 

What should you do? (To answer, select the appropriate code segment from each drop-

down list in the answer area.) 

Answer: 


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


Q39. DRAG DROP - (Topic 4) 

You need to parse flight information from Blue Yonder Airlines. The content of the XML file is shown below. 

Some airlines do not specify the timezone of the arrival time. If the timezone is not specified, then it should be interpreted per the business requirements. 

You need to implement the LoadFlights() and Parse() methods of the BlueYonderLoader class. 

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


Q40. - (Topic 5) 

You are developing an ASP.NET MVC application that enables you to edit and save a 

student object. 

The application must not retrieve student objects on an HTTP POST request. 

You need to implement the controller. 

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,C