CloudFormation Physical and Logical Resources Flashcards

1
Q

The “What” in a CloudFormation Template

A

Logical Resources

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

What CloudFormation templates are used to create

A

Stacks

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

Creates physical resources from the logical resources which can be updated or deleted

A

Stacks

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

If you delete a stack are the logical resources deleted?

A

Yes

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

If the logical resources are deleted in a CloudFormation Stack and the physical resources deleted?

A

Yes

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

Parameters that accept input from console/cli/api when a stack is created or updated

A

Template Parameters

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

Parameters that are made by AWS based on the environment when creating the stack which can be referenced

A

Pseudo Parameters

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

Function which allows you to reference a value from one logical resource or parameter in another one

A

!Ref & Fn::GetAtt

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

Function which allows you to join strings together or split them

A

Fn::Join & Fn::Split

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

Function which can be used to get a list of availability zones for a given AWS region

A

FN::GetAZs

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

Function which allows you to select one element from list of Availible AZs

A

Fn::Select

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

Function used to provision resources based on conditional checks

A

Fn:: IF, And, Equals, Not, Or

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

Function used to accept non-encoded text and outputs base64 encoded text that can be provided to the resource

A

Fn::Base64

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

Function that allows you to substitute things within text based on runtime information

A

Fn::Sub

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

Function used to automatically configure the network ranges subnets use within a ClouDFormation template

A

Fn:Cidr

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

Function used to retrieve any attribute associated with the resource

A

!GetAtt

17
Q

Object within a template which maps keys to values allowing lookup

A

CloudFormation Mappings

18
Q

Function which are used to retrieve a given amazon machine image ID

A

!FindInMap

19
Q

declares output values that you can import into other stacks, return in response, or view on the AWS CloudFormation Console

A

Outputs

20
Q

statements that define the circumstances under which entities are created or configured, evaluated based on predefined pseudo parameters or input parameter values that you specify when you create or update a stack

A

Conditions

21
Q

attribute you can specify that the creation of a specific resource follows another and ensure that the resource is created only after the creation of the resource specified

A

DependsOn

22
Q

can be used together to prevent the status if a resource from reaching create complete until AWS CloudFormation receives a specified number of success signals or the timeout period is exceeded

A

CreationPolicy, WaitConditions and cfn-signal

23
Q

stacks that allow for a hierarchy of related templates to be combined to form a single product used to overcome the resource limit of one stack when everything created is lifecycle linked

A

Nested Stack

24
Q

stacks that create modular templates which allow code to be reused

A

Nested Stack

25
Q

Allow one stack to reference another. Outputs in one stack reference logical resources or attributes in that stack can be used in another stack

A

Cross stack references

26
Q

Can be used to reference exported values from one stack into another stack

A

!ImportValue

27
Q

Feature of CloudFormation allowing infrastructure to be deployed and managed across multiple regions and multiple accounts from a single location

A

StackSets

28
Q

Reference to stacks running in specific regions in specific AWS accounts (Container for an individual stack)

A

Stack Instances

29
Q

Accounts that stack sets target to deploy resources into

A

Target Accounts

30
Q

Defines how many individual AWS accounts stacks are being deployed into at one time (If you have 10 accounts and set the value to 2, then 2 deployments will happen to 2 accounts 5 times)

A

Concurrent accounts

31
Q

Defines the amount of individual deployments that can fail before the stack set is viewed as failed

A

Failure Tolerance

32
Q

Allows you to remove stack instances or stacks from a target account by default when deleting stack instances stacks are deleted but can be toggled to be retained

A

Retain Stacks

33
Q

attribute you can preserve or (in some cases) backup each resource when its stack is deleted

A

Deletion Policy

34
Q

Allows an IAM role to be passed into the stack via PassRole, A stack uses this role, rather than the identity interacting with the stack to create, update and delete AWS resources

A

Stack Role

35
Q

Tools which allow a desired state configuration management system to be implemented within CloudFormation that are stored within templates

A

CloudFormationInit

36
Q

helper tool that detects changes in resource metadata and runs user-specified actions when a change is detected

A

cfn-hup helper

37
Q

allow you to preview how proposed changes to a stack might impact your running resources, for example, whether your changes will delete or replace any critical resources

A

ChangeSets

38
Q

enable you to write custom provisioning logic in templates that AWS CloudFormation runs anytime you create, update (if you changed the custom resource), or delete stacks

A

Custom Resources