mediummultiple choiceObjective-mapped

The team already exports subscription activity logs to a Log Analytics workspace and wants an alert that can ignore delete operations performed by a known automation account. What should they create?

Question 1mediummultiple choice
Full question →

The team already exports subscription activity logs to a Log Analytics workspace and wants an alert that can ignore delete operations performed by a known automation account. What should they create?

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

An activity log alert at the subscription scope

Activity log alerts are useful for direct event monitoring, but they do not provide the same KQL filtering flexibility inside the workspace.

B

Best answer

A scheduled query alert in Log Analytics using the AzureActivity table

Because the activity logs are already in Log Analytics, a scheduled query alert gives the team full KQL flexibility. They can filter by operation name and exclude actions performed by the automation account before firing the alert. This is the best choice when alert logic must be more specific than a standard activity log rule.

C

Distractor review

A metric alert on the subscription

Subscription metrics do not represent administrative delete operations and cannot filter the event details the team cares about.

D

Distractor review

A diagnostic setting on the resource group

Diagnostic settings can route logs, but they do not create alert logic or exclude a specific caller from triggering a notification.

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: A scheduled query alert in Log Analytics using the AzureActivity table — A scheduled query alert is the best choice when the data is already in Log Analytics and the alert needs custom logic. The AzureActivity table can be queried with KQL to identify delete events and exclude those performed by the automation account. That level of filtering is not available in the same way with a basic metric alert, and it is more flexible than a simple activity log alert. Why others are wrong: An activity log alert can detect a delete event, but it is less flexible when you need custom exclusion logic against a specific caller. Metric alerts do not apply to management-plane deletes. Diagnostic settings only collect or route data; they do not evaluate the data and raise an alert by themselves.

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.