A company wants to automate the end-to-end workflow of build, test, and deploy (a CI/CD pipeline) triggered by source code changes. Which AWS service is MOST suitable for this requirement?

1 / 1
Select an answer
CorrectB

Explanation

A question about selecting the service that automates a CI/CD pipeline.

  • 1end-to-end workflow of build, test, and deployChaining release stages — points to CodePipeline
  • 2CI/CD pipelineContinuous delivery automation — points to CodePipeline
  • 3automateAutomatic execution triggered by code changes
AIncorrect

Amazon CloudWatch

This is incorrect. Amazon CloudWatch is a service for monitoring metrics and logs.

It is not a service for building or automating a CI/CD pipeline.

BCorrect

AWS CodePipeline

This is correct. AWS CodePipeline is a CI/CD (Continuous Integration/Continuous Delivery) service that automatically executes the build, test, and deploy stages triggered by source code changes. It orchestrates stages such as CodeBuild to automate the release process.

CIncorrect

AWS CodeCommit

This is incorrect. AWS CodeCommit is a managed Git source code repository.

While it can serve as a source for pipeline triggers, the service that connects and automates the build-to-deploy workflow is CodePipeline.

DIncorrect

AWS CodeBuild

This is incorrect. AWS CodeBuild is a service that builds and tests source code.

While it handles the build stage within a pipeline, the service that connects and automates the entire workflow from build to deploy is CodePipeline.

Key Takeaway

'CI/CD pipeline' and 'automating build-to-deploy' both point to AWS CodePipeline. Remember the roles in the Code family: CodeCommit=source control (Git) / CodeBuild=build & test / CodeDeploy=deploy / CodePipeline=orchestrates all of these and runs them automatically.