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 154 discussion

A company is using AWS Organizations to create separate AWS accounts for each of its departments. The company needs to automate the following tasks:

• Update the Linux AMIs with new patches periodically and generate a golden image
• Install a new version of Chef agents in the golden image, if available
• Provide the newly generated AMIs to the department's accounts

Which solution meets these requirements with the LEAST management overhead?

  • A. Write a script to launch an Amazon EC2 instance from the previous golden image. Apply the patch updates. Install the new version of the Chef agent, generate a new golden image, and then modify the AMI permissions to share only the new image with the department's accounts.
  • B. Use Amazon EC2 Image Builder to create an image pipeline that consists of the base Linux AMI and components to install the Chef agent. Use AWS Resource Access Manager to share EC2 Image Builder images with the department's accounts.
  • C. Use an AWS Systems Manager Automation runbook to update the Linux AMI by using the previous image. Provide the URL for the script that will update the Chef agent. Use AWS Organizations to replace the previous golden image in the department's accounts.
  • D. Use Amazon EC2 Image Builder to create an image pipeline that consists of the base Linux AMI and components to install the Chef agent. Create a parameter in AWS Systems Manager Parameter Store to store the new AMI ID that can be referenced by the department's accounts.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

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
thanhnv142
Highly Voted 8 months, 1 week ago
Selected Answer: B
B is correct: <generate a golden image> means we need EC2 image builder for an automated pipeline to build a golden image A and C: no mention of EC2 image builder D: This option utilizes SSM to share the image, which is not correct. We need AWS resource sharing to share resources cross-account
upvoted 5 times
...
d262e67
Highly Voted 9 months, 3 weeks ago
Selected Answer: B
Builder Image to streamline the AMI baking process and use RAM to easily share the AMI among the whole organization or select accounts. https://docs.aws.amazon.com/imagebuilder/latest/userguide/manage-shared-resources.html#manage-shared-resources-using
upvoted 5 times
...
Srikantha
Most Recent 2 weeks, 6 days ago
Selected Answer: D
it automates the AMI creation process and provides a low-maintenance way for departments to access the latest AMI ID.
upvoted 2 times
...
c3518fc
5 months, 4 weeks ago
Selected Answer: B
By leveraging EC2 Image Builder and RAM, solution B provides a fully automated and centralized approach to creating, updating, and sharing golden images with the department's accounts, minimizing manual effort and management overhead.
upvoted 4 times
...
dkp
6 months, 1 week ago
Selected Answer: B
ill go with B
upvoted 3 times
...
DanShone
7 months ago
Selected Answer: B
B - The function of Amazon EC2 Image Builder is to build you golden AMIs
upvoted 3 times
...
denccc
9 months ago
This should be B
upvoted 2 times
...
a54b16f
9 months, 1 week ago
Selected Answer: B
Only B provided solution for sharing AMI image
upvoted 5 times
...
davdan99
9 months, 1 week ago
Selected Answer: B
Going for B
upvoted 4 times
...
csG13
9 months, 3 weeks ago
Selected Answer: C
Least management overhead is provided by C
upvoted 2 times
csG13
9 months, 3 weeks ago
Reading it again, B is a better option
upvoted 2 times
...
...
PrasannaBalaji
9 months, 3 weeks ago
Selected Answer: C
It looks like C is the right one. https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/sharingamis-explicit.html
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