nerdexam
Amazon

SOA-C02 · Question #229

A SysOps administrator is tasked with deploying a company's infrastructure as code. The SysOps administrator want to write a single template that can be reused for multiple environments. How should…

The correct answer is C. Use parameters in a CloudFormation template. Reuse templates to replicate stacks in multiple environments After you have your stacks and resources set up, you can reuse your templates to replicate your infrastructure in multiple environments. For example, you can create environments for development, testing, and…

Submitted by tyler.j· Mar 30, 2026Deployment, Provisioning, and Automation

Question

A SysOps administrator is tasked with deploying a company's infrastructure as code. The SysOps administrator want to write a single template that can be reused for multiple environments. How should the SysOps administrator use AWS CloudFormation to create a solution?

Options

  • AUse Amazon EC2 user data in a CloudFormation template
  • BUse nested stacks to provision resources
  • CUse parameters in a CloudFormation template
  • DUse stack policies to provision resources

How the community answered

(57 responses)
  • A
    7% (4)
  • B
    4% (2)
  • C
    77% (44)
  • D
    12% (7)

Explanation

Reuse templates to replicate stacks in multiple environments After you have your stacks and resources set up, you can reuse your templates to replicate your infrastructure in multiple environments. For example, you can create environments for development, testing, and production so that you can test changes before implementing them into production. To make templates reusable, use the parameters, mappings, and conditions sections so that you can customize your stacks when you create them. For example, for your development environments, you can specify a lower-cost instance type compared to your production environment, but all other configurations and settings remain the same. https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/best-practices.html#reuse

Topics

#CloudFormation parameters#IaC reusability#multi-environment templates#stack configuration

Community Discussion

No community discussion yet for this question.

Full SOA-C02 Practice