PrepAway - Latest Free Exam Questions & Answers

Category: Uncategorized

You need to store state and configure the application

DRAG DROP
You are developing an ASP.NET MVC application in a web farm. The application has a page that
uploads a customer’s photo, resizes it, and then redirects the browser to a page where the new
image is displayed along with the final dimensions.
The final dimensions should be available only to the page where the new image is displayed.
You need to store state and configure the application.
What should you do? (To answer, drag the appropriate item to the correct location. 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.)


Which code segment should you use?

You are implementing a website redesign of an existing website that provides historical weather
condition maps. The current layout resembles the following graphic.


Year selection is implemented as a set of links, which causes the page to reload when the user
changes the year. The year selection HTML is contained in a div with an id of “year‐changer”.
You need to modify the page so that the user can change the year without the page reloading. You
also need to ensure that there is minimal change to the design of the page.
Which code segment should you use?


How should you complete the relevant code?

HOTSPOT
You are developing an ASP.NET MVC application. The layout page of the application references the
jQuery library. You develop a view that uses the layout page. The view includes the following
markup:

The application includes the following class:

When a user clicks the button, an AJAX call must retrieve the partial view and append it to the
newBooks div element.
You need to implement the AJAX request.
How should you complete the relevant code? To answer, select the appropriate code segment from
each list in the answer area.


Which two code segments will achieve the goal?

You develop an ASP.NET MVC application. The application has a controller named
PeopleController.cs. The controller has an action method that returns a parent view. The parent
view includes the following code. Line numbers are included for the reference only.

The application also contains a partial view named People. The parent view must display the partial
view.
You need to add code at line 09 to display the partial view within the parent view.

Which two code segments will achieve the goal? Each correct answer presents a complete solution.

How should you complete the relevant code?

DRAG DROP
You are developing an ASP.NET web application that uses health monitoring to log events to the
Windows Event Log. The application contains a custom event that is defined in the following code
segment. Line numbers are included for reference only.

You need to ensure that the event is correctly added to the Windows event log.
How should you complete the relevant code? 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.



Page 194 of 197« First...102030...192193194195196...Last »