CloudFormation Flashcards

1
Q

IAM: What are the neccessary attributes for a policy?

A

Version and Statement (Effect, Action, Resource)

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

IAM What are the optional attributes in a policy?

A

SID (Statement Id to identify the statement)
Principal (account, user, role or federated user)
Condition (when should the statement be in effect)

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

CF: What is a Stack Policy?

A

It regulates the options to update resources.

Structured like IAM Policies e.g. (allow/deny on resources)

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

CF: What is the only mandatory section in the template?

A

Resources

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

CF: In which section can you define external reference to code e.g.?

A

Transforms

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

CF: What are the main sections and what are their purposes?

A

Parameters: Input values
Conditions: What will be created/used based on envrionment e.g.
Resources: What will be created
Mappings: Custom references, for AMIs in Regions e.g.
Transforms: Reference to code in S3, Lamda code or reusable snippets

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

CF: What happens if there’s a manual change after launch and the stack should be rolled back?

A

An error is thrown

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