Proper study guides for Renewal Microsoft Developing ASP.NET MVC 4 Web Applications certified begins with Microsoft 70-486 preparation products which designed to deliver the Pinpoint 70-486 questions by making you pass the 70-486 test at your first time. Try the free 70-486 demo right now.

2017 Mar 70-486 free question

Q1. HOTSPOT - (Topic 4) 

You are developing an ASP.NET MVC application that has pages for users who browse the site with Windows Phone 7. 

The pages for Windows Phone 7 include the following files: 

. _Layout.WP7.cshtml 

. Index.WP7.cshtml 

You need to update the application so that it renders the customized files correctly to Windows Phone 7 users. 

How should you update the Application_Start method? (To answer, select the appropriate option from the drop-down list in the answer area.) 

Answer: 


Q2. - (Topic 4) 

You are developing an ASP.NET MVC application that will run on Azure. 

The application uses Event Tracing for Windows (ETW) for logging operations. 

You need to retrieve the ETW data for the application from a deployed Azure instance by using the Azure Diagnostics API. 

Which data source should you use? 

A. Azure Diagnostic infrastructure logs 

B. Windows event logs 

C. performance counters 

D. .NET EventSource 

Answer:

Explanation: Azure Diagnostics 1.2 and 1.3 are Azure extensions that enable you to 

collect diagnostic telemetry data from a worker role, web role, or virtual machine running in 

Azure. 

Diagnostics 1.2 and 1.3 enable the collection of ETW and .NET EventSource events. 

Example: 

EtwProviders> 

<EtwEventSourceProviderConfiguration provider="SampleEventSourceWriter" 

scheduledTransferPeriod="PT5M"> 

<Event id="1" eventDestination="EnumsTable"/> 

<Event id="2" eventDestination="MessageTable"/> 

<Event id="3" eventDestination="SetOtherTable"/> 

<Event id="4" eventDestination="HighFreqTable"/> 

<DefaultEvents eventDestination="DefaultTable" /> 

</EtwEventSourceProviderConfiguration> 

</EtwProviders> 

Reference: Enabling Diagnostics in Azure Cloud Services and Virtual Machines 

https://azure.microsoft.com/sv-se/documentation/articles/cloud-services-dotnet-diagnostics/ 


Q3. - (Topic 4) 

You are developing an ASP.NET MVC application that will be deployed on a web farm. 

Passwords must be stored in the web.config file and must not be readable or in a format 

that is easily decodable 

You need to encrypt the passwords that are stored in the web.config file. 

Which command-line tool should you use? 

A. Aspnet_regiis.exe 

B. Ngen.exe 

C. Aspnet_merge.exe 

D. EdmGen.exe 

Answer:

Explanation: http://msdn.microsoft.com/en-us/library/zhhddkxy(v=vs.100).aspx 


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


Q5. - (Topic 4) 

You are developing an ASP.NET MVC application that uses forms authentication against a 

third-party database. 

You need to authenticate the users. 

Which code segment should you use? 

A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer:

Explanation: Class ProviderBase The provider model is intended to encapsulate all or part of the functionality of multiple ASP.NET features, such as membership, profiles, and protected configuration. 


Up to the minute 70-486 latest exam:

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


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


Q8. - (Topic 4) 

You are developing a new ASP.NET MVC application that will be hosted on Microsoft Azure. You need to implement caching. 

The caching solution must support the following: 

The cache must be able to store out-of-process ASP.NET session state. 

The cache must be able to store a variety of data types. 

The cache must offer a large amount of space for cached content. 

You must be able to share output cache content across web server instances. 

You need to select a cache solution. 

Which caching solution should you choose? 

A. ASP.NET Caching 

B. Azure In-Role Cache 

C. Azure Redis Cache 

D. Azure Managed Cache Service 

Answer:

Reference: How to Use Azure Redis Cache 

https://azure.microsoft.com/sv-se/documentation/articles/cache-dotnet-how-to-use-azure-redis-cache/ 


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


Q10. - (Topic 4) 

You are developing an ASP.NET MVC application. 

You need to authenticate clients by using an ASP.NET membership database. 

Which authentication method should you implement? 

A. Kerberos 

B. Forms 

C. Basic 

D. Windows 

Answer: