az container attach only gives STDOUT and STDERR, not web server log ...
web server log can have option to see STDOUT / STDERR as well as all other possible log files
Correct. If one will take a look at "CS09" line, it's clear that "ContentUploadService" is a container, so the first step should be "az container attach"
A web app can be deployed both as source code and as a docker container.
C it's correct see link https://docs.microsoft.com/en-us/azure/app-service/troubleshoot-http-502-http-503
It is not A. "az webapp log" by itself is not a command. It would need to be "az webapp log tail" or "az webapp log download".
https://docs.microsoft.com/en-us/cli/azure/webapp/log?view=azure-cli-latest
D - Scenario: The ContentAnalysisService is deployed with Azure Container Instances from a private Azure Container Registry named AmyImages. The solution will use eight CPU cores.
When you have a misbehaving container in Azure Container Instances, start by viewing its logs with az container logs, and stream its standard out and standard error with az container attach.
https://docs.microsoft.com/en-us/azure/container-instances/container-instances-get-logs
Without knowing what Microsoft thinks it is difficult to answer this question.
* az monitor activity-log alert create can be used to create an alert. If you follow the page then that is the first step. Monitor the service health and for that create alerts. Thi tool can be used for that. https://learn.microsoft.com/en-us/azure/app-service/troubleshoot-http-502-http-503
* az container attach : To get the current log output, but that is not a good option to debug this issue.
I will bet on az monitor activity-log. And I'm changing my original answer from the first iteration of looking at the options
But it asks which you will use first then I guess Microsoft wants me to follow that step exactly like a machine and reading their manuals as soon as I face an issue. So it is definitely alerts in the first step; Observe and monitor. This is a horrible question to ask what I will do first. I will go get a coffee first, microsoft
ContentUploadService is a container, see line CS06-CS09. Ref: https://docs.microsoft.com/en-us/azure/container-instances/container-instances-get-logs#attach-output-streams
This section is not available anymore. Please use the main Exam Page.AZ-204 Exam Questions
Log in to ExamTopics
Sign in:
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.
Whirly
Highly Voted 4 years agomaukaba
3 years, 5 months agoZidimirite
4 years agoclarionprogrammer
4 years agoning
3 years, 8 months agosomenkr
3 years, 9 months agoKingChuang
2 years, 4 months agoray01
4 years agomaukaba
3 years, 5 months ago1CY1
9 months, 2 weeks agoclarionprogrammer
Highly Voted 4 years agoRhashik
Most Recent 9 months, 1 week agoDamianSawula
11 months, 3 weeks agojames2033
1 year, 1 month agoBaoNguyen2411
1 year, 9 months agoNightshadeRC
1 year, 9 months agoJH81
1 year, 10 months agoadilkhan
2 years agouffuchsi
2 years, 2 months agoAlexeyG
2 years, 2 months agohubekpeter
2 years, 5 months agoOPT_001122
2 years, 5 months agoTheExamMaster2020
2 years, 5 months agogmishra88
2 years, 6 months agogmishra88
2 years, 6 months agogmishra88
2 years, 6 months agogmishra88
2 years, 6 months agoEltooth
2 years, 10 months agoheisenberg33
3 years, 2 months ago