ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 15 - AZ-204 discussion

Report
Export

You need to investigate the http server log output to resolve the issue with the ContentUploadService.

Which command should you use first?

A.
az webapp log
Answers
A.
az webapp log
B.
az ams live-output
Answers
B.
az ams live-output
C.
az monitor activity-log
Answers
C.
az monitor activity-log
D.
az container attach
Answers
D.
az container attach
Suggested answer: C

Explanation:

Scenario: Users of the ContentUploadService report that they occasionally see HTTP 502 responses on specific pages.

"502 bad gateway" and "503 service unavailable" are common errors in your app hosted in Azure App Service.

Microsoft Azure publicizes each time there is a service interruption or performance degradation.

The az monitor activity-log command manages activity logs.

Note: Troubleshooting can be divided into three distinct tasks, in sequential order:

1. Observe and monitor application behavior

2. Collect data

3. Mitigate the issue

Reference:

https://docs.microsoft.com/en-us/cli/azure/monitor/activity-log

asked 02/10/2024
luigi catalano
37 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first