AWS CodePipeline
AWS CodePipeline is an orchestration service that connects the entire CI/CD workflow.
Compiling code and running tests themselves are handled by CodeBuild, so it is incorrect.
Which AWS service can compile source code, run tests, and generate a deployable artifact without managing servers?
Selecting a fully managed build service.
AWS CodePipeline
AWS CodePipeline is an orchestration service that connects the entire CI/CD workflow.
Compiling code and running tests themselves are handled by CodeBuild, so it is incorrect.
AWS CodeDeploy
AWS CodeDeploy is a service that deploys built artifacts to EC2, Lambda, and other targets.
Its responsibility is the deployment stage, and the build stage of this question, compiling source code, testing, and generating an artifact, is the role of CodeBuild, so it is incorrect.
AWS CodeBuild
Correct. AWS CodeBuild is a fully managed build service that compiles source code, runs tests, and generates artifacts. You do not need to provision or manage build servers yourself, and you are billed for what you use. It is used as the build stage of CodePipeline.
AWS CodeArtifact
AWS CodeArtifact is a repository service that stores and shares packages (artifacts) generated or consumed during builds.
The word artifact is shared, but its role is a storage location, not a service that runs compilation or tests, so it is incorrect.
'Compile, test, and generate artifacts' and 'managed build' point to AWS CodeBuild. Connecting the whole workflow is CodePipeline. Keep clear the relationship between CodeBuild (the build alone) and CodePipeline (the linking).