9. Deploying and Managing Infra Flashcards
What is AWS CloudFormation used for?
A declarative way to define AWS infrastructure as code for provisioning resources in a specified order.
True or False: CloudFormation only supports a few AWS resources.
False
Fill in the blank: In CloudFormation, you define infrastructure using a ______.
template
How does CloudFormation ensure the correct order of resource creation?
CloudFormation handles the order automatically based on dependencies specified in the template.
What cost-saving strategy can be applied using CloudFormation in a development environment?
Automating template deletion after hours and recreation in the morning to save costs.
Which AWS service allows infrastructure to be defined using programming languages like JavaScript and Python?
AWS Cloud Development Kit (CDK)
Name two programming languages supported by AWS CDK.
JavaScript and Python
True or False: AWS CDK automatically compiles code into CloudFormation templates.
True
How does AWS Elastic Beanstalk simplify deployment?
It provides a PaaS environment that abstracts the infrastructure setup, handling EC2, ASG, ELB, and more.
What is the architecture type for single-instance Elastic Beanstalk deployments best suited for?
Development environments
True or False: Elastic Beanstalk charges for the platform but not for underlying instances.
False, the platform is free, but you pay for the underlying resources.
List three deployment configurations for Elastic Beanstalk.
Single instance, Load Balancer + Auto Scaling Group, Auto Scaling Group only
Which service automates the code deployment to EC2 and on-premises servers?
AWS CodeDeploy
What must be installed on servers to work with CodeDeploy?
The CodeDeploy agent
Name the AWS service that provides Git-based source control repositories.
AWS CodeCommit
True or False: CodeCommit is managed, scalable, and private.
True
What does AWS CodeBuild primarily do?
Compiles source code, runs tests, and produces deployment-ready artifacts.
Fill in the blank: CodePipeline is used for _____ and _____ integration and delivery.
continuous, automated
What stages are commonly orchestrated by AWS CodePipeline?
Code, Build, Test, Provision, Deploy
How is artifact management achieved in AWS for dependency storage?
Using AWS CodeArtifact