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.

Microsoft Azure Security Engineer Associate AZ-500
Secure compute, storage, and databases
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot