SkillSprout
Chapter 7

CI/CD and Deployment

Automate delivery with the AWS Code* services, define infrastructure with CloudFormation, SAM and CDK, deploy web apps with Elastic Beanstalk and run containers with ECR and ECS.

1CodeBuild, CodeDeploy and CodePipeline
Intermediate
6 min
2CloudFormation, SAM and CDK
Intermediate
6 min
3AWS Elastic Beanstalk
Intermediate
6 min
4Containers on AWS: ECR and ECS
Intermediate
6 min

Chapter quiz

CI/CD and Deployment · 10 questions

  1. 1.A CodeBuild project must run unit tests and then package a SAM application. Where should these commands be defined?

  2. 2.A team deploys a Lambda function using CodeDeploy and wants 10% of traffic shifted first, with automatic rollback if the error alarm triggers. Which configuration meets this?

  3. 3.A CloudFormation update would change a DynamoDB table property that requires replacement. How can a developer see this risk before applying the update?

  4. 4.A team needs zero-downtime Elastic Beanstalk deployments with full capacity throughout and quick rollback by terminating new instances. Which policy fits BEST?

  5. 5.A Fargate task in a private subnet fails with CannotPullContainerError. The execution role allows ECR access. What is the most likely missing piece?

  6. 6.A CodeBuild project must reuse npm dependencies between builds to cut build time. What should be configured?

  7. 7.A CloudFormation update fails midway. What happens by default?

  8. 8.Internal teams need to share private npm and Maven packages with versioning and upstream proxying to public registries. Which service fits?

  9. 9.A team needs zero-downtime releases on EC2 with the ability to instantly route back to the old fleet. Which deployment type is best?

  10. 10.Different API stages need different backend Lambda aliases without redeploying code. What feature supports this?

0 of 10 answered