[Actual] 70-492 Microsoft actual exam 49-64 (Mar 2016)

★ Pass on Your First TRY ★ 100% Money Back Guarantee ★ Realistic Practice Exam Questions

Free Instant Download NEW 70-492 Exam Dumps (PDF & VCE):
Available on: https://www.certleader.com/70-492-dumps.html


70-492 Product Description:
Exam Number/Code: 70-492 vce
Exam name: Upgrade your MCPD: Web Developer 4 to MCSD: Web Applications
n questions with full explanations
Certification: Microsoft Certification
Last updated on Global synchronizing

Instant Access to Free VCE Files: Microsoft 70-492 Upgrade your MCPD: Web Developer 4 to MCSD: Web Applications

70-492 examcollection

Question No. 49

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

public double GoldMined(double currentGold, double newlyMinedGold)

{

  double totalGold = 0.00;

  totalGold = currentGold + newlyMinedGold;

  return totalGold;

}

You need to test the GoldMined method. Which unit test should you use? 


A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer:


Question No. 50

The GetDealPrice method must be called by using Ajax. 

You need to get the price of a product by using the GetDealPrice method of the ProductController. 

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


Question No. 51

You need to maximize performance of video delivery. 

Which code segment should you use as the body of the GetVideoStream function in the videoController class? 


A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer:


Question No. 52

An advertising campaign was recently launched. Some of the ads contain a link to products that no longer exist or have IDs that have changed. 

You need to ensure that all product links display a product. Which code segment should you use to configure the route? 


A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer:


Question No. 53

You need to implement the business requirements for managing customer data. 

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

A. Add a class named Customer-Controller to the Controllers folder. Then add a method named Edit to the class. 

B. Create a new controller named Administration in the Controllers folder. Add an action named EditCustomer to the controller. 

C. Add a folder named Customer to the Views folder. Then create a view inside this folder named Edit.aspx. 

D. Create a new folder named EditCustomer to the Views folder. In the new folder, create a new file named Administration.aspx. 

Answer: AC 


Question No. 54

You need to load flight information provided by Consolidated Messenger. 

Which should you use? 

A. SQL Server Data Transformation Services (DTS) 

B. EntityTransaction and EntityCommand 

C. Office Open XML 

D. OleDbConnection and OleDbDataReader 

Answer:


Question No. 55

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. 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 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 Exceptions. Disable the User-unhandled check box for Common Language Runtime Exceptions. 

C. Add the following code to the Web.config file of the application. 

<customErrors mode="On"> 

<error statusCode="500" redirect="CustomErrors.html" /> 

</customErrors> 

D. Add the following code to the Web.config file of the application. 

<customErrors mode="On" > 

<error statusCode="404" redirect="CustomErrors.html"/> 

</customErrors> 

Answer:


Question No. 58

You are designing an ASP.NET Web API application. 

You need to select an HTTP verb to allow blog administrators to moderate a comment. 

Which HTTP verb should you use? 

A. GET 

B. POST 

C. DELETE 

D. PUT 

Answer:


Question No. 59

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

The QueueDetail entity type must inherit from the InboundQueue entity type in the ExternalQueue service project using table-per-type inheritance. 

You need to modify the entities in the designer. 

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

A. Remove the OrderNum property in InboundQueue. 

B. Remove the OrderNum property in QueueDetail. 

C. Set the QueueDetail BaseType to InboundQueue. 

D. Remove the association between the entities. 

E. Right-click the entities and validate the table mapping. 

F. Set the InboundQueue BaseType to QueueDetail. 

Answer: BCDE 


Question No. 61

The DeleteExternalOrder() method in the ExternalQueueService service is not throwing a FaultException exception as defined by the FaultContractAttribute attribute in the IExternalQueueService.cs file. 

You need to throw the FaultException exception. 

Which code segments can you insert at line EQ45 to achieve this goal? (Each correct answer presents a complete solution. Chose all that apply.) 


A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer: CD 


Question No. 62

You are developing an ASP.NET MVC application. 

Deployment administrators do not have access to Visual Studio 2102, but will have the elevated permissions required to deploy the application to the servers. 

You need to select a deployment tool for use by the deployment administrators. 

Which tool should you use? 

A. Publish Web Site Tool 

B. Web Deployment Package 

C. One-Click Publish 

D. Deployment Package Editor 

Answer:


Question No. 63

You need to make all of the rows in the table bold in the Views/RunLog/GetLog.cshtml view. 

Which code segment should you use? 

A. table>tr{ font-weight: bold; } 

B. table>th:last-child{ font-weight: bold; } 

C. table+first-child{ font-weight: bold; } 

D. table>tr>th:nth-child(2){ font-weight: bold; } 

Answer:


Question No. 64

You need to ensure that new customers enter a valid email address. 

Which code should you use? (Each correct answer presents part of the solution. Choose all that apply.) 


A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer: AD