AWS Certified SysOps Administrator – Associate — Question 407
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?
Answer options
- A. Use Amazon EC2 user data in a CloudFormation template.
- B. Use nested stacks to provision resources.
- C. Use parameters in a CloudFormation template.
- D. Use stack policies to provision resources.
Correct answer: C
Explanation
Using parameters in an AWS CloudFormation template allows you to input custom values at runtime, making it easy to reuse a single template for multiple environments like development, testing, and production. While EC2 user data is used for bootstrapping instances and nested stacks help with modularity, they do not inherently facilitate template reuse across different environments. Stack policies are used to protect stack resources from unintentional updates and are not meant for customizing environment deployments.