aiotestking uk

70-494 Exam Questions - Online Test


70-494 Premium VCE File

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

Q1. - (Topic 5) 

You are developing an ASP.NET MVC application that uses forms authentication to verify that the user is logged in. 

Authentication credentials must be encrypted and secure so no user identity is exposed. 

You need to ensure that user credentials are persisted after users log on. 

Where should you store the credentials? (Each correct answer presents a complete solution. Choose all that apply.) 

A. In TempData on the server 

B. In a cookie stored in the browser 

C. In ViewData in the application 

D. In Session on the server 

Answer: B,D 

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

Q3. DRAG DROP - (Topic 4) 

You need to configure the Microsoft 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:  

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 1) 

You need to choose the appropriate data access technology for the cookbook area of the web application. Which data access technology should you choose? 

A. Entity Framework 

B. ADO.NET 

C. LINQ to SQL 

D. WCF Data Services 

Answer:

Q6. - (Topic 5) 

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. PUT 

C. DELETE 

D. POST 

Answer:

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

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

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

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