Question 756 of 1,024
Security and CompliancemediumMultiple ChoiceObjective-mapped

Quick Answer

The answer is AWS Secrets Manager because it is the only AWS service that provides built-in automatic rotation for secrets like RDS database passwords without requiring custom code or Lambda functions. While AWS Systems Manager Parameter Store can securely store secrets and serve them via API, it lacks native rotation capabilities, meaning you would have to build and manage your own rotation logic. On the CLF-C02 exam, this distinction tests your understanding of managed versus unmanaged security services—a common trap is choosing Parameter Store because it is cheaper, but the question explicitly requires automatic rotation. Remember the mnemonic: “Secrets Manager rotates; Parameter Store stores.” If the exam scenario mentions automatic rotation, especially for RDS credentials, always select Secrets Manager.

CLF-C02 Security and Compliance Practice Question

This CLF-C02 practice question tests your understanding of security and compliance. Match the stated requirement to the specific cloud service, access model, or configuration option — many options are valid in isolation but not for this scenario. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.

A company stores database passwords for their RDS instances and API keys for third-party services in their application code, which is a security risk. They want a managed service that securely stores these secrets, makes them available to applications via API, and automatically rotates database passwords. Which AWS service should they use?

Question 1mediummultiple choice
Full question →

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

AWS Secrets Manager

AWS Secrets Manager is the correct choice because it is a fully managed service specifically designed to securely store, retrieve, and automatically rotate secrets such as database passwords and API keys. It provides built-in integration with RDS for automatic rotation of database credentials without custom code, and it serves secrets via a secure API call, eliminating the need to hardcode secrets in application code.

Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • AWS KMS

    Why it's wrong here

    KMS manages encryption keys used to encrypt data. While Secrets Manager uses KMS to encrypt secrets, KMS itself does not store application secrets or rotate database passwords.

  • AWS Systems Manager Parameter Store

    Why it's wrong here

    Parameter Store can store configuration values and secrets. However, Secrets Manager provides native automatic rotation for RDS passwords and is the purpose-built service for secrets management.

  • AWS Secrets Manager

    Why this is correct

    Secrets Manager stores secrets securely, provides them to applications via API (eliminating hardcoded credentials), and integrates with RDS to automatically rotate database passwords on a configurable schedule.

    Related concept

    Read the scenario before looking for a memorised answer.

  • Amazon Cognito

    Why it's wrong here

    Cognito manages user authentication for applications (user pools and identity pools). It is not a service for storing and rotating database credentials.

Common exam traps

Common exam trap: answer the scenario, not the keyword

The trap here is that candidates often confuse AWS Systems Manager Parameter Store with Secrets Manager because both can store secrets, but Parameter Store lacks native automatic rotation for RDS passwords, which is the key requirement in the question.

Detailed technical explanation

How to think about this question

Secrets Manager uses an internal AWS Lambda function to perform automatic rotation, which can be configured with a rotation schedule (e.g., every 30 days). When a secret is rotated, the service updates the RDS instance with a new password and invalidates the old one, ensuring zero-downtime rotation if the application uses the provided client-side caching library. Under the hood, Secrets Manager encrypts secrets at rest using AWS KMS keys and transmits them over TLS, and it integrates with CloudTrail for auditing all secret access and rotation events.

KKey Concepts to Remember

  • Read the scenario before looking for a memorised answer.
  • Find the constraint that changes the correct option.
  • Eliminate answers that are true in general but not in this case.

TExam Day Tips

  • Watch for words such as best, first, most likely and least administrative effort.
  • Review why wrong options are wrong, not only why the correct option is correct.

Key takeaway

Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Real-world example

How this comes up in practice

A cloud solutions architect for a retail company is evaluating services for a new workload. The correct answer here reflects best practice for the specific scenario described — not a general cloud recommendation. Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option. Cloud exam questions reward reading the constraint carefully: the same technology can be right or wrong depending on the use case.

What to study next

Got this wrong? Here's your next step.

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

Related practice questions

Related CLF-C02 practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

Practice this exam

Start a free CLF-C02 practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this CLF-C02 question test?

Security and Compliance — This question tests Security and Compliance — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: AWS Secrets Manager — AWS Secrets Manager is the correct choice because it is a fully managed service specifically designed to securely store, retrieve, and automatically rotate secrets such as database passwords and API keys. It provides built-in integration with RDS for automatic rotation of database credentials without custom code, and it serves secrets via a secure API call, eliminating the need to hardcode secrets in application code.

What should I do if I get this CLF-C02 question wrong?

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

What is the key concept behind this question?

Read the scenario before looking for a memorised answer.

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Last reviewed: Jun 11, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

This CLF-C02 practice question is part of Courseiva's free Amazon Web Services certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the CLF-C02 exam.