Recall & Review
beginner
What is the main purpose of a CloudFormation template?
A CloudFormation template defines the resources and their configurations needed to build and manage AWS infrastructure automatically.
Click to reveal answer
beginner
Name the two formats supported for AWS CloudFormation templates.
AWS CloudFormation templates can be written in JSON or YAML format.
Click to reveal answer
intermediate
What are the main sections of a CloudFormation template?
The main sections are: Parameters, Resources, Outputs, Mappings, Conditions, and Metadata.
Click to reveal answer
beginner
In a CloudFormation template, what is the purpose of the 'Resources' section?
The 'Resources' section declares all AWS resources (like EC2 instances, S3 buckets) that the template will create.
Click to reveal answer
intermediate
Why might you choose YAML over JSON for a CloudFormation template?
YAML is easier to read and write due to its concise syntax and supports comments, making templates clearer and more maintainable.
Click to reveal answer
Which section in a CloudFormation template defines the AWS resources to create?
✗ Incorrect
The 'Resources' section lists all AWS resources that the template will create.
What formats can AWS CloudFormation templates be written in?
✗ Incorrect
CloudFormation supports JSON and YAML formats for templates.
Which section allows you to pass values into a CloudFormation template at deployment time?
✗ Incorrect
The 'Parameters' section lets you input values when launching the stack.
What is the purpose of the 'Outputs' section in a CloudFormation template?
✗ Incorrect
The 'Outputs' section declares values that are returned after the stack is created, like resource IDs.
Which section would you use to create conditional resources in a CloudFormation template?
✗ Incorrect
The 'Conditions' section defines conditions to control resource creation.
Describe the main sections of a CloudFormation template and their roles.
Think about what you input, what you create, and what you get back.
You got /6 concepts.
Explain why YAML might be preferred over JSON for writing CloudFormation templates.
Consider how easy it is to read and edit the template.
You got /4 concepts.