nerdexam
Microsoft

AZ-204 · Question #120

Drag and Drop Question 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…

The correct answer is Health check; Diagnostic setting. Health check is the correct configuration for the first requirement because it monitors instance health by pinging a specified endpoint, automatically re-routes traffic away from unhealthy instances returning error status codes, and replaces instances that remain unhealthy…

Submitted by brentm· Mar 30, 2026Implement Azure App Service web apps - Configure monitoring and troubleshooting for App Service, including health checks and diagnostic logging to external destinations

Question

Drag and Drop Question 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. Answer:

Exhibit

AZ-204 question #120 exhibit

Answer Area

Drag items

Health checkDiagnostic settingDeployment slotAutoscale ruleZone redundancy

Correct arrangement

  • Health check
  • Diagnostic setting

Explanation

Health check is the correct configuration for the first requirement because it monitors instance health by pinging a specified endpoint, automatically re-routes traffic away from unhealthy instances returning error status codes, and replaces instances that remain unhealthy after a configurable threshold (default 1 hour). Diagnostic settings (specifically App Service Logs/Diagnostics) is the correct configuration for the second requirement because it enables sending web server logs, application logs, stdout, and stderr to an Azure Storage blob account as a logging destination.

Topics

#Azure App Service#Health Check#Diagnostic Logging#Application Monitoring

Community Discussion

No community discussion yet for this question.

Full AZ-204 Practice