Bash, the Crucial Exams Chat Bot
AI Bot
Infrastructure as Code (IaC) with AWS Services Flashcards
AWS DevOps Engineer Professional DOP-C02 Flashcards
| Front | Back |
| How can you export CloudFormation templates | By using the AWS Management Console, AWS API, or CLI Commands |
| How can you update a CloudFormation stack | Provide an updated template and use `Update Stack` functionality |
| How do you deploy AWS CDK projects | Using the AWS CDK CLI with the `cdk deploy` command |
| How do you manage IaC changes | A combination of version control, CI/CD pipelines, and testing environments |
| How does the AWS CDK generate CloudFormation templates | It uses synthesizing (`cdk synth`) to produce templates from code |
| What are IAM roles used for in IaC | To grant permissions for automated scripts or tools to manage AWS resources |
| What are intrinsic functions in CloudFormation | Functions to compute values, such as `Fn::Sub` and `Fn::Join`, in templates |
| What AWS service lets you preview infrastructure costs of stacks | AWS CloudFormation Cost Estimator |
| What does the AWS CDK `Construct` represent | A reusable unit of code defining one or more AWS resources |
| What does the AWS CDK `Stack` class represent | A collection of resources deployed as a single unit |
| What format do AWS CloudFormation templates use | JSON or YAML |
| What is a benefit of AWS CDK over CloudFormation | Ability to use higher-level programming constructs versus declarative templates |
| What is a benefit of using IaC | Automated, consistent, and repeatable infrastructure deployment |
| What is a CloudFormation output | Values exported from a stack you can use in other stacks or reference manually |
| What is a CloudFormation resource | An AWS service or component defined in a CloudFormation template |
| What is a CloudFormation stack | A collection of resources defined in a CloudFormation template managed as a single unit |
| What is a declarative approach in IaC | Defining the desired infrastructure state without specifying how to achieve it |
| What is a launch configuration in CloudFormation | A template specification for EC2 Auto Scaling groups and instances |
| What is a nested stack in AWS CloudFormation | A stack defined within another stack for better organization and modularity |
| What is a parameter in AWS CloudFormation | A dynamic value you can pass into a template at runtime |
| What is an AWS CDK App | A root object where CDK constructs and infrastructure get defined |
| What is AWS CloudFormation | A service to define and provision AWS infrastructure using templates |
| What is drift detection in CloudFormation | A feature to identify differences between stack resources and template definitions |
| What is Infrastructure as Code (IaC) | A method to automate and manage infrastructure using code instead of manual processes |
| What is StackSets in CloudFormation | A feature to manage stacks across multiple AWS accounts and regions |
| What is the AWS CDK | A software development framework to use programming languages to define AWS infrastructure |
| What is the purpose of using tags in CloudFormation | To organize and categorize AWS resources for cost and operational management |
| What languages does the AWS CDK support | JavaScript, TypeScript, Python, Java, C#, and Go |
| What tool can you use for IaC testing | Tools like `Kitchen`, `Terratest`, or the AWS-provided CDK testing features |
This deck explains the use of AWS CloudFormation, AWS CDK, and other IaC tools to create, manage, and automate AWS infrastructure configurations.