To improve the security of an Amazon ECR (Elastic Container Registry), an enterprise wants to ensure that any container image with a 'Critical' vulnerability is automatically prevented from being pulled or deployed to their EKS clusters. Which tool combination handles this enforcement?

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

Correct Answer: Amazon Inspector (ECR Scanning) and a custom Lambda/Admission Controller in EKS

Inspector performs the scan. Enforce the scan result by having a Kubernetes admission controller check for the presence of vulnerabilities before allowing a pod to start....

📋Part of AWS Certified Solutions Architect – Professional (SAP-C02) · AWS Certification Practice
Real Exam ScenarioAWS IAM

To improve the security of an Amazon ECR (Elastic Container Registry), an enterprise wants to ensure that any container image with a 'Critical' vulnerability is automatically prevented from being pulled or deployed to their EKS clusters. Which tool combination handles this enforcement?

✓ Correct Answer & ExplanationAWS IAM

Correct Answer

Amazon Inspector (ECR Scanning) and a custom Lambda/Admission Controller in EKS

Why This Answer Is Correct

Inspector performs the scan. Enforce the scan result by having a Kubernetes admission controller check for the presence of vulnerabilities before allowing a pod to start.

📚 What This Question Tests

This question evaluates your knowledge of AWS IAM — a core concept tested in AWS Certified Solutions Architect – Professional (SAP-C02). Understanding AWS IAM 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.