exam questions

Exam AWS Certified DevOps Engineer - Professional DOP-C02 All Questions

View all questions & answers for the AWS Certified DevOps Engineer - Professional DOP-C02 exam

Exam AWS Certified DevOps Engineer - Professional DOP-C02 topic 1 question 250 discussion

A company uses containers for its applications. The company learns that some container images are missing required security configurations.

A DevOps engineer needs to implement a solution to create a standard base image. The solution must publish the base image weekly to the us-west-2 Region, us-east-2 Region, and eu-central-1 Region.

Which solution will meet these requirements?

  • A. Create an EC2 Image Builder pipeline that uses a container recipe to build the image. Configure the pipeline to distribute the image to an Amazon Elastic Container Registry (Amazon ECR) repository in us-west-2. Configure ECR replication from us-west-2 to us-east-2 and from us-east-2 to eu-central-1. Configure the pipeline to run weekly.
  • B. Create an AWS CodePipeline pipeline that uses an AWS CodeBuild project to build the image. Use AWS CodeDeploy to publish the image to an Amazon Elastic Container Registry (Amazon ECR) repository in us-west-2. Configure ECR replication from us-west-2 to us-east-2 and from us-east-2 to eu-central-1. Configure the pipeline to run weekly.
  • C. Create an EC2 Image Builder pipeline that uses a container recipe to build the image. Configure the pipeline to distribute the image to Amazon Elastic Container Registry (Amazon ECR) repositories in all three Regions. Configure the pipeline to run weekly.
  • D. Create an AWS CodePipeline pipeline that uses an AWS CodeBuild project to build the image. Use AWS CodeDeploy to publish the image to Amazon Elastic Container Registry (Amazon ECR) repositories in all three Regions. Configure the pipeline to run weekly.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
jamesf
Highly Voted 8 months, 4 weeks ago
Selected Answer: C
EC2 Image Builder: - This service is designed to automate the creation and distribution of container images. It supports defining container recipes and automating the build process. Direct Distribution: - EC2 Image Builder can be configured to distribute the images directly to multiple ECR repositories across different regions. This aligns with the requirement of publishing the base image to the us-west-2, us-east-2, and eu-central-1 regions. Weekly Schedule: - EC2 Image Builder can be scheduled to run on a weekly basis, meeting the requirement for regular updates.
upvoted 5 times
jamesf
8 months, 4 weeks ago
Why not following Options: Options A and B involve using ECR replication, which adds extra complexity and is not as streamlined as direct distribution through EC2 Image Builder. Option D suggests using AWS CodePipeline and AWS CodeDeploy, which is less specialized for container image building and distribution compared to EC2 Image Builder.
upvoted 1 times
...
...
noisonnoiton
Highly Voted 9 months, 2 weeks ago
Selected Answer: C
https://docs.aws.amazon.com/ko_kr/imagebuilder/latest/userguide/manage-distribution-settings.html
upvoted 5 times
...
sinanci
Most Recent 4 months, 1 week ago
Selected Answer: A
A is correct. It offers a more operationally efficient and AWS-native solution for distributing container images across multiple regions.
upvoted 1 times
...
heff_bezos
7 months ago
Selected Answer: D
EC2 Image Builder is for AMIs not container images that go to ECR... "A replication action only occurs once per image push. For example, if you configured cross-Region replication from us-west-2 to us-east-1 and from us-east-1 to us-east-2, an image pushed to us-west-2 replicates to only us-east-1, it doesn't replicate again to us-east-2. This behavior applies to both cross-Region and cross-account replication." https://docs.aws.amazon.com/AmazonECR/latest/userguide/replication.html
upvoted 1 times
heff_bezos
7 months ago
Ehh nvm it might be C
upvoted 1 times
...
...
tgv
9 months, 2 weeks ago
---> C You can distributes container image to Amazon ECR repository in multiple regions. --- https://docs.aws.amazon.com/imagebuilder/latest/userguide/cr-upd-container-distribution-settings.html
upvoted 4 times
...
siheom
9 months, 2 weeks ago
Selected Answer: A
VOTE A
upvoted 1 times
...
inturist
9 months, 2 weeks ago
A replication action only occurs once per image push. For example, if you configured cross-Region replication from us-west-2 to us-east-1 and from us-east-1 to us-east-2, an image pushed to us-west-2 replicates to only us-east-1, it doesn't replicate again to us-east-2. This behavior applies to both cross-Region and cross-account replication.
upvoted 2 times
...
getadroit
9 months, 3 weeks ago
B https://aws.amazon.com/blogs/containers/cross-region-replication-in-amazon-ecr-has-landed/
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago