nerdexam
Microsoft

AZ-400 · Question #254

You have a web app hosted on Azure App Service. The web app stores data in an Azure SQL database. You need to generate an alert when there are 10,000 simultaneous connections to the database. The solu

The correct answer is A. Send to Log Analytics. ENABLE DIAGNOSTICS TO LOG ANALYTICS This configuration is done PER DATABASE 1. Click on Diagnostics Settings and then Turn On Diagnostics 2. Select to Send to Log Analytics and select the Log Analytics workspace. For this sample I will selected only Errors https://techcommunity.m

Submitted by weili_xi· Mar 6, 2026Implement an instrumentation strategy

Question

You have a web app hosted on Azure App Service. The web app stores data in an Azure SQL database. You need to generate an alert when there are 10,000 simultaneous connections to the database. The solution must minimize development effort. Which option should you select in the Diagnostics settings of the database?

Exhibit

AZ-400 question #254 exhibit

Options

  • ASend to Log Analytics
  • BStream to an event hub
  • CArchive to a storage account

How the community answered

(49 responses)
  • A
    73% (36)
  • B
    18% (9)
  • C
    8% (4)

Explanation

ENABLE DIAGNOSTICS TO LOG ANALYTICS This configuration is done PER DATABASE 1. Click on Diagnostics Settings and then Turn On Diagnostics 2. Select to Send to Log Analytics and select the Log Analytics workspace. For this sample I will selected only Errors https://techcommunity.microsoft.com/t5/azure-database-support-blog/azure-sql-db-and-log- analytics-better-together-part-1/ba-p/794833

Community Discussion

No community discussion yet for this question.

Full AZ-400 Practice