最新的Microsoft Upgrade your MCPD: Web Developer 4 to MCSD: Web Applications - 70-492免費考試真題
問題1
You develop an ASP.NET MVC application that is secured by using SSL. You are ready to deploy the application to production. The deployment package must include the installation of the SSL certificate. You need to configure the deployment package to meet the requirement. What should you do?
正確答案: B
問題2
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?
正確答案: D
問題3
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,B,E,F
問題4
Data provided by Consolidated Messenger is cached in the HttpContext.Cache object. You need to ensure that the cache is correctly updated when new data arrives. What should you do?
正確答案: A
問題5
Errors occasionally occur when saving data using the FlightInfoContext ADO.NET Entity Framework context. Updates to the data are being lost when an error occurs. You need to ensure that data is still saved when an error occurs by retrying the operation. No more than five retries should be performed. Which code segment should you use as the body of the SaveChanges() method in the FlightInfoContext.es file




正確答案: A
問題6
You need to add an action to RunLogController to validate the users' passwords. Which code segment should you use?


正確答案: D
問題7
You need to implement the mobile device support requirements.
How should you build the ProcessRequest method? (To answer, select the appropriate options in the
answer area.)
Hot Area:

How should you build the ProcessRequest method? (To answer, select the appropriate options in the
answer area.)
Hot Area:

正確答案:

Explanation:

問題8
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,B
問題9
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.)


正確答案: B,C
問題10
The GetVendors() action in the ProcessedOrderController controller is querying the database each time it is run. The GetVendors() action must query the database only if the cache is null.
You need to add code to the action at line PC33 to cache the data. Which code segment can you use? (Each correct answer presents a complete solution. Choose all that apply.)
You need to add code to the action at line PC33 to cache the data. Which code segment can you use? (Each correct answer presents a complete solution. Choose all that apply.)
正確答案: B,D

