DVA-C02 · Question #579
A developer created a Node.js-based AWS Lambda function by using a container image of an AWS OS-only base image. There is a new security patch for Node.js that must be patched to the new Lambda functi
The correct answer is D. Rebuild the Lambda container code with the latest Node.js patch version. Publish a new version. When using a container-based AWS Lambda function, you are responsible for updating the base image for runtime patches. Rebuilding the container with the latest Node.js patch version ensures the function is updated with the required security patches. Publishing a new version of th
Question
A developer created a Node.js-based AWS Lambda function by using a container image of an AWS OS-only base image. There is a new security patch for Node.js that must be patched to the new Lambda function. Which solution will meet this requirement?
Options
- ASet the runtime update mode of the Lambda function to Auto.
- BPatch the runtime version by redeploying the same version of the Lambda function.
- CRebuild the Lambda container code with the latest version of the AWS OS base image. Publish a
- DRebuild the Lambda container code with the latest Node.js patch version. Publish a new version
How the community answered
(17 responses)- A12% (2)
- C6% (1)
- D82% (14)
Explanation
When using a container-based AWS Lambda function, you are responsible for updating the base image for runtime patches. Rebuilding the container with the latest Node.js patch version ensures the function is updated with the required security patches. Publishing a new version of the Lambda function makes the updated image available for use.
Community Discussion
No community discussion yet for this question.