AWS Certified Developer – Associate (DVA-C02) — Question 292
A company is preparing to migrate an application to the company's first AWS environment. Before this migration, a developer is creating a proof-of-concept application to validate a model for building and deploying container-based applications on AWS.
Which combination of steps should the developer take to deploy the containerized proof-of-concept application with the LEAST operational effort? (Choose two.)
Answer options
- A. Package the application into a .zip file by using a command line tool. Upload the package to Amazon S3.
- B. Package the application into a container image by using the Docker CLI. Upload the image to Amazon Elastic Container Registry (Amazon ECR).
- C. Deploy the application to an Amazon EC2 instance by using AWS CodeDeploy.
- D. Deploy the application to Amazon Elastic Kubernetes Service (Amazon EKS) on AWS Fargate.
- E. Deploy the application to Amazon Elastic Container Service (Amazon ECS) on AWS Fargate.
Correct answer: B, E
Explanation
Packaging the application as a container image and uploading it to Amazon ECR provides a secure, managed registry for storing container images with minimal setup. Deploying to Amazon ECS with AWS Fargate allows the developer to run containers without managing underlying EC2 instances, minimizing operational overhead. In contrast, Amazon EKS requires complex Kubernetes management, and deploying via zip files or raw EC2 instances does not leverage native container orchestration.