hardmulti selectObjective-mapped

A security team uses Microsoft Defender for Cloud to centralize security alerts. They want to continuously export all security alerts to a Log Analytics workspace for long-term retention and custom analysis. Which two actions must be taken to achieve this? (Choose two that apply.)

Question 1hardmulti select
Full question →

A security team uses Microsoft Defender for Cloud to centralize security alerts. They want to continuously export all security alerts to a Log Analytics workspace for long-term retention and custom analysis. Which two actions must be taken to achieve this? (Choose two that apply.)

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

Enable the continuous export feature in Microsoft Defender for Cloud.

This feature must be turned on to stream alerts and recommendations to a destination like a Log Analytics workspace.

B

Best answer

Configure diagnostic settings for the subscription to export SecurityAlert logs to the Log Analytics workspace.

Diagnostic settings control which logs are sent to the workspace; without this, the stream from Defender for Cloud will not reach the workspace.

C

Distractor review

Create a Log Analytics workspace in the same region as the resources.

A workspace must exist, but creating it is a prerequisite, not an action that enables continuous export.

D

Distractor review

Assign an Azure Policy definition for 'Deploy export to Log Analytics workspace for Azure Security Center data'.

While such a policy exists to automate deployment, it is not strictly required; manual configuration is sufficient.

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-500 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-500 question test?

Read the scenario before looking for a memorised answer.

What is the correct answer to this question?

The correct answer is: Enable the continuous export feature in Microsoft Defender for Cloud. — To continuously export security alerts from Defender for Cloud to a Log Analytics workspace, you need to: 1) Enable the continuous export feature in Defender for Cloud's environment settings (this streams alerts and recommendations). 2) Configure the diagnostic settings for the subscription (or management group) to send the SecurityEvent or SecurityAlert logs to the desired Log Analytics workspace. Option A and B are the correct pair. Simply having a workspace or an Azure Policy is insufficient without enabling export and diagnostics.

What should I do if I get this AZ-500 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.