Introduction to CloudFormation Flashcards Preview

A Cloud Guru - AWS SysOps Administrator Associate (2019) > Introduction to CloudFormation > Flashcards

Flashcards in Introduction to CloudFormation Deck (20)
Loading flashcards...
1
Q

What is CloudFormation

A

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

2
Q

How are resourced defined in CloudFormation?

A

In the CloudFormation template

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.

4
Q

Which notation languages does CloudFormation support?

A

YAML

JSON

5
Q

What does YAML stand for?

A

YAML Ain’t Markup Language

6
Q

What does JSON stand for?

A

Javascript Object Notation

7
Q

Does AWS charge to use CloudFormation?

A

No. Only the resources created are charged.

8
Q

Can Cloudformation be used to manage updates and dependencies?

A

Yes

9
Q

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

A

Yes

10
Q

From where does CloudFormation read your template?

A

S3

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”.

12
Q

What is the minimum mandatory section of a CloudFormation template?

A

The Resources section.

13
Q

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

A

AWSTemplateFormatVersion: “2010-09-09”

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.

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.

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.