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.
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.
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.
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.
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.
Question 1
A DevOps team wants Defender for Cloud to identify secrets exposed in GitHub repositories. What should be configured?
Question 2
A public web application should be protected from OWASP-style attacks and network-layer DDoS attacks. Which two Azure services are most relevant?
Question 3
A Sentinel scheduled rule runs every 5 minutes and looks back 1 hour. Analysts see repeated alerts for the same event. Which change best prevents duplicate detections without missing late-arriving logs?
Question 4
A SOC analyst needs a Sentinel query that detects multiple failed sign-ins followed by a successful sign-in for the same user. Which table is the best primary source?
Question 5
A Sentinel watchlist contains high-value administrator accounts. Which KQL pattern best uses it in a detection rule?
Question 6
A SOC wants a Sentinel rule to include account, host, and IP entities so analysts can pivot during investigation. What should be configured in the analytics rule?
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
Sign in to join the discussion.