DVA-C02 · Question #57
DVA-C02 Question #57: Real Exam Question with Answer & Explanation
Sign in or unlock DVA-C02 to reveal the answer and full explanation for question #57. The question stem and answer options stay visible for context.
Question
A developer needs to deploy an application to AWS Elastic Beanstalk for a company. The application consists of a single Docker image. The company's automated continuous integration and continuous delivery (CI/CD) process builds the Docker image and pushes the image to a public Docker registry. How should the developer deploy the application to Elastic Beanstalk?
Options
- ACreate a Dockerfile. Configure Elastic Beanstalk to build the application as a Docker image.
- BCreate a docker-compose.yml file. Use the Elastic Beanstalk CLI to deploy the application.
- CCreate a .zip file that contains the Docker image. Upload the .zip file to Elastic Beanstalk.
- DCreate a Dockerfile. Run the Elastic Beanstalk CLI eb local run command in the same directory.
Unlock DVA-C02 to see the answer
You've previewed enough free DVA-C02 questions. Unlock DVA-C02 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.