Mar 2016 updated: Examcollection Microsoft 70-492 study guide 49-64

Question No. 49

You are developing an ASP.NET MVC application in Visual Studio 2012. The application supports multiple cultures. The application contains three resource files in the Resources directory: 

MyDictionary.resx 

MyDictionary.es.resx 

MyDictionary.fr.resx 

Each file contains a public resource named Title with localized translation. 

The application is configured to set the culture based on the client browser settings. 

The application contains a controller with the action defined in the following code segment. (Line numbers are included for reference only.) 


A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer:


Question No. 50

You are developing an ASP.NET MVC application. 

You need to authenticate clients by using NT LAN Manager (NTLM). 

Which authentication method should you implement? 

A. Basic 

B. Windows 

C. Forms 

D. Kerberos 

Answer:


Question No. 51

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:


Question No. 52

You are developing an ASP.NET MVC application. 

Applications can be deployed to remote servers only by administrators who have elevated privileges. The administrators do not have access to Visual Studio 2012. 

You need to select a deployment tool to deploy the application to remote servers for testing. 

Which tool should you use? 

A. Copy Web Site Tool 

B. One-Click Publish 

C. Publish Web Site Tool 

D. Web Deployment Package 

Answer:


Question No. 53

You need to implement client-side animations according to the business requirements. 

Which line of code should you use? (Each correct answer presents a complete solution. Choose all that apply.) 

A. $("body h1:nth-child(1)").fadeIn(1000); 

B. $("body h1:nth-child(1)")-fadeOut(1000); 

C. $("body h2:nth-child(1)").animate({ opacity: 0 }); 

D. $("body h1:nth-child(1)").animate({ opacity: 1 }); 

Answer: BC 


Question No. 54

You need to add a method to the ProductController class to meet the exception handling requirements for logging. Which code segment should you use? 


A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer:


Question No. 55

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:


Question No. 56

You updated the web.config file with the HTTP run-time value required to display an alternative version of the site. You need to ensure that the correct page displays to the users. 

Which code segment should you use to update the controller? 

A. If (Request.IsTabletDevice) 

B. If (Request.Browser.IsBrowser("Mobile")) 

C. If (Request.UserAgent["Tablet"]) 

D. If (Request.Browser.IsMobileDevice) 

Answer:


Question No. 57

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


Question No. 58

Historical flight information data will be stored in Windows Azure Table Storage using the FlightInfo class as the table entity. 

There are millions of entries in the table. Queries for historical flight information specify a set of airlines to search and whether the query should return only late flights. Results should be ordered by flight name. 

You need to specify which properties of the FlightInfo class should be used at the partition and row keys to ensure that query results are returned as quickly as possible. 

What should you do? (Each correct answer presents part of the solution. Choose all that apply.) 

A. Use the WasLate property as the row key. 

B. Use the Airline property as the row key. 

C. Use the WasLate property as the partition key 

D. Use the Arrival property as the row key. 

E. Use the Airline property as the partition key. 

F. Use the Flight property as the row key. 

Answer: CF 


Question No. 59

You need to modify the application to meet the productId requirement. What should you do? 


A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer:


Question No. 60

You need to modify the ExecuteCommandProcedure() method to meet the technical requirements. Which code segment should you use? 


A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer:


Question No. 61

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:


Question No. 62

You are developing an ASP.NET MVC application by using Visual Studio 2012. 

The application throws and handles exceptions when it runs. 

You need to examine the state of the application when exceptions are thrown. 

What should you do? 

A. From the Debug menu in Visual Studio 2012, select Exceptions. Enable the Thrown check box for Common Language Runtime Exceptions. 

B. From the DEBUG menu in Visual Studio 2012, select Attach to Process. Select the IIS process. 

C. From the Debug menu in Visual Studio 2012, select Exceptions. Disable the User-unhandled check box for Common Language Runtime Exceptions. 

D. From the TOOLS menu in Visual Studio 2012, click Customize. Click Commands tab and select Debug. 

Answer:


Question No. 63

You are developing an application in Visual Studio 2012 to display student information. The application contains the following Entity Framework model. 


A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer:


Question No. 64

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


A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer: