Microsoft Azure Security Engineer Associate AZ-500 Practice Question
Your company collects Windows Security events from 200 Azure VMs to a Log Analytics workspace by using the Azure Monitor agent. Analysts want to ingest only event ID 4625 (failed sign-in) from VMs that have the tag Environment=Prod to reduce noise and cost. You create a new data collection rule (DCR). Which DCR configuration meets the requirement?
Deploy the DCR to all virtual machines and use a Sentinel analytic rule to discard events that are not event ID 4625.
Enable data collection for the Security channel and configure a retention policy that deletes all events except event ID 4625 after 30 days.
Create a workbook query that runs every hour against the Security table and deletes any record whose EventID is not 4625.
Set the DCR scope to resources that have the tag Environment set to Prod and add a transformKql expression that filters the Security channel for EventID == 4625.
A DCR can first scope which resources it applies to and then transform the collected data before it is written to the workspace. By scoping the rule to resources whose tag Environment equals Prod, only the intended virtual machines are targeted. Adding a transformKql block that filters the Security channel for records where EventID == 4625 keeps the required events and drops all others. The transformation runs in the Azure Monitor ingestion pipeline, so non-matching events never reach the workspace. Retention settings or Sentinel rules act after ingestion and do not prevent unnecessary data from being stored or billed.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is a Data Collection Rule (DCR) in Azure Monitor?
Open an interactive chat with Bash
What is transformKql and how does it optimize data ingestion?
Open an interactive chat with Bash
How are tags like Environment=Prod used with a DCR in Azure?
Open an interactive chat with Bash
Microsoft Azure Security Engineer Associate AZ-500
Secure Azure using Microsoft Defender for Cloud and Microsoft Sentinel
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .