exam questions

Exam 70-486 All Questions

View all questions & answers for the 70-486 exam

Exam 70-486 topic 1 question 182 discussion

Actual exam question from Microsoft's 70-486
Question #: 182
Topic #: 1
[All 70-486 Questions]

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: Change the application startup code to debug the OWIN pipeline.
Does the solution meet the goal?

  • A. Yes
  • B. No
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️
We need to install the Microsoft.Owin.Diagnostics package before we change the startup code.
The Microsoft.Owin.Diagnostics package contains middleware that catches unhandled exceptions and displays an HTML page with error details.
References:
https://docs.microsoft.com/en-us/aspnet/aspnet/overview/owin-and-katana/getting-started-with-owin-and-katana#add-owin-diagnostics

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Ptu12125
4 years, 5 months ago
Add OWIN Diagnostics The Microsoft.Owin.Diagnostics package contains middleware that catches unhandled exceptions and displays an HTML page with error details. This page functions much like the ASP.NET error page that is sometimes called the "yellow screen of death" (YSOD). Like the YSOD, the Katana error page is useful during development, but it's a good practice to disable it in production mode. To install the Diagnostics package in your project, type the following command in the Package Manager Console window: install-package Microsoft.Owin.Diagnostics –Pre Ref: https://docs.microsoft.com/en-us/aspnet/aspnet/overview/owin-and-katana/getting-started-with-owin-and-katana
upvoted 1 times
...
Epit2021
4 years, 7 months ago
Surely A would be correct as you do need to change the startup code. The question wasn't 'what is the first thing you need to do'...
upvoted 1 times
throne
4 years, 6 months ago
as answer says first thing you do is install package duh!!!!!!!
upvoted 2 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...