Question 421:
Your team is developing a new Lambda function for a microservice component. You need to package and deploy the Lambda function as a container image. The container image should be built based on the python:buster image with other dependencies and libraries installed. In order to use the container image properly for the Lambda function, which of the following actions is required?
Answer options:
A.In the Dockerfile, assume the IAM role through the “aws sts assume-role” CLI for the Lambda function during runtime. B.Install the CloudWatch Log agent in the container image for the Lambda function to forward its logs to a CloudWatch Log group. C.Install the Amazon Elastic Container Registry (Amazon ECR) agent for the Lambda function to interact with ECR to fetch the Docker image. D.Install the runtime interface client in the container image to make it compatible with Lambda.