Update 2025-2026
Why don't we use CodeCommit to store/version large files, database, backups, many number of
branches?- Answers Git repositories grow larger over time and getting slower.
The ways to clone and using CodeCommit repos? (2)- Answers 1. HTTPS users using Git
credentials.
2. HTTPS connections with git–remote–codecommit.
How to Configure notifications for events in an AWS CodeCommit repository?- Answers Create
notifications rule to send to SNS.
How build notifications are sent?- Answers Codebuild –> Cloudwatch –> SNS topic –> down
streams.
Why do we need to enable caching for AWS CodeBuild?- Answers Downloading dependencies is
a critical phase in the build process. These dependent files can range in size from a few KBs to
multiple MBs. Because most of the dependent files do not change frequently between builds,
you can noticeably reduce your build time by caching dependencies.
What do we do with CloudWatch alarms for Codebuild?- Answers You can specify any of the
actions supported by CloudWatch when a threshold is exceeded. For example, you can specify
that an Amazon SNS notification is sent when more than three builds in your account fail within
fifteen minutes.
Deployment types of CodeDeploy?- Answers 1. In–place deployment.
2. Blue/green deployment.
How blue/green deployment works for AWS Lambda or Amazon ECS compute platform with
CodeDeploy?- Answers Traffic is shifted in increments according to a canary, linear, or
all–at–once deployment configuration.
Which 2 compute services CodeDeploy does not support with In–place deployment?- Answers
Lambda and ECS.
What areCodeDeploy primary components?- Answers 1. Application.2. Compute platform.
3. Deployment configuration.
4. Deployment group.
5. Deployment type.
6. IAM instance profile.
, 7. Revision.
8. Service role.
9. Target revision.
10. Other components.
Think about CloudFormation stack for single EC2 and elastic IP?- Answers
https://images.cram.com/images/upload-flashcard/72/66/80/36726680_m.png
What is CloudFormation Stack and CloudFormation change sets?- Answers – Stack: When you
use CloudFormation, you manage related resources as a single unit called a stack. You create,
update, and delete a collection of resources by creating, updating, and deleting stacks.– Change
sets: Change sets allow you to see how your changes might impact your running resources,
especially for critical resources, before implementing them.
How does AWS CloudFormation work in diagram?- Answers
https://images.cram.com/images/upload-flashcard/72/67/02/36726702_m.png
Does CloudFormation grant permissions during provision the resources?- Answers No, we need
to manage it throughIAM.
The formats that CloudFormation supports?- Answers .json, .yaml, or .txt.
What if we upload the CloudFormation stack to the region for the first time?- Answers –
CloudFormation uploads it to an S3 bucket in your AWS account.
– CloudFormation creates a bucket for each region in which you upload a template file.
– The buckets are accessible to anyone with Amazon Simple Storage Service (Amazon S3)
permissions in your AWS account.
– If a bucket created by CloudFormation is already present, the template is added to that bucket.
How can we specific our own buckets for CloudFormation?- Answers Whenever you create or
update a stack, specify the Amazon S3 URL of a template file.
What is the fee for CloudFormation?- Answers AWS CloudFormation is a free service; however,
you are charged for the AWS resources you include in your stacks at the current rates for each.
The required sections in CloudFormation template?- Answers Resources section is the only one.
What are six top–level sections of CloudFormation?- Answers 1. AWSTemplateFormatVersion.
2. Description.
3. Metadata.