CloudFormation Templates Quiz

5 questions Pass: 70% +25 pts (50 with Pro)

Quiz covering Infrastructure as Code

What you'll be asked

  1. Which of the following sections is the only mandatory section in an AWS CloudFormation template?
  2. If you need to pass a value into your CloudFormation template at runtime, such as an instance type or an environment name, which section should you use?
  3. What is the primary purpose of using 'Intrinsic Functions' like !Ref or !Sub in a CloudFormation template?
  4. You want to ensure that an EC2 instance is only created if the 'Environment' parameter is set to 'Production'. Which section should you use to implement this logic?
  5. When using a 'StackSet' to deploy resources across multiple accounts and regions, which property must be defined to ensure that resources are created in the correct order across different stacks?

Answers and explanations come after you submit.