Question 822 of 1,546
Deployment, Provisioning, and AutomationeasyMultiple ChoiceObjective-mapped

Quick Answer

The correct answer is to use AWS Systems Manager Parameter Store secure strings with dynamic references in the CloudFormation template. This approach leverages the `resolve:ssm-secure` syntax to pull sensitive data like database passwords directly from Parameter Store at deployment time, ensuring the values never appear in plaintext within the template, stack metadata, or AWS Management Console. On the AWS Certified SysOps Administrator Associate SOA-C02 exam, this question tests your understanding of how to separate configuration from code while maintaining security—a common scenario in production environments. A frequent trap is confusing Parameter Store with Secrets Manager or attempting to use template parameters with `NoEcho`, but dynamic references are the only method that keeps secrets entirely out of the template file. Memory tip: think “resolve to secure” — whenever you see sensitive data, resolve it from SSM rather than embedding it.

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: sSM Parameter Store secure strings encrypt values using KMS.. 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 SysOps administrator uses AWS CloudFormation to deploy infrastructure. The administrator needs to store and reference sensitive data such as database passwords in the stack without hardcoding them in the template. Which CloudFormation feature should be used?

Question 1easymultiple 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 Systems Manager Parameter Store secure strings and dynamic references in the CloudFormation template

Option A is correct because AWS CloudFormation supports dynamic references (using the `resolve:ssm` or `resolve:ssm-secure` syntax) that allow you to reference Systems Manager Parameter Store secure strings directly in the template. This keeps sensitive data like database passwords out of the template and the stack's metadata, ensuring they are not exposed in plaintext during stack operations or in the console.

Key principle: SSM Parameter Store secure strings encrypt values using KMS.

Answer analysis

Option-by-option breakdown

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

  • Use AWS Systems Manager Parameter Store secure strings and dynamic references in the CloudFormation template

    Why this is correct

    CloudFormation dynamic references (e.g., '{{resolve:ssm-secure:MyParameter}}') securely retrieve secure string parameters at stack operation time.

    Related concept

    SSM Parameter Store secure strings encrypt values using KMS.

  • Use AWS Secrets Manager and reference the secret using a static reference in the template

    Why it's wrong here

    Secrets Manager can be used, but CloudFormation dynamic references support both Parameter Store and Secrets Manager. The answer is partially correct but 'static reference' is incorrect; dynamic references are required.

  • Define plaintext parameters in the template and mark them as NoEcho

    Why it's wrong here

    NoEcho hides the value in logs but the parameter value still exists in the template definition, which is not secure.

  • Store the secrets in an encrypted S3 object and reference it via a URL in the template

    Why it's wrong here

    This approach is possible but adds complexity and requires managing S3 signatures. CloudFormation dynamic references are the recommended and simpler method.

Common exam traps

Common exam trap: answer the scenario, not the keyword

The trap here is that candidates confuse `NoEcho` (which only hides display output) with actual secure storage, or they assume static references work with Secrets Manager when only dynamic references are supported for both Parameter Store secure strings and Secrets Manager secrets.

Detailed technical explanation

How to think about this question

Dynamic references in CloudFormation use the `resolve:` prefix to fetch values from AWS Systems Manager Parameter Store or AWS Secrets Manager at stack creation or update time. The resolved value is never stored in the template or the stack's change set; it is injected directly into the resource configuration, ensuring the secret remains encrypted at rest and in transit. A common real-world scenario is using `resolve:ssm-secure:/myapp/dbpassword` in the `MasterPassword` property of an RDS instance, which avoids hardcoding and allows rotation without template changes.

KKey Concepts to Remember

  • SSM Parameter Store secure strings encrypt values using KMS.
  • CloudFormation dynamic references retrieve secure strings at runtime.
  • Sensitive data is never hardcoded in the CloudFormation template.
  • Dynamic references prevent secrets from appearing in CloudFormation logs.

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

SSM Parameter Store secure strings encrypt values using KMS.

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 sSM Parameter Store secure strings encrypt values using KMS., 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 — SSM Parameter Store secure strings encrypt values using KMS..

What is the correct answer to this question?

The correct answer is: Use AWS Systems Manager Parameter Store secure strings and dynamic references in the CloudFormation template — Option A is correct because AWS CloudFormation supports dynamic references (using the `resolve:ssm` or `resolve:ssm-secure` syntax) that allow you to reference Systems Manager Parameter Store secure strings directly in the template. This keeps sensitive data like database passwords out of the template and the stack's metadata, ensuring they are not exposed in plaintext during stack operations or in the console.

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

Review sSM Parameter Store secure strings encrypt values using KMS., then practise related SOA-C02 questions on the same topic to reinforce the concept.

What is the key concept behind this question?

SSM Parameter Store secure strings encrypt values using KMS.

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 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.