DevOps Professional Exam Flashcards
If you do not specify a deletion policy on a CloudFormation stack, what is the default policy?
Delete
Name the 4 parts of a CFN structure?
Parameters
Mappings
Resources
Outputs
What do you pass in the “Parameters” section of a CFN object?
Password information, IP’s, names, etc
What do you pass in the “Resources” section of a CFN object?
Where a resource is configured and specified.
What do you pass in the “Outputs” section of a CFN object?
This displays the result of the CFN stack creation.
What two things CANNOT be changed in an Opsworks Stack without building it?
VPC & Region
Opsworks autohealing is enabled at the _______ level NOT the _______ level.
layer; stack
Opsworks autohealing is enabled at the _______ level NOT the _______ level.
layer; stack
What is the difference between DependsOn and (Creation Policies, Wait Conditions/Wait Condition Handlers)
DependsOn waits until the resource is active while the Creation Policies and Wait Conditions are for more complex actions that require the application to notify it’s ready.
What is the difference between Creation Policies and Wait Conditions/Wait Condition Handlers?
Creation Policies are only for EC2 and Autoscaling Groups.
What are the 5 Opsworks Lifecycle Events?
Setup Configure Deploy Undeploy Shutdown
Why does the “SETUP” event occur in the Opsworks Lifecycle Events?
Occurs when an instance has finished booting
Why does the “CONFIGURE” event occur in the Opsworks Lifecycle Events?
- When an instance enters or leaves online
- Associate or Disassociate EIP
- Attach or detach a load balancer to layer
Why does the “DEPLOY” event occur in the Opsworks Lifecycle Events?
Occurs when you run the deploy command on an instance OR when your application is loaded on an OpsWorks stack.
Why does the “UNDEPLOY” event occur in the Opsworks Lifecycle Events?
Occurs when you delete an application or run undeploy
Why does the “SHUTDOWN” event occur in the Opsworks Lifecycle Events?
Runs when an instance is shutdown, but before the instance is terminated. Allows cleanup.
How many OPSworks stacks can an RDS instance be associated with?
1
An OPSworks stack clone operation (does/doesn’t) copy an existing RDS instance.
doesn’t
_________ allows you to install custom cookbooks from multiple repositories. Feature enables with Chef ______.
Berkshelf; 11.10
What are the 4 steps of the CodePipeline release process
Source
Build
Staging
Production
Instances can be in a Wait state for a finite period of time. The default amount of time is _______.
1 Hour
Max time instance can be in Wait state is ___ hours or _____ the heartbeat timeout, whichever is smaller.
48; 100x
At the conclusion of a lifecycle hook, the result is either __________ or __________.
ABANDON or CONTINUE