Courseiva

AZ-500 Practice Question: Secure Azure using Microsoft Defender for Cloud and Microsoft Sentinel

You are configuring Microsoft Defender for Cloud for a subscription that contains Azure Kubernetes Service (AKS) clusters. You need to ensure that Defender for Containers provides vulnerability assessment for container images stored in Azure Container Registry (ACR). What should you enable?

⚠ Common exam trap

The trap here is selecting Defender for Servers because AKS nodes are VMs, but container image scanning requires Defender for Containers.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

✓

Enable the Defender for Containers plan and ensure that the ACR integration is turned on, then grant the Defender for Cloud service principal the AcrPull role on the registry.

Defender for Containers is the correct plan for protecting AKS clusters and container images in ACR. Enabling the plan and the ACR integration, along with granting the service principal AcrPull permissions, allows Defender for Cloud to scan images for vulnerabilities. The other plans target different resource types and do not include container image assessment.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • ✗

    Enable the Defender for App Service plan and configure the ACR integration from the App Service environment.

    Why it's wrong here

    Defender for App Service protects web apps and functions, not container images in ACR. It does not include container image scanning. Enabling this plan would not provide vulnerability assessment for ACR images, and App Service environments are unrelated to AKS container registries.

  • ✓

    Enable the Defender for Containers plan and ensure that the ACR integration is turned on, then grant the Defender for Cloud service principal the AcrPull role on the registry.

    Why this is correct

    Defender for Containers includes vulnerability assessment for container images in ACR when the ACR integration is enabled. The integration requires the Defender for Cloud service principal to have AcrPull permissions to scan images. This allows Defender for Cloud to pull and analyze images for vulnerabilities, providing continuous assessment as new images are pushed.

  • ✗

    Enable the Defender for Storage plan and configure a private endpoint to ACR.

    Why it's wrong here

    Defender for Storage protects Azure Storage accounts, not container registries. A private endpoint improves network security but does not enable vulnerability scanning. This option does not provide the required container image assessment and misidentifies the relevant Defender plan.

  • ✗

    Enable the Defender for Servers plan and deploy the Log Analytics agent to all AKS nodes.

    Why it's wrong here

    Defender for Servers protects virtual machines and servers, not container images in ACR. Deploying the Log Analytics agent to AKS nodes does not provide image vulnerability assessment. While it can collect security events, it does not scan container registries, so this does not meet the requirement.

About these practice questions

This AZ-500 question is part of Courseiva's 617-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written and reviewed by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

Last reviewed September 2026 · checked against the official Microsoft exam blueprint

This AZ-500 practice question is part of Courseiva's free Microsoft certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the AZ-500 exam.