Infrastructure as Code with CloudFormation Flashcards
AWS Certified Developer Associate DVA-C02 Flashcards

| Front | Back |
| How do you update a CloudFormation stack? | By submitting a modified template or by changing parameter values for an existing template. |
| How does CloudFormation handle failures during stack creation? | It rolls back all the resources that were created successfully to maintain the all-or-nothing nature of stack operations. |
| What are CloudFormation helper scripts? | A set of Python scripts that help install software and start services on EC2 instances. |
| What are the main sections of a CloudFormation template? | AWSTemplateFormatVersion, Description, Parameters, Mappings, Conditions, Resources, Outputs. |
| What is a change set in CloudFormation? | A preview of changes that would be made to a stack before actually implementing them. |
| What is a CloudFormation creation policy? | A policy that defines the actions CloudFormation should take if a resource fails to be created. |
| What is a CloudFormation custom resource? | A resource that enables you to write custom provisioning logic and integrate it with CloudFormation. |
| What is a CloudFormation deletion policy? | Specifies what happens to resources when a stack is deleted. |
| What is a CloudFormation stack set? | A feature that lets you create, update, or delete stacks across multiple accounts and regions with a single operation. |
| What is a CloudFormation stack? | A collection of AWS resources that you can manage as a single unit created from a CloudFormation template. |
| What is a CloudFormation template? | A JSON or YAML formatted text file that describes your AWS infrastructure. |
| What is a Mapping in CloudFormation? | A way to define conditional values that are evaluated at runtime based on parameter values. |
| What is a nested stack in CloudFormation? | A stack that is created as part of another stack using the AWS::CloudFormation::Stack resource type. |
| What is a parameter in CloudFormation? | A value that you can specify when you create or update a stack to customize resource properties. |
| What is a pseudo parameter in CloudFormation? | Predefined parameters provided by AWS CloudFormation (like AWS::Region or AWS::AccountId). |
| What is AWS CloudFormation? | A service that helps you model and set up your AWS resources so you can spend less time managing those resources and more time focusing on your applications. |
| What is CloudFormation Designer? | A graphic tool for creating, viewing, and modifying CloudFormation templates. |
| What is CloudFormation drift detection? | A feature that detects whether a stack's actual configuration differs from its expected configuration. |
| What is CloudFormation resource import? | A feature that allows you to bring existing resources into CloudFormation management. |
| What is CloudFormation rollback? | The process of restoring a stack to its previous working state if an update fails. |
| What is CloudFormation stack policy? | A document that defines the update actions that can be performed on designated resources. |
| What is Infrastructure as Code (IaC)? | A practice where infrastructure is provisioned and managed using code and software development techniques rather than manual processes. |
| What is the AWS CloudFormation Registry? | A managed repository of resource providers that define how CloudFormation provisions resources. |
| What is the AWS::Include transform? | A transform that allows you to reference template snippets stored in Amazon S3. |
| What is the benefit of using nested stacks? | They allow you to reuse common template patterns and manage complex architectures as modular components. |
| What is the DependsOn attribute in CloudFormation? | Specifies that the creation of a specific resource follows another. |
| What is the Fn::Sub function used for? | To substitute variables in an input string with values that you specify. |
| What is the intrinsic function Fn::GetAtt used for? | To get an attribute from a resource in the template. |
| What is the intrinsic function Ref used for in CloudFormation? | To reference a parameter or resource within a template. |
| What is the Resources section in a CloudFormation template? | The only required section that contains the definitions of the AWS resources you want to create with the template. |
About the Flashcards
Flashcards for the AWS Certified Developer Associate exam give you a rapid way to memorize the core ideas behind Infrastructure as Code on AWS. The deck walks through CloudFormation templates, stacks, and change sets so you can recall how resources are declared, grouped, and updated with confidence.
Cards review every essential CloudFormation feature tested, including parameters, mappings, intrinsic functions, deletion and creation policies, drift detection, stack sets, and custom resources. By practicing definitions and use-cases, you will sharpen your ability to design automated deployments, troubleshoot rollbacks, and manage multi-account architectures under exam time pressure.
Topics covered in this flashcard deck:
- CloudFormation fundamentals
- Template sections and syntax
- Stack operations and rollback
- Parameters and intrinsic functions
- Policies, sets, drift detection