Amazon Web Services AWS Certified Developer - Associate DVA-C02 Question # 25 Topic 3 Discussion

Amazon Web Services AWS Certified Developer - Associate DVA-C02 Question # 25 Topic 3 Discussion

DVA-C02 Exam Topic 3 Question 25 Discussion:
Question #: 25
Topic #: 3

A developer previously deployed an AWS Lambda function as a .zip package. The developer needs to deploy the Lambda function as a container.


A.

Create an Amazon ECR repository in the same AWS Region as the Lambda function. Package the Lambda function into a container image. Build the image and upload it to the Amazon ECR repository. Update the existing Lambda function configuration to specify the repository URI and container image tag.


B.

Create an AWS SAM template that defines the Lambda function and its resources as code. Include a container image in the template, and store the container image in an Amazon S3 bucket. Deploy the AWS SAM template. Specify the S3 bucket URI.


C.

Create an AWS CloudFormation template that defines the Lambda function and its resources as code. Include a container image in the template, and store the image in an Amazon S3 bucket. Deploy the CloudFormation template. Specify the S3 bucket URI.


D.

Create an Amazon ECR repository in the same AWS Region as the Lambda function. Build the image and upload it to the Amazon ECR repository. Update the existing Lambda function to use the new image by specifying the repository URI.


Get Premium DVA-C02 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.