nerdexam
Microsoft

AZ-400 · Question #200

SIMULATION You have a web app that connects to an Azure SQL Database named db1. You need to configure db1 to send Query Store runtime statistics to Azure Log Analytics. To complete this task, sign in

The correct approach uses Azure Diagnostics Settings on the SQL Database resource to stream Query Store runtime statistics to Log Analytics. By navigating to the database's Diagnostic Settings blade, adding a new diagnostic setting, selecting 'Send to Log Analytics' as the destin

Submitted by layla.eg· Mar 6, 2026Monitor and maintain Azure SQL databases - Configure diagnostic settings and telemetry streaming for Azure SQL Database using Azure Monitor and Log Analytics workspaces.

Question

SIMULATION You have a web app that connects to an Azure SQL Database named db1. You need to configure db1 to send Query Store runtime statistics to Azure Log Analytics. To complete this task, sign in to the Microsoft Azure portal. Answer: To enable streaming of diagnostic telemetry for a single or a pooled database, follow these steps: 1. Go to Azure SQL database resource. 2. Select Diagnostics settings. 3. Select Turn on diagnostics if no previous settings exist, or select Edit setting to edit a previous setting. You can create up to three parallel connections to stream diagnostic telemetry. 4. Select Add diagnostic setting to configure parallel streaming of diagnostics data to multiple resources. 5. Enter a setting name for your own reference. 6. Select a destination resource for the streaming diagnostics data: Archive to storage account, Stream to an event hub, or Send to Log Analytics. 7. For the standard, event-based monitoring experience, select the following check boxes for database diagnostics log telemetry: QueryStoreRuntimeStatistics 8. For an advanced, one-minute-based monitoring experience, select the check box for Basic metrics. 9. Select Save. Reference: https://docs.microsoft.com/en-us/azure/azure-sql/database/metrics-diagnostic-telemetry-logging- streaming-export-configure

Exhibit

AZ-400 question #200 exhibit

Explanation

The correct approach uses Azure Diagnostics Settings on the SQL Database resource to stream Query Store runtime statistics to Log Analytics. By navigating to the database's Diagnostic Settings blade, adding a new diagnostic setting, selecting 'Send to Log Analytics' as the destination, and checking the 'QueryStoreRuntimeStatistics' log category, you establish the telemetry pipeline. This is the native Azure Monitor integration path for routing SQL Database diagnostic data - including Query Store metrics - to a Log Analytics workspace for querying and alerting.

Topics

#Azure SQL Database#Azure Monitor Diagnostics#Log Analytics#Query Store

Community Discussion

No community discussion yet for this question.

Full AZ-400 Practice