aiotestking uk

70-486 Exam Questions - Online Test


70-486 Premium VCE File

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

Q1. - (Topic 4) 

You are designing a localized ASP.NET application to support multiple cultures. You need to ensure that the application can be displayed in several languages. How should you implement this feature? 

A. Use a resource (.resx) file. 

B. Include language-specific content in the assembly manifest. 

C. Use Systems.Collections.Generics.Dictionary to store alternative translations. 

D. Ensure that all strings are marked internal. 

Answer:

Q2. - (Topic 4) 

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 

Q3. HOTSPOT - (Topic 4) 

You are developing an ASP.NET MVC application. The application includes the following code. Line numbers are included for reference only. 

You add the following markup to the system.web section of the web.config file: 

For each of the following statements, select Yes if the statement is true. Otherwise, select No. 

Answer:  

Q4. - (Topic 4) 

You are developing an Azure worker role. You enable crash dump collection for the role. 

When the role starts, an external application stops responding. 

You need to download the crash dump to determine why the application stops responding. 

From which two locations can you download the crash dump? Each correct answer presents a complete solution. 

A. Azure Blob storage 

B. the temp folder on the virtual machine that is running the role instance 

C. Azure file storage 

D. the DiagnosticStore local resource folder on the virtual machine that is running the role instance 

Answer: A,D 

Explanation: When you enable collection of crash dumps, the resulting data is written to the CrashDumps directory in the DiagnosticStore local resource that is automatically configured for your role. When crash dump data is transferred to persistent storage, it is stored to the wad-crash-dumps Blob container. 

Reference: CrashDumps.EnableCollection Method 

https://msdn.microsoft.com/library/microsoft.windowsazure.diagnostics.crashdumps.enable collection.aspx 

Q5. - (Topic 4) 

You are developing a controller for an ASP.NET MVC application that manages message board postings. 

The security protection built in to ASP.NET is preventing users from saving their HTML. 

You need to enable users to edit and save their HTML while maintaining existing security protection measures. 

Which code segment should you use? 

A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer:

Q6. - (Topic 4) 

You are developing an ASP.NET MVC news aggregation application that will be deployed to servers on multiple networks. 

The application must be compatible with multiple browsers. A user can search the website for news articles. You must track the page number that the user is viewing in search results. 

You need to program the location for storing state information about the user's search. 

What should you do? 

A. Store search results and page index in Session. 

B. Use Application state to store search terms and page index. 

C. Use QueryString to store search terms and page index. 

D. Store search results and page index in TempData 

Answer:

Q7. - (Topic 4) 

You are developing an ASP.NET MVC application that uses forms authentication. The user database contains a user named LibraryAdmin. 

You have the following requirements: 

. You must allow all users to access the GetBook method. 

. You must restrict access to the EditBook method to the user named LibraryAdmin. 

You need to implement the controller to meet the requirements. 

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 

Q8. DRAG DROP - (Topic 4) 

You are developing an ASP.NET MVC application that takes customer orders. 

Orders are restricted to customers with IP addresses based in the United States. 

You need to implement a custom route handler. 

How should you implement the route handler? (To answer, drag the appropriate line of code to the correct location or locations. Each line of code 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 4) 

You are designing a distributed application that runs on the Windows Azure platform. 

The application must store a small amount of insecure global information that does not change frequently. 

You need to configure the application to meet the requirements. 

Which server-side state management option should you use? (Each correct answer presents a complete solution. Choose all that apply.) 

A. Windows Azure application state 

B. SQL Azure 

C. Profile properties of the Windows Azure application 

D. Windows Azure session state 

Answer: B,D 

Explanation: SQL Database provides a relational database management system for Windows Azure and is based on SQL Server technology. With a SQL Database instance, you can easily provision and deploy relational database solutions to the cloud, and take advantage of a distributed data center that provides enterprise-class availability, scalability, and security with the benefits of built-in data protection and self-healing. 

Session States in Windows Azure. 

If you are a Web developer, you are probably very familiar with managing user state - that is you are familiar with tracking user activity and actions across several request-response exchanges that occur in Web applications. Since HTTP is a stateless protocol, developers over the years have developed all sorts of means to manage state. You'll even find an MSDN page providing alternatives and recommendations for state management here. Cookies, hidden fields, and query strings are some client-side options to tracking user state. When it comes to managing that state on the server-side, most Web developers rely on session objects. 

Q10. HOTSPOT - (Topic 1) 

You need to implement the map of the runners' paths. 

How should you build the video viewer? (To answer, select the appropriate options in the answer area.) 

Answer: