PrepAway - Latest Free Exam Questions & Answers

Category: 70-486 (v.4)

Exam 70-486: Developing ASP.NET MVC 4 Web Applications (update July 13th, 2017)

How should you complete the relevant code?

HOTSPOT
You develop an ASP.NET MVC application that includes the following class. Line numbers are included for
reference only.

You must use the Razor view engine to display all property values for the class.
You need to implement the view.
How should you complete the relevant code? To answer, select the appropriate code segment from each list in
the answer area.
Hot Area:

Which two technologies can you use?

You are developing an ASP.NET MVC application that will be deployed on local Internet Information Services
(IIS) servers and on an Azure Web Role.
You must log events for the application when it is deployed locally and on Azure. You must not deploy additional
services.
You need to implement a logging solution.
Which two technologies can you use? Each correct answer presents a complete solution.

Which code segments should you include in Target 1 and …

DRAG DROP
You need to ensure that URLs for log manipulation are mapped to the controller.
You have the following code:

Which code segments should you include in Target 1 and Target 2 to map the URLs? To answer, drag the
appropriate code segments to the correct targets. Each code segment may be used once, more than once, or
not at all. You need to drag the split bar between panes or scroll to view content.
Select and Place:

How should you complete the relevant code?

DRAG DROP
You are developing an ASP.NET MVC application.
You must handle any first chance exceptions that the application throws. The exception handler has the
following requirements:
Catch any first chance exceptions thrown by the default app domain.
Display the name of the app domain that caused the exception.
Display the message for the exception.
You need to implement the exception handler.
How should you complete the relevant code? To answer, drag the appropriate code segment to the correct
location or locations. Each code segments 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.
Select and Place:

Which code segment should you insert at line 03?

You are developing an ASP.NET MVC application. The application includes the following method. Line
numbers are included for reference only.

The application calls the GenerateMessage method before displaying each page.
The GenerateMessage method throws NullReferenceException exceptions.
You need to use Code Contracts to prevent the exceptions.
Which code segment should you insert at line 03?

Which markup segments should you include in Target 1, T…

DRAG DROP
You are developing an ASP.NET MVC web application.
You need to create a form that can be used to add new products to the web application.
You have the following markup:

Which markup segments should you include in Target 1, Target 2, Target 3 and Target 4 to complete the
markup? To answer, drag the appropriate markup segments to the correct targets. Each markup 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.
Select and Place:

How should you complete the relevant Razor markup?

HOTSPOT
You develop an ASP.NET MVC application. You are creating a new layout page by using the Razor view
engine.
The layout page has the following requirements:
Render the content of a section named scripts at the bottom of the layout page.
Render the content of a section named featured just above the body of the page.
Render a StyleBundle named ~/Content/css.
You need to implement the layout page.
How should you complete the relevant Razor markup? To answer, select the appropriate Razor markup from
each list in the answer area.
Hot Area:

How should you complete the relevant code segment?

DRAG DROP
You develop an ASP.NET MVC application. You plan to implement ASP.NET SignalR for real-time push
notifications. The application includes the following class:

You need to display the message.
How should you complete the relevant code segment? To answer, drag the appropriate code segment 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.
Select and Place:

You need to design the application to meet the requirem…

DRAG DROP
You are designed a hybrid application that runs across a Microsoft Azure data center and your company’s onpremise enterprise environment.
You have the following requirements:
Windows Communication Foundation (WCF) services that reside within the corporate enterprise network
must be securely exposed to the public cloud.
A firewall connection and intrusive changes to the corporate network infrastructure are not allowed.
You need to design the application to meet the requirements.How should you design the application? To answer, drag the appropriate item to the correct location or
locations. Each item 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.
Select and Place:


Page 1 of 1512345...10...Last »