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

A company requires its developers to tag all Amazon Elastic Block Store (Amazon EBS) volumes in an account to indicate a desired backup frequency. This requirement Includes EBS volumes that do not require backups. The company uses custom tags named Backup_Frequency that have values of none, dally, or weekly that correspond to the desired backup frequency. An audit finds that developers are occasionally not tagging the EBS volumes.
A DevOps engineer needs to ensure that all EBS volumes always have the Backup_Frequency tag so that the company can perform backups at least weekly unless a different value is specified.
Which solution will meet these requirements?

Answer options

Correct answer: B

Explanation

Option B is correct because it uses AWS Config with a managed rule specifically for EC2::Volume resources, ensuring compliance by tagging EBS volumes that lack the Backup_Frequency tag. Option A is incorrect as it does not use a managed rule and applies to all EC2 resources rather than just EBS volumes. Options C and D utilize AWS CloudTrail and EventBridge but do not ensure tagging compliance for all volumes directly as AWS Config does.