Infrastructure as Code with CloudFormation and CDK Flashcards
6 cards from real DevOps Engineering on AWS Certification practice questions. Tap to flip, then mark Knew It or Still Learning — missed cards come back until you master them.
Read the first 6 Infrastructure as Code with CloudFormation and CDK flashcards as text
What is the purpose of CloudFormation StackSets?
Answer: To deploy CloudFormation stacks across multiple accounts and regions simultaneously
CloudFormation StackSets extend CloudFormation to deploy stacks across multiple AWS accounts and regions in a single operation.
Which CloudFormation template section is used to define conditions that control whether resources are created?
Answer: Conditions
The Conditions section defines logical conditions that can control whether specific resources are created or properties are assigned.
In AWS CDK, what must be done before deploying CDK apps to a new account or region for the first time?
Answer: Run cdk bootstrap
Running cdk bootstrap provisions the necessary CDK toolkit resources (like an S3 bucket) in the target account and region before first deployment.
A CloudFormation stack update fails midway. What happens to the stack by default?
Answer: CloudFormation automatically rolls back to the previous stable state
By default, CloudFormation rolls back all changes to the previous stable state when a stack update fails.
Which CloudFormation function substitutes variables in a string with values from parameters, resources, or pseudo-parameters?
Answer: Fn::Sub
Fn::Sub substitutes variables in an input string, replacing ${VariableName} placeholders with parameter values, resource attributes, or pseudo-parameters.
What is a CloudFormation Change Set used for?
Answer: Previewing how proposed changes will affect running resources before executing them
A Change Set shows you a preview of how CloudFormation will modify your stack resources before you execute the changes.
How this page was made: written with AI tools and published by Nathan Beja, founder of Practice Test Geeks, who is responsible for its content. Exam facts are checked against the official sources listed below. Not reviewed by a subject-matter expert. Editorial policy
Sources & references
Exam facts on this page (fees, format, dates, passing scores) are checked against these official sources; the date is our last check. Editorial policy
- docs.aws.amazon.com — Exam information · verified Oct 2026
- pearsonvue.com — Eligibility · verified Oct 2026
- aws.amazon.com — Test delivery, fees, exam format, time limit, score validity, renewal, passing score, retake policy, score release, exam information · verified Oct 2026