Question 1,274 of 1,546
Deployment, Provisioning, and AutomationmediumMultiple ChoiceObjective-mapped

SOA-C02 Deployment, Provisioning, and Automation Practice Question

This SOA-C02 practice question tests your understanding of deployment, provisioning, and automation. 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. A key principle to apply: aWS Secrets Manager securely stores and manages sensitive credentials.. 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 uses AWS CloudFormation to deploy a three-tier web application. The template includes an Amazon RDS DB instance. The SysOps administrator needs to ensure that the database password is not exposed in the template or in the stack outputs. The password should be stored securely and rotated automatically every 90 days. Which solution should the administrator 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

Use AWS Secrets Manager to store the password and reference it using the dynamic reference {{resolve:secretsmanager:secretId:secretString:password}} in the CloudFormation template. Enable automatic rotation.

Option C is correct because AWS Secrets Manager is designed to securely store secrets like database passwords, supports automatic rotation (including a 90-day schedule), and can be referenced in CloudFormation templates using the dynamic reference {{resolve:secretsmanager:secretId:secretString:password}}. This ensures the password is never exposed in the template or stack outputs, and rotation is handled automatically without manual intervention.

Key principle: AWS Secrets Manager securely stores and manages sensitive credentials.

Answer analysis

Option-by-option breakdown

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

  • Store the password as a plaintext parameter in the CloudFormation template and mark it as NoEcho.

    Why it's wrong here

    NoEcho hides the password from outputs but does not securely store it; the password is still in the template and not rotated.

  • Use AWS Systems Manager Parameter Store to store the password as a SecureString and reference it using the dynamic reference {{resolve:ssm-secure:password}} in the template.

    Why it's wrong here

    Parameter Store SecureString can store the password securely, but it does not support automatic rotation without custom Lambda functions.

  • Use AWS Secrets Manager to store the password and reference it using the dynamic reference {{resolve:secretsmanager:secretId:secretString:password}} in the CloudFormation template. Enable automatic rotation.

    Why this is correct

    Secrets Manager provides secure storage with automatic rotation, and CloudFormation can dynamically reference the secret.

    Related concept

    AWS Secrets Manager securely stores and manages sensitive credentials.

  • Hardcode the password in a userdata script that is passed to the EC2 instances.

    Why it's wrong here

    Hardcoding passwords is insecure and violates best practices.

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 (which can store SecureStrings but lacks native rotation) with AWS Secrets Manager (which is purpose-built for secrets with automatic rotation), leading them to choose Option B instead of C.

Trap categories for this question

  • Command / output trap

    NoEcho hides the password from outputs but does not securely store it; the password is still in the template and not rotated.

Detailed technical explanation

How to think about this question

Under the hood, the CloudFormation dynamic reference {{resolve:secretsmanager:secretId:secretString:password}} is resolved at stack creation or update time by making an API call to Secrets Manager, ensuring the secret value is never stored in the template or state file. Secrets Manager uses AWS KMS to encrypt the secret at rest, and automatic rotation can be configured with a Lambda function that updates both the secret and the RDS master password, supporting a 90-day rotation schedule without any manual steps.

KKey Concepts to Remember

  • AWS Secrets Manager securely stores and manages sensitive credentials.
  • Secrets Manager offers automatic rotation for database credentials, including Amazon RDS.
  • CloudFormation can dynamically reference Secrets Manager secrets using `{{resolve:secretsmanager:...}}`.
  • Secrets Manager ensures passwords are not exposed in CloudFormation templates or stack outputs.

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

AWS Secrets Manager securely stores and manages sensitive credentials.

Real-world example

How this comes up in practice

A media company stores terabytes of video archives that are accessed once a year for audit purposes. Moving these objects to a cold storage tier (Azure Archive, S3 Glacier, or Google Nearline) costs a fraction of hot storage. Questions like this test whether you understand storage tiers, access frequency tradeoffs, and retrieval latency requirements.

What to study next

Got this wrong? Here's your next step.

Review aWS Secrets Manager securely stores and manages sensitive credentials., then practise related SOA-C02 questions on the same topic to reinforce the concept.

Related practice questions

Related SOA-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 SOA-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 SOA-C02 question test?

Deployment, Provisioning, and Automation — This question tests Deployment, Provisioning, and Automation — AWS Secrets Manager securely stores and manages sensitive credentials..

What is the correct answer to this question?

The correct answer is: Use AWS Secrets Manager to store the password and reference it using the dynamic reference {{resolve:secretsmanager:secretId:secretString:password}} in the CloudFormation template. Enable automatic rotation. — Option C is correct because AWS Secrets Manager is designed to securely store secrets like database passwords, supports automatic rotation (including a 90-day schedule), and can be referenced in CloudFormation templates using the dynamic reference {{resolve:secretsmanager:secretId:secretString:password}}. This ensures the password is never exposed in the template or stack outputs, and rotation is handled automatically without manual intervention.

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

Review aWS Secrets Manager securely stores and manages sensitive credentials., then practise related SOA-C02 questions on the same topic to reinforce the concept.

What is the key concept behind this question?

AWS Secrets Manager securely stores and manages sensitive credentials.

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

Keep practising

More SOA-C02 practice questions

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 SOA-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 SOA-C02 exam.