A container pipeline must block any image with a critical vulnerability from being promoted to production, including vulnerabilities in application language packages, not only the operating system. Which approach fits?
- A. Tag immutability and lifecycle policies enabled on the Amazon ECR repository
- B. Monthly manual reviews of the Dockerfiles and base images by the security team
- C. Amazon GuardDuty Runtime Monitoring on the production EKS cluster after each deployment
- D. Amazon Inspector enhanced scanning on ECR, with a stage that fails on critical findings✓ Correct
Explanation
Inspector enhanced scanning for ECR detects vulnerabilities in operating system and programming language packages, and the findings can gate the pipeline before promotion. GuardDuty runtime monitoring detects threats in running workloads, after deployment. Manual reviews are not reliable. Tag immutability prevents overwriting tags but does not scan.