- A
Store the password as a plaintext parameter in the CloudFormation template and mark it as NoEcho.
Why wrong: NoEcho hides the password from outputs but does not securely store it; the password is still in the template and not rotated.
- B
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 wrong: Parameter Store SecureString can store the password securely, but it does not support automatic rotation without custom Lambda functions.
- C
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.
Secrets Manager provides secure storage with automatic rotation, and CloudFormation can dynamically reference the secret.
- D
Hardcode the password in a userdata script that is passed to the EC2 instances.
Why wrong: Hardcoding passwords is insecure and violates best practices.
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?
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.
- →
Deployment, Provisioning, and Automation — study guide chapter
Learn the concepts, then practise the questions
- →
Deployment, Provisioning, and Automation practice questions
Targeted practice on this topic area only
- →
All SOA-C02 questions
1,546 questions across all exam domains
- →
AWS Certified SysOps Administrator Associate SOA-C02 study guide
Full concept coverage aligned to exam objectives
- →
SOA-C02 practice test guide
How to use practice tests most effectively before exam day
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.
Monitoring, Logging, and Remediation practice questions
Practise SOA-C02 questions linked to Monitoring, Logging, and Remediation.
Reliability and Business Continuity practice questions
Practise SOA-C02 questions linked to Reliability and Business Continuity.
Deployment, Provisioning, and Automation practice questions
Practise SOA-C02 questions linked to Deployment, Provisioning, and Automation.
Security and Compliance practice questions
Practise SOA-C02 questions linked to Security and Compliance.
Networking and Content Delivery practice questions
Practise SOA-C02 questions linked to Networking and Content Delivery.
Cost and Performance Optimization practice questions
Practise SOA-C02 questions linked to Cost and Performance Optimization.
SOA-C02 fundamentals practice questions
Practise SOA-C02 questions linked to SOA-C02 fundamentals.
SOA-C02 scenario practice questions
Practise SOA-C02 questions linked to SOA-C02 scenario.
SOA-C02 troubleshooting practice questions
Practise SOA-C02 questions linked to SOA-C02 troubleshooting.
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 →
Keep practising
More SOA-C02 practice questions
- A company uses an Amazon DynamoDB table with on-demand capacity mode. The table handles a workload with a steady baselin…
- A company uses Amazon CloudWatch Logs to store application logs. The SysOps administrator needs to count the occurrences…
- A SysOps administrator needs to monitor the CPU utilization of an Amazon EC2 instance and send an alert when it exceeds…
- A SysOps administrator needs to monitor the CPU utilization of an Amazon EC2 instance fleet and send an alert when the a…
- A company's security policy requires that all Amazon S3 buckets must have server-side encryption enabled. The SysOps adm…
- A SysOps administrator uses AWS CloudFormation to deploy a stack that includes an Amazon EC2 instance. The administrator…
Last reviewed: Jun 11, 2026
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.
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.
Sign in to join the discussion.