You need to scan container images in Azure Container Registry (ACR) for known vulnerabilities before they are deployed to Azure Kubernetes Service (AKS). You also want to block vulnerable images from being deployed to AKS. What is the recommended approach?

Direct Answer (Verified)Reviewed by Sunny (Senior Cloud Engineer)

Correct Answer: Enable Microsoft Defender for Containers โ€” it scans ACR images and integrates with AKS admission control to block vulnerable images

Microsoft Defender for Containers provides vulnerability assessment for images in ACR (scanning on push and on schedule) and integrates with AKS through Azure Policy for Kubernetes...

๐Ÿ“‹Part of Microsoft Certified: Azure Security Engineer Associate (AZ-500) ยท Azure Certification Practice
Real Exam ScenarioContainer Security

You need to scan container images in Azure Container Registry (ACR) for known vulnerabilities before they are deployed to Azure Kubernetes Service (AKS). You also want to block vulnerable images from being deployed to AKS. What is the recommended approach?

โœ“ Correct Answer & ExplanationContainer Security

Correct Answer

Enable Microsoft Defender for Containers โ€” it scans ACR images and integrates with AKS admission control to block vulnerable images

Why This Answer Is Correct

Microsoft Defender for Containers provides vulnerability assessment for images in ACR (scanning on push and on schedule) and integrates with AKS through Azure Policy for Kubernetes (Gatekeeper) to block the deployment of images with vulnerabilities above a specified severity. This provides end-to-end container security from registry to runtime.

๐Ÿ“š What This Question Tests

This question evaluates your knowledge of Container Security โ€” a core concept tested in Microsoft Certified: Azure Security Engineer Associate (AZ-500). Understanding Container Security is essential for designing scalable, secure, and cost-effective cloud architectures. Mastery of this topic will help you answer scenario-based questions confidently on exam day.