nerdexam
AmazonAmazon

DVA-C02 · Question #583

DVA-C02 Question #583: Real Exam Question with Answer & Explanation

The correct answer is A: Create an Amazon ECR repository in the same AWS Region as the Lambda function. Package. Converting a Lambda function to use a container image involves packaging the function code into a container image, storing the image in Amazon Elastic Container Registry (ECR), and updating the function to use the ECR repository URI.

Submitted by the_admin· Mar 5, 2026Deployment

Question

A developer previously deployed an AWS Lambda function as a .zip package. The developer needs to deploy the Lambda function as a container. What steps should the developer take to accomplish this?

Options

  • ACreate an Amazon ECR repository in the same AWS Region as the Lambda function. Package
  • BCreate an AWS SAM template that defines the Lambda function and its resources as code.
  • CCreate an AWS CloudFormation template that defines the Lambda function and its resources as
  • DCreate an Amazon ECR repository in the same AWS Region as the Lambda function. Build the

Explanation

Converting a Lambda function to use a container image involves packaging the function code into a container image, storing the image in Amazon Elastic Container Registry (ECR), and updating the function to use the ECR repository URI.

Community Discussion

No community discussion yet for this question.

Full DVA-C02 PracticeBrowse All DVA-C02 Questions