exam questions

Exam AZ-204 All Questions

View all questions & answers for the AZ-204 exam

Exam AZ-204 topic 6 question 31 discussion

Actual exam question from Microsoft's AZ-204
Question #: 31
Topic #: 6
[All AZ-204 Questions]

DRAG DROP -
You develop and deploy a web app to Azure App Service in a production environment. You scale out the web app to four instances and configure a staging slot to support changes.
You must monitor the web app in the environment to include the following requirements:
✑ Increase web app availability by re-routing requests away from instances with error status codes and automatically replace instances if they remain in an error state after one hour.
✑ Send web server logs, application logs, standard output, and standard error messaging to an Azure Storage blob account.
You need to configure Azure App Service.
Which values should you use? To answer, drag the appropriate configuration value to the correct requirements. Each configuration value 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.
Select and Place:

Show Suggested Answer Hide Answer
Suggested Answer:
Box 1: Health check -
Health check increases your application's availability by re-routing requests away from unhealthy instances, and replacing instances if they remain unhealthy. Your
App Service plan should be scaled to two or more instances to fully utilize Health check.

Box 2: Diagnostic setting -
Azure provides built-in diagnostics to assist with debugging an App Service app.
With the new Azure Monitor integration, you can create Diagnostic Settings to send logs to Storage Accounts, Event Hubs and Log Analytics.
Reference:
https://docs.microsoft.com/en-us/azure/app-service/monitor-instances-health-check https://docs.microsoft.com/en-us/azure/app-service/troubleshoot-diagnostic-logs

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
OPT_001122
Highly Voted 1 year, 5 months ago
Box 1: Health check Box 2: Diagnostic setting
upvoted 41 times
...
le129
Highly Voted 1 year, 8 months ago
disregard my answer please
upvoted 26 times
...
CarlosTheBoldest
Most Recent 4 months, 3 weeks ago
I got this question on my exam, 2023Dec, go with what I remember was the most voted answer. Score 902, most of the questions were here, slightly different on wording because the Azure Ad <-> Entra Id change. Case was City Power & Light. Good luck! Important tip, you have access to microsoft learn during the exam!
upvoted 7 times
...
Ranzzzan
1 year, 3 months ago
https://learn.microsoft.com/en-us/azure/app-service/monitor-instances-health-check?tabs=dotnet#what-happens-if-my-app-is-running-on-a-single-instance
upvoted 2 times
...
Billabongs
1 year, 6 months ago
The answer looks correct, https://learn.microsoft.com/en-us/azure/app-service/monitor-instances-health-check?tabs=dotnet#what-happens-if-my-app-is-running-on-a-single-instance
upvoted 9 times
...
Dani_ac7
1 year, 8 months ago
looks ok
upvoted 4 times
...
le129
1 year, 8 months ago
1. Autoscale rule 2. Diagnostic setting
upvoted 23 times
surprise0011
1 year ago
There is specified that you have configured four instances, it seems like it is an requirement , so autoscale doesn't fit
upvoted 6 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago