Course menuSAA-C03

Exams / SAA-C03 / Secrets management / Question 1

SAA-C03 practice question: Secrets management (1 of 2)

Design Secure Architectures A free question from our original SAA-C03 practice exam. Try it, then open the answer to see why each option is right or wrong.

Last verified against current AWS documentation ·How we write our questions

A company's order service runs on Amazon EC2 and connects to an Amazon RDS for MySQL database as a dedicated application user. The password is hard-coded in the application.

An audit now requires the password to be stored encrypted, changed automatically every 30 days, and never left out of date in the application after a change.

The team wants to write as little custom code as possible.

Which solution meets these requirements?

Choose one answer.

  1. A. Store the password as a Parameter Store SecureString, and have a scheduled Lambda function change it in the database every 30 days.
  2. B. Store the password as an advanced-tier SecureString parameter in Parameter Store, with a parameter policy that sets an expiration after 30 days.
  3. C. Store the password in Secrets Manager, rotate it every 30 days with the AWS-provided MySQL rotation function, and read the secret when connecting.
  4. D. Store the password in Secrets Manager with 30-day rotation turned on, and have the release pipeline copy the value into the application's config file.
Show the answer and explanation

Answer: C

Explanation

Secrets Manager is built for credentials that must rotate. For an RDS for MySQL user it offers AWS-provided rotation functions (single user or alternating users), so a 30-day schedule needs no custom code. The other half of the requirement is on the application side: it must read the secret at run time, not copy it into configuration, or it falls out of date after the first rotation.

Study

Keep practicing

Answer questions with a score at the end, or practice just this topic with the explanation after each one. No sign-up needed.

Want more on Secrets management? The 5 full-length practice sets have 10 more Secrets management questions, 325 in all, none of them in the free exam. One payment of $14.99, no subscription. See the practice sets