CI/CD Tools Flashcards

1
Q

Q: What is CI/CD?

A

A: CI/CD stands for Continuous Integration and Continuous Deployment/Delivery, enabling automated code integration, testing, and deployment.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Q: What is AWS CodePipeline?

A

A: A fully managed CI/CD service that automates the build, test, and deployment phases of application updates.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Q: What are the stages in AWS CodePipeline?

A

A: Source, Build, Test, Deploy, and Approval.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Q: What is AWS CodeBuild?

A

A: A fully managed build service that compiles source code, runs tests, and produces build artifacts.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Q: What is a buildspec file in CodeBuild?

A

A: A YAML file that defines the build instructions, including phases, environment variables, and artifacts.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Q: What is AWS CodeDeploy?

A

A: A service that automates application deployments to EC2 instances, Lambda functions, and on-premises servers.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Q: What are the deployment types in CodeDeploy?

A

A: In-place deployments (updating existing resources) and blue/green deployments (creating new resources for deployment).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Q: What is AWS CodeCommit?

A

A: A fully managed source control service that hosts private Git repositories.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Q: What are triggers in CodeCommit?

A

A: Notifications or Lambda function invocations triggered by repository events like commits or merges.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Q: What is AWS CodeStar?

A

A: A service for setting up CI/CD pipelines quickly with pre-configured project templates.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Q: What is AWS Amplify?

A

A: A development platform for building and deploying web and mobile applications with CI/CD support for front-end and back-end workflows.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Q: What is a blue/green deployment?

A

A: A deployment strategy where traffic is shifted from the current environment (blue) to a new environment (green) to reduce downtime and risk.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Q: What is a canary deployment?

A

A: A deployment method that releases updates to a small subset of users before full deployment.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Q: What is a rolling deployment?

A

A: A deployment strategy that updates resources in batches to minimize downtime.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Q: How does AWS integrate with GitHub?

A

A: AWS CodePipeline and CodeBuild can connect to GitHub as a source repository for CI/CD workflows.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Q: How does Elastic Beanstalk support CI/CD?

A

A: By automating deployments and managing environments for web applications using Git-based workflows.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

Q: What is an artifact store in CodePipeline?

A

A: A location (e.g., S3 bucket) where build or deployment artifacts are stored for use in subsequent stages.

18
Q

Q: How does CodePipeline integrate with CloudFormation?

A

A: By using CloudFormation templates in the deployment stage to provision or update AWS infrastructure.

19
Q

Q: How can you receive notifications from CodePipeline?

A

A: By configuring Amazon SNS to send notifications for pipeline state changes or failures.

20
Q

Q: How can Step Functions be used in CI/CD pipelines?

A

A: To orchestrate complex workflows by integrating multiple AWS services in a pipeline.

21
Q

Q: How can CodePipeline handle cross-region deployments?

A

A: By using AWS KMS keys and S3 buckets for artifact storage and configuring regional actions in the pipeline.

22
Q

Q: What are hooks in AWS CodeDeploy?

A

A: Scripts or commands executed at specific points during a deployment lifecycle (e.g., BeforeInstall, AfterInstall).

23
Q

Q: How does AWS X-Ray support CI/CD?

A

A: By tracing application performance and identifying bottlenecks after deployment.

24
Q

Q: How is testing integrated into CI/CD pipelines?

A

A: By adding build and test stages in CodePipeline that use CodeBuild or third-party testing tools.

25
Q

Q: What is the AWS SAM CLI, and how does it support CI/CD?

A

A: A CLI tool for building, testing, and deploying serverless applications, integrated with CodePipeline for CI/CD.

26
Q

Q: What is manual approval in CodePipeline?

A

A: A stage that requires human approval before proceeding to the next stage.

27
Q

Q: What are Git-based workflows supported by AWS?

A

A: Branching, merging, and automated CI/CD pipelines triggered by Git commits or pull requests.

28
Q

Q: What is build parallelism in CodeBuild?

A

A: A feature that allows running multiple builds simultaneously to speed up CI processes.

29
Q

Q: What are best practices for security in CI/CD pipelines?

A

A: Use IAM roles, encrypt artifacts, scan code for vulnerabilities, and use private repositories.

30
Q

Q: How does CodeDeploy handle deployment rollbacks?

A

A: Automatically or manually revert to a previous application version in case of deployment failures.

31
Q

Q: How does CodeDeploy support Lambda deployments?

A

A: By deploying new versions of Lambda functions and enabling traffic shifting between versions.

32
Q

Q: How can CI/CD costs be optimized in AWS?

A

A: Use spot instances for build processes, limit pipeline frequency, and monitor usage with AWS Budgets.

33
Q

Q: How does AWS support CI/CD for containerized applications?

A

A: Using CodePipeline, CodeBuild, and CodeDeploy with ECS, EKS, and Fargate for deployments.

34
Q

Q: Which third-party tools can integrate with AWS CI/CD pipelines?

A

A: Jenkins, GitHub Actions, Bitbucket, CircleCI, and Travis CI.

35
Q

Q: What is AWS Proton?

A

A: A service to automate and manage infrastructure provisioning and CI/CD pipelines for microservices and serverless applications.

36
Q

Q: How can you monitor CI/CD pipelines?

A

A: By using CloudWatch for pipeline metrics and SNS for notifications.

37
Q

Q: How does App Runner simplify CI/CD?

A

A: By providing a fully managed service to deploy and run web applications from source code or container images.

38
Q

Q: What tools automate pipeline creation in AWS?

A

A: AWS CloudFormation, CDK (AWS Cloud Development Kit), and SAM templates.

39
Q

Q: What is AWS CodeArtifact?

A

A: A fully managed artifact repository service for securely storing and managing dependencies like Maven, npm, and Python packages.

40
Q

Q: What are the best practices for CI/CD pipelines in AWS?

A

A: Use small, frequent deployments, automate testing, enable rollback, use infrastructure as code (IaC), and enforce security.