Configuration Management & Infrastructure as Code Flashcards

1
Q

What is CloudFormation

A

Amazon’s infrastructure as code solution which is written in either JSON or YAML.

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

Three CloudFormation Terms

A
  1. Stack - The resource group that one wants to manage as a single entity.
  2. Template - Document that specifies what to do. Can be used to both create and update the stack
  3. Stack Policy - A list of service.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Intrinsic Functions

A

Allows assigning functions to variables that are not available until runtime.

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

What is CloudFormation FindInMap - Intrinsic Map.

A

Allows the mapping of key-value pairs to be used at runtime.

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

CloudFormation FN:Base 64 Intrinsic

A

Returns the base64

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

FN:CIDR

A

Returns the number of blocked returned on the count value

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

FN:GetAtt

A

Getting the name of an attribute within a template.

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

FN:GetAZs

A

Returns the given AZ that are available.

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

FN:ImportValue

A

Returns the outpout values created by another stack

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

FN:Join

A

Allows to append multiple values to a single variable using delimited list of values

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

FN: Select

A

Allows one to reference a list array of items and then pick one of the items out based upon an index reference #.

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

FN: Split

A

Works with a string of variables and allows them to be separated and then possibly used select

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

FN: Sub

A

Used to subsitute variables on a variable.

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

FN: Transform

A

Specfies a macro to perform customer porcessing on a part of a stack template.

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

Ref

A

Simply provides a specified parameter or resource name.

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

Condition Functions

A
Allows you to create logic. This includes things like 
FN:AND
FN:Equals
FN:If
FN:NOT
FN:Or
17
Q

CloudFormation DependsOn

A

This is used to make sure that a given resource is available before proceeding with a code.

18
Q

Creating Policies

A

Prevents a resource status from reaching a complete

19
Q

Wait Conditions & Handlers

A
Allows one to provide
Usual relys on 4 coponetnts
DependsOn
Handle Property
Time Out 
Count
20
Q

What is Nesting?

A

Allows more complicated use and provides overcoming of inherit limitation of CloudFormation

21
Q

What are Resource Deletion Policies

A

A means of defining actions upon compleion. Options include
Delete - Default - fully delted
Retain - Keeps the services after the template is delete. Could get messy
Snapshot - Only available on a few services like EC2. It takes a snapshot of resources and then deletes.

22
Q

CloudFormation - Stack Updates

A

Stack policy - The

23
Q

CloudFormation - Change Sets

A

When a cloud update is made– this allows to preview changes made to devices before implementation.

24
Q

CloudFormation - Custom Resources

A

Allows to update things beyond the control of AWS like a REST API update to alternative systems.