Introduction to CloudFormation Flashcards

1
Q

What is CloudFormation

A

A service that allows you to manage, configure and provision your AWS infrastructure as code.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How are resourced defined in CloudFormation?

A

In the CloudFormation template

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

How does CloudFormation use the template to create resources?

A

It interprets the template and makes appropriate API calls to create the resources defined.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Which notation languages does CloudFormation support?

A

YAML

JSON

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What does YAML stand for?

A

YAML Ain’t Markup Language

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What does JSON stand for?

A

Javascript Object Notation

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Does AWS charge to use CloudFormation?

A

No. Only the resources created are charged.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Can Cloudformation be used to manage updates and dependencies?

A

Yes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

In addition to creating a stack, can CloudFormation be used to roll back the entire stack?

A

Yes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

From where does CloudFormation read your template?

A

S3

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What do we call the resulting set of resources from deploying a template?

A

Stack - In IT, all of the technologies and resources used to deploy an application is called a “stack”.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is the minimum mandatory section of a CloudFormation template?

A

The Resources section.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is currently the only accepted template format version for CloudFormation?

A

AWSTemplateFormatVersion: “2010-09-09”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is the Metadata section of a CloudFormation script?

A

Data about data. This section can either be simple, and just defining information about the stack, or very complex in defining what should be done within the resource.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is the parameters section of CloudFormation script?

A

Defines inputs to be used by script variables. These include default inputs, or user defined inputs collected at deployment.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is the Conditions section of a CloudFormation script?

A

This defines conditional actions to be taken depending on other parameters.

17
Q

What is the Mappings section of a CloudFormation script?

A

Allows you to set values based on inputs. For example, set an AMI based on a region.

18
Q

What is the Transform section in a CloudFormation script?

A

Allows you to use snippets of code outside the main AWS template.

19
Q

What is the Resources section of the CloudFormation template?

A

This is where AWS resources such as EC2 instances are defined.

20
Q

What is the Output section of a CloudFormation template?

A

Allows CloudFormation to record specified outputs for later use by other CloudFormation scripts.