ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 187 - AZ-104 discussion

Report
Export

You have an Azure web app named webapp1.

Users report that they often experience HTTP 500 errors when they connect to webapp1.

You need to provide the developers of webapp1 with real-time access to the connection errors. The solution must provide all the connection error details.

What should you do first?

A.
From webapp1, enable Web server logging
Answers
A.
From webapp1, enable Web server logging
B.
From Azure Monitor, create a workbook
Answers
B.
From Azure Monitor, create a workbook
C.
From Azure Monitor, create a Service Health alert
Answers
C.
From Azure Monitor, create a Service Health alert
D.
From webapp1, turn on Application Logging
Answers
D.
From webapp1, turn on Application Logging
Suggested answer: A

Explanation:

To resolve this you need to catch connection error. When the connection fails for webapp, it happens on web server, not within application. You can find out the web server log by below steps:

Open the web application --> Go to Application Service logs --> Go to Web server logging (there are multiple switches there)

You can also see the errors live going to "Log stream" pane.

To ensure that you will get web server log, you have to enable it.

Reference:

https://docs.microsoft.com/en-us/azure/app-service/troubleshoot-diagnostic-logs

asked 26/09/2024
Srinivasan Kumaresan
36 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first