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

Quick Answer

The answer is CloudFormation Parameters. Parameters are the correct feature because they act as input variables that allow you to pass environment-specific values—such as the EC2 instance type and RDS DB instance class—into your template at stack creation or update time, without ever editing the template itself. This directly enables you to reuse CloudFormation templates across environments with parameters, simply by supplying different parameter values for development, test, and production stacks. On the AWS Certified SysOps Administrator Associate SOA-C02 exam, this concept often appears in scenario-based questions where a candidate must distinguish between Parameters (for variable inputs), Mappings (for static lookup tables), and Conditions (for resource creation logic). A common trap is confusing Parameters with Mappings—remember that Parameters are for user-supplied values that change per environment, while Mappings are for pre-defined, hardcoded lookups. Memory tip: think of Parameters as the “fill-in-the-blank” slots that make your template reusable without rewriting 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. 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 SysOps administrator uses AWS CloudFormation to deploy infrastructure. The administrator has a template that creates an Amazon EC2 instance and an Amazon RDS DB instance. The administrator needs to reuse the same template for development, test, and production environments, where the only differences are the EC2 instance type and the RDS DB instance class. Which CloudFormation feature should be used to define these environment-specific values?

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

Parameters

Parameters are the correct CloudFormation feature to define environment-specific values because they allow you to input custom values (e.g., EC2 instance type and RDS DB instance class) at stack creation or update time without modifying the template. This enables reuse of the same template across development, test, and production environments by simply passing different parameter values for each environment.

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.

  • Mappings

    Why it's wrong here

    Mappings are static; they are good for pre-defined values but require editing the template for new values, which is less flexible than parameters.

  • Conditions

    Why it's wrong here

    Conditions allow conditional resource creation but do not provide a way to input different values for instance type or DB class.

  • Parameters

    Why this is correct

    Parameters accept input values at stack creation, making it easy to reuse the template across environments.

    Related concept

    Read the scenario before looking for a memorised answer.

  • Outputs

    Why it's wrong here

    Outputs are used to retrieve information about the stack after creation; they cannot be used to pass values into the stack.

Common exam traps

Common exam trap: answer the scenario, not the keyword

The trap here is that candidates often confuse Parameters with Mappings, thinking Mappings can handle environment-specific values, but Mappings are static and cannot accept runtime input, whereas Parameters are designed exactly for this purpose.

Trap categories for this question

  • Command / output trap

    Outputs are used to retrieve information about the stack after creation; they cannot be used to pass values into the stack.

Detailed technical explanation

How to think about this question

Under the hood, CloudFormation Parameters are declared in the template with a type (e.g., 'String', 'AWS::EC2::InstanceType') and can have constraints like AllowedValues to restrict input. When a stack is created or updated, the parameter values are substituted into the template's resource properties using Fn::Ref intrinsic functions. A real-world scenario is using a parameter for the DBInstanceClass in an RDS resource, allowing the same template to deploy a db.t3.micro for dev and a db.r5.large for production without template duplication.

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 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 — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: Parameters — Parameters are the correct CloudFormation feature to define environment-specific values because they allow you to input custom values (e.g., EC2 instance type and RDS DB instance class) at stack creation or update time without modifying the template. This enables reuse of the same template across development, test, and production environments by simply passing different parameter values for each environment.

What should I do if I get this SOA-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 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.