nerdexam
Amazon

DVA-C02 · Question #789

A developer creates a container image that includes the necessary Python code and dependencies for a company's data analytics processing jobs. Each job takes less than 2 minutes to run. The developer

The correct answer is D. Upload the container image to an Amazon ECR repository. Create an AWS Lambda function.. AWS Lambda can run container images that are stored in Amazon ECR, provides event-based invocation, requires no server management, and automatically scales with incoming requests. Because each job completes in under 2 minutes, it fits well within Lambda’s execution limits, making

Submitted by zhang_li· Mar 5, 2026Development with AWS Services

Question

A developer creates a container image that includes the necessary Python code and dependencies for a company's data analytics processing jobs. Each job takes less than 2 minutes to run. The developer wants to use an event-based approach to run the code. The developer does not want to manage servers. The developer wants to configure the container to scale automatically based on the number of incoming requests. Which solution will meet these requirements with the LEAST amount of operational overhead?

Options

  • AUse a custom image sample in AWS CodeBuild to upload the container image. Compress the
  • BUpload the container image to an Amazon ECR repository. Launch an Amazon ECS cluster on
  • CUse a custom image sample in AWS CodeBuild to upload the container image. Launch an
  • DUpload the container image to an Amazon ECR repository. Create an AWS Lambda function.

How the community answered

(34 responses)
  • A
    9% (3)
  • B
    3% (1)
  • C
    3% (1)
  • D
    85% (29)

Explanation

AWS Lambda can run container images that are stored in Amazon ECR, provides event-based invocation, requires no server management, and automatically scales with incoming requests. Because each job completes in under 2 minutes, it fits well within Lambda’s execution limits, making a Lambda container image deployment the lowest-overhead option.

Community Discussion

No community discussion yet for this question.

Full DVA-C02 Practice