Amazon Inspector identifies a vulnerable application library in an ECS container image and in a Lambda ZIP deployment package. Which actions remediate the deployed workloads? (Choose two.)
Choose 2 answers
Show the answer
Correct answersB. Update the container dependency, rebuild the image, and deploy a new ECS task definition revision.D. Update the Lambda dependency, rebuild the ZIP package, and deploy the updated function code.
AWhy not this: Patch Manager does not manage Lambda execution environments or update libraries bundled in function deployment packages.
BWhy this is right: Rebuilding with the fixed dependency and deploying the new image replaces the vulnerable library in the ECS workload.
CWhy not this: Continuous scanning detects findings but does not update libraries in images or running tasks.
DWhy this is right: Updating and redeploying the ZIP package replaces the vulnerable library bundled with the Lambda function.
Application dependencies must be updated in their deployment artifacts and redeployed: a rebuilt container image for ECS and an updated ZIP package for Lambda. Continuous scanning detects vulnerabilities but does not replace vulnerable code.