AWS Certified DevOps Engineer – Professional (DOP-C02) — Question 134

A company manages 500 AWS accounts that are in an organization in AWS Organizations. The company discovers many unattached Amazon Elastic Block Store (Amazon EBS) volumes in all the accounts. The company wants to automatically tag the unattached EBS volumes for investigation.

A DevOps engineer needs to deploy an AWS Lambda function to all the AWS accounts. The Lambda function must run every 30 minutes to tag all the EBS volumes that have been unattached for a period of 7 days or more.

Which solution will meet these requirements in the MOST operationally efficient manner?

Answer options

Correct answer: C

Explanation

Option C is the most operationally efficient solution as it utilizes CloudFormation StackSets for deployment across multiple accounts, which simplifies management. Options A and B involve additional complexities such as setting up event buses or custom scripts, while Option D unnecessarily includes AWS CodeDeploy and additional policies that are not relevant to the task of tagging EBS volumes.