An education company has a Docker-based application running on multiple Amazon EC2 instances in an Amazon ECS cluster. When deploying a new version of the application, the Developer, pushes a new image to a private Docker container registry, and then stops and starts all tasks to ensure that they all have the latest version of the application. The Developer discovers that new tasks are occasionally running with an old image. How can this issue be prevented?
A) After pushing the new image, restart ECS Agent, and then start the tasks.
B) Use "latest" for the Docker image tag in the task definition.
C) Update the digest on the task definition when pushing the new image.
D) Use Amazon ECR for a Docker container registry.
Correct Answer:
Verified
Q189: A company is implementing an Amazon ECS
Q190: To run an application, a DevOps Engineer
Q191: A company wants to use Amazon ECS
Q192: A DevOps Engineer at a startup cloud-based
Q193: A company is creating a software solution
Q195: A financial institution provides security-hardened AMIs of
Q196: A mobile application running on eight Amazon
Q197: A DevOps Engineer is working on a
Q198: The resources for a business-critical, three-tier web
Q199: A media customer has several thousand amazon
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents