AWS Certified Security – Specialty (SCS-C02) — Question 49

A team is using AWS Secrets Manager to store an application database password. Only a limited number of IAM principals within the account can have access to the secret. The principals who require access to the secret change frequently. A security engineer must create a solution that maximizes flexibility and scalability.
Which solution will meet these requirements?

Answer options

Correct answer: C

Explanation

Option C is correct because using a tag-based approach allows for dynamic management of access based on the tags assigned to both the secret and the IAM principals, thereby enhancing flexibility. Options A and B are not as scalable because they require manual updates to roles or endpoint policies whenever access needs change. Option D, while providing control, is cumbersome as it involves adding and removing IAM principals from a group, which is less efficient than using tags.