easymultiple choiceObjective-mapped

Exhibit

Storage account diagnostic settings
- Destination: Log Analytics workspace
- Categories: allLogs
- Export mode: Resource-specific

Troubleshooting note:
- A coworker ran: AzureDiagnostics | where ResourceProvider == "MICROSOFT.STORAGE"
- Result: No matching records

Based on the exhibit, why does a query against AzureDiagnostics return no rows after the storage account diagnostic setting was changed?

Question 1easymultiple choice
Full question →

Based on the exhibit, why does a query against AzureDiagnostics return no rows after the storage account diagnostic setting was changed?

Answer choices

Why each option matters

Good practice is not just finding the correct option. The wrong answers often show the exact trap the exam wants you to fall into.

A

Distractor review

The storage account cannot send logs to Log Analytics when public network access is disabled.

Network access does not determine the log table format used in Log Analytics.

B

Best answer

The logs are written to resource-specific tables instead of AzureDiagnostics.

When diagnostic settings use resource-specific mode, Azure writes records to service-specific tables rather than the legacy AzureDiagnostics table. The query failed because it looked in the wrong table. The administrator should query the table that matches the storage log source or switch the destination format if a unified table is preferred.

C

Distractor review

The diagnostic setting only sends metrics, not logs, to the workspace.

The exhibit shows allLogs were selected, so logs are being collected rather than metrics only.

D

Distractor review

The workspace retention period automatically deletes all records after one hour.

Workspace retention does not explain why the query returned no rows immediately after logging was enabled.

Common exam trap

Common exam trap: answer the scenario, not the keyword

Many certification questions include familiar terms but test a specific constraint. Read the exact wording before choosing an answer that is generally true but wrong for this case.

Technical deep dive

How to think about this question

This question should be treated as a scenario, not a definition check. Identify the problem, the constraint and the best action. Then compare each option against those facts.

KKey Concepts to Remember

  • Read the scenario before looking for a memorised answer.
  • Find the constraint that changes the correct option.
  • Eliminate answers that are true in general but not in this case.
  • Use explanations to understand the rule behind the answer.

TExam Day Tips

  • Underline the problem statement mentally.
  • Watch for words such as best, first, most likely and least administrative effort.
  • Review why wrong options are wrong, not only why the correct option is correct.

Related practice questions

Related AZ-104 practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

More questions from this exam

Keep practising from the same exam bank, or move into a focused topic page if this question exposed a weak area.

FAQ

Questions learners often ask

What does this AZ-104 question test?

Read the scenario before looking for a memorised answer.

What is the correct answer to this question?

The correct answer is: The logs are written to resource-specific tables instead of AzureDiagnostics. — Resource-specific export changes how Azure Monitor stores diagnostic data in Log Analytics. Instead of placing everything into AzureDiagnostics, Azure writes the records into service-specific tables. That means a query against AzureDiagnostics can return nothing even though logs are arriving successfully. The fix is to query the correct resource-specific table or change the diagnostic setting to a different export mode if the team wants to consolidate data. Why others are wrong: Public network access does not control whether logs appear in a particular Log Analytics table. The setting clearly includes logs, so it is not metrics-only. Retention would affect old data, not a brand-new query that matches nothing. The issue is table selection, not connectivity or workspace lifecycle.

What should I do if I get this AZ-104 question wrong?

Then try more questions from the same exam bank and focus on understanding why the wrong options are tempting.

Discussion

Loading comments…

Sign in to join the discussion.