Microsoft Azure Security Engineer Associate AZ-500 Practice Question
Your company hosts several production workloads in Azure Container Instances (ACI). The security team wants to analyze container start or stop events and console output in a central Log Analytics workspace to detect suspicious activity. You must configure the environment so that both existing and future container groups automatically stream these logs, without modifying any container images. Which action should you take?
Create an Azure Policy assignment that deploys a diagnostic setting on container groups to send the ContainerInstanceConsoleLogs and ContainerInstanceEvents categories to the Log Analytics workspace.
Install the Azure Monitor agent inside each container image and configure data collection rules to send logs to the workspace.
Enable the Microsoft Defender for Containers plan in the subscription to onboard the container groups.
Enable Azure Monitor for containers (Container Insights) for the subscription that hosts the container groups.
Azure Container Instances exposes the ContainerInstanceConsoleLogs and ContainerInstanceEvents diagnostic categories. A diagnostic setting that targets a Log Analytics workspace streams those records, making them queriable with Kusto and suitable for alert rules. A built-in Azure Policy can deploy the required diagnostic setting at scale, ensuring that new and existing container groups are configured automatically. Azure Monitor for containers is limited to Kubernetes clusters, installing the Azure Monitor agent inside every container is unsupported for ACI, and enabling Microsoft Defender for Containers does not configure log collection for ACI diagnostic categories.
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 Azure Policy, and how does it help configure diagnostic settings at scale?
Open an interactive chat with Bash
What are ContainerInstanceConsoleLogs and ContainerInstanceEvents in Azure?
Open an interactive chat with Bash
How does Azure Log Analytics workspace support log analysis?
Open an interactive chat with Bash
Microsoft Azure Security Engineer Associate AZ-500
Secure compute, storage, and databases
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 .