Question 21
The application includes the following method. (Line numbers are included for reference only.)
When users attempt to retrieve a product from the product page, a run-time exception occurs if the product does not exist.
You need to route the exception to the CustomException.aspx page.
Which line of code should you insert at line 05?
Question 22
HOTSPOT
You are developing an ASP.NET MVC 4 application. You are using IntelliTrace to debug the application.
You configure IntelliTrace as shown in the screenshot below.
To answer, make the appropriate selections in the answer area.
Hot Area:
Question 23
You are building an ASP.NET application for a purchasing system.
The application has a method named CalculateBalance in the Purchasing class.
You need to create a unit test for the CalculateBalance method.
Which five actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.
Question 24
You are developing an ASP.NET Core MVC web application. The application uses a custom tool named sectarget that performs security audits of the web application's assemblies. The custom tool was built in netstandardl.l and is packaged into a NuGet package named sectarget.
You need to ensure that the custom tool is run each time the web application is boat or published and that the latest version of sectarget is used each time the tool is run.
How should you complete the markup? To answer, drag the appropriate XML segments to the correct locations. Each XML 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 NOTE: Each correct selection is worth one point.
Question 25
You are developing an ASP.NET MVC application that displays stock market information.
The stock market information updates frequently and must be displayed in real-time.
You need to eliminate unnecessary header data, minimize latency, and transmit data over a full-duplex connection.
What should you do?









