exam questions

Exam AZ-400 All Questions

View all questions & answers for the AZ-400 exam

Exam AZ-400 topic 2 question 17 discussion

Actual exam question from Microsoft's AZ-400
Question #: 17
Topic #: 2
[All AZ-400 Questions]

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.

Show Suggested Answer Hide Answer
Suggested Answer: See explanation below.
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

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
yana_b
Highly Voted 1 year, 8 months ago
Provided simulation step-by-step guidance is correct. I reproduced it in my subscription: 1.Log in to AZ portal and navigate to the AZ SQL database 2. All resources and make sure that there is a Log Analytics Workspace, if no => create one 3. Under Monitoring -> Diagnosstic settings 4. + Add diagnostic setting 5. Give the diagnostic setting a name 6. Check Query Store Runtime Statistics 7. Check basic 8. Check Send to Log Analytics workspace and select the Log Analytics Workspace (if now space exists, you have to 1 create new one and return back here, as no option to creaet one directly from this step) 9. Save
upvoted 8 times
phantom31
11 months, 1 week ago
did you create a database first here. you mention nothing about database or querystore here.
upvoted 1 times
...
peekingpicker
1 year, 7 months ago
what happened if we didn't check "basic" in no 7 ? why must "basic"? how about "InstanceAndAppAdvanced" and "WorkloadManagement" ?
upvoted 2 times
...
...
STH
Highly Voted 3 years, 1 month ago
there is no more labs in exam, so question is deprecated
upvoted 8 times
ciscogeek
1 year, 11 months ago
Is this true?
upvoted 3 times
...
deltarj
3 years ago
not sure if you're correct. Examtopics Members comment on AZ-400 general discussion differently.. see: https://www.examtopics.com/exams/microsoft/az-400/
upvoted 4 times
...
Geraldod
1 year, 6 months ago
I wrote 22/09/2023. Had labs
upvoted 4 times
...
...
Christian_garcia_martin
Most Recent 3 months ago
i dont know if there are labs in the exam, but i do not think this in lab is in the scope of devops
upvoted 1 times
...
chakanirban
10 months, 1 week ago
NO LAB on 6/21 - 9 am IST - 1 Case study , 6 new Q 1 YES NO series was new - 3 Q - I answered all No , because 2 will No and 1 Y JOB A depends JOB B JOB B on JOB C JOB C on JOB D who is dependent , who can run parallel 3 yes/ no
upvoted 3 times
...
renzoku
1 year, 9 months ago
1. Sign in to the Azure portal 2. Select the Azure SQL Database 3. Configure Log Analytics integration > Diagnostic Settings 4. Enable Query Store data collection Right?
upvoted 1 times
...
Govcomm
2 years, 9 months ago
DB --> Diagnostic settings
upvoted 1 times
...
rdemontis
3 years ago
correct answer
upvoted 1 times
...
apek88
3 years, 7 months ago
Configure this from the Diagnostic settings of the SQL database https://docs.microsoft.com/en-us/azure/azure-sql/database/metrics-diagnostic-telemetry-logging-streaming-export-configure?tabs=azure-portal#configure-the-streaming-export-of-diagnostic-telemetry
upvoted 3 times
...
bimbokeem
3 years, 8 months ago
https://docs.microsoft.com/en-us/azure/azure-sql/database/metrics-diagnostic-telemetry-logging-streaming-export-configure?tabs=azure-portal
upvoted 2 times
...
k8smaster
3 years, 9 months ago
The question asks only for Query Store runtime statistics. Why would you select other options?
upvoted 5 times
STH
3 years, 1 month ago
no need but the exam does not blame you if you do
upvoted 2 times
ham56141
2 years, 3 months ago
Yeah, because Microsoft make more money if you do :)
upvoted 4 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