070-486試験無料問題集「Microsoft Developing ASP.NET MVC 4 Web Applications 認定」

You are testing an ASP.NET application.
The test plan requires that tests run against the application's business layer.
You need to use the test project template that meets this requirement.
Which template should you use?

Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some questions sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You develop an ASP.NET web application that is self-hosted using Open Web Interface for .NET (OWIN) in a Microsoft Azure Worker role.
The web application throws exceptions.
You need to resolve the exceptions.
Solution: Reference System.Web.dll to run in a custom host.
Does the solution meet the goal?

You need to implement the Views\RunLog\_CalculatePace.cshtml partial view from Views\Runlog \GetLog.cshtml to display the runner's average mile pace.
How should you implement the view? (To answer, drag the appropriate code segments to the correct location or locations. Each code segment 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.)
正解:
You need to add a method to the ProductController class to meet the exception handling requirements for logging.
Which code segment should you use?

You are developing an ASP.NET MVC application that delivers real-time game results to sports fans. The application includes the following code. Line numbers are included for reference only.

The source data for the game results is updated every 30 seconds.
Testers report the following issues with the application:

You need to correct the performance issues.
Which two changes should you make to the code? Each correct answer presents part of the solution.

解説: (GoShiken メンバーにのみ表示されます)
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.)
正解:

Explanation:
References: http://msdn.microsoft.com/en-us/library/system.web.routing.iroutehandler.gethttphandler.aspx
You need to display the "miles" unit description after the distance in the GetLog view.
Which line of code should you use to replace line GL21? (Each correct answer presents a complete solution. Choose all that apply.)

You need to modify the application to meet the productId requirement.
Which code segment should you use?

解説: (GoShiken メンバーにのみ表示されます)
You need to ensure that developers can connect to a Windows Azure role by using RDP.
What should you do?

Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some questions sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You are developing an ASP.NET Core MVC web application. The landing page of the application contains over 100 small JPEG images, including many images that have embedded text.
Mobile device users report performance issues when loading the landing page. You debug the application and determine that the number of HTTP requests is causing the issue.
You need to improve the performance of the landing page.
Solution: Update the web server to use HTTP/2.
Does the solution meet the goal?

You are designing a distributed application.
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.)