Multiple Choice
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
Correct Answer:
Verified
Q336: A company wants to adopt a methodology
Q337: A DevOps Engineer is responsible for the
Q338: You are building an AWS CloudFormation template
Q339: A DevOps engineer has automated a web
Q340: You have been asked to handle a
Q342: A company has migrated its container-based applications
Q343: You have been asked to de-risk deployments
Q344: For AWS CloudFormation, which stack state refuses
Q345: A company is using an AWS CodeBuild
Q346: A DevOps engineer is designing a multi-Region