CodeCommit is a fully managed, private Git repository hosting service. It stores your source code securely in AWS, integrated with IAM for access control and with the rest of the developer tools.
The tell
When a scenario needs a private, managed Git repository inside AWS (the source stage of a pipeline), that’s CodeCommit — the AWS equivalent of a private GitHub/GitLab repo, with IAM-based access. It feeds CodePipeline/CodeBuild.
Test yourself
A company wants a private, managed Git repository hosted in AWS with IAM-based access control for its source code. Which service?
- Amazon S3
- AWS CodeCommit
- AWS CodeBuild
- Amazon ECR
👉 Click to reveal the answer & explanation
Correct answer: B. CodeCommit is the managed private Git repository service with IAM access control. S3 (A) stores objects, not Git repos; CodeBuild (C) builds code; ECR (D) stores container images.
Related topics
AWS CodePipeline · AWS CodeBuild · AWS IAM
Ready to pass your AWS exam?
Stop guessing whether you’re ready. Our full-length, exam-realistic practice exams put you through the exact question style you’ll face — with a detailed explanation behind every answer, so you learn why, not just what.
- ✓ 6 full-length practice exams
- ✓ A detailed explanation for every single question
- ✓ Realistic, scenario-based questions — not memory dumps
- ✓ 6 months of access
Prepare for the AWS Solutions Architect Associate (SAA-C03)
Understand source-control choices and how they fit into AWS deployment workflows.
Try the free SAA-C03 diagnostic or explore the 390-question premium practice package.