Infrastructure Security

A team packages Lambda functions as container images stored in private Amazon ECR repositories. It needs continuous detection of newly disclosed vulnerabilities in image operating-system and language packages. Which configuration BEST meets this requirement?

Show the answer

Correct answerB. Enable Amazon ECR enhanced continuous scanning for the repositories

AWhy not this: Inspector Lambda scanning supports eligible ZIP-based functions, not container-image functions.

BWhy this is right: Enhanced continuous scanning uses Inspector to assess eligible images for operating-system and language-package vulnerabilities.

CWhy not this: GuardDuty Lambda Protection analyzes network activity for threats rather than image package vulnerabilities.

DWhy not this: Basic scanning covers operating-system vulnerabilities and scan on push does not continuously reassess new disclosures.

ECR enhanced scanning integrates with Amazon Inspector to continuously assess eligible images for operating-system and language-package vulnerabilities. Inspector Lambda scanning does not support functions packaged as container images.