mediummulti selectObjective-mapped

A production virtual machine must trigger an immediate notification whenever average CPU stays above 85 percent for 15 minutes, and the same event must also start an Azure Function that opens an incident ticket. Which two Azure Monitor components should you configure? Select two.

Question 1mediummulti select
Full question →

A production virtual machine must trigger an immediate notification whenever average CPU stays above 85 percent for 15 minutes, and the same event must also start an Azure Function that opens an incident ticket. Which two Azure Monitor components should you configure? Select two.

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

Best answer

Create a metric alert rule on the VM CPU percentage.

A metric alert evaluates the VM CPU metric continuously and can fire when the threshold and duration are met.

B

Best answer

Add an action group that sends email and invokes the Azure Function.

An action group defines the notification and automation targets that run when the alert fires.

C

Distractor review

Enable a diagnostic setting on the VM without creating an alert rule.

Diagnostic settings collect telemetry, but they do not create alert conditions or trigger notifications by themselves.

D

Distractor review

Create a Log Analytics workspace and rely on manual queries only.

A workspace stores logs for later analysis, but it does not automatically send alerts or start functions.

E

Distractor review

Apply a resource lock so CPU usage changes are blocked.

Resource locks control management operations, not runtime performance metrics such as CPU utilization.

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: Create a metric alert rule on the VM CPU percentage. — Metric alerts are the right control for threshold-based monitoring of a numeric platform metric such as CPU percentage, and an action group is the mechanism that delivers the response. By combining them, Azure Monitor can evaluate the condition every minute or on the configured schedule and then notify people or trigger automation such as an Azure Function. This separates detection from response and is the standard design for operational alerting. Why others are wrong: Diagnostic settings only forward telemetry; they do not evaluate thresholds or send notifications. A Log Analytics workspace is useful for investigation, but manual querying does not satisfy an immediate alerting requirement. A resource lock prevents deletion or modification of resources, not spikes in CPU usage. These options address storage or governance, not the operational response requested in the scenario.

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.