Which AWS service can compile source code, run tests, and generate a deployable artifact without managing servers?

1 / 1
Select an answer
CorrectC

Explanation

Selecting a fully managed build service.

  • 1compile source codeBuild processing = CodeBuild
  • 2generate a deployable artifactGenerating the build output
  • 3without managing serversA fully managed build = CodeBuild
AIncorrect

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.

BIncorrect

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.

CCorrect

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.

DIncorrect

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.

Key Takeaway

'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).