Skip to Content

DVA-C02: How to Store Program Code for CI/CD Pipeline with AWS CodePipeline

Learn how to use AWS CodeCommit to store your program code for a continuous integration/continuous delivery (CI/CD) pipeline. Find out the benefits and features of using AWS CodeCommit as a source stage for AWS CodePipeline.


A development team wants to build a continuous integration/continuous delivery (CI/CD) pipeline. The team is using AWS CodePipeline to automate the code build and deployment. The team wants to store the program code to prepare for the CI/CD pipeline.

Which AWS service should the team use to store the program code?

A. AWS CodeDeploy
B. AWS CodeArtifact
C. AWS CodeCommit
D. Amazon CodeGuru


C. AWS CodeCommit


The answer to the question is C. AWS CodeCommit.

AWS CodeCommit is a version control service hosted by Amazon Web Services that you can use to privately store and manage assets (such as documents, source code, and binary files) in the cloud. You can use CodeCommit to store your program code for a continuous integration/continuous delivery (CI/CD) pipeline. CodeCommit has the following benefits and features for storing program code:

  • It supports Git, a popular distributed version control system that lets you collaborate with other developers and track changes to your code.
  • It integrates with AWS CodePipeline, a service that automates the code build and deployment process. You can use CodePipeline to create a CI/CD pipeline that uses CodeCommit as the source stage.
  • It provides encryption at rest and in transit for your data, using AWS Key Management Service (AWS KMS) keys. You can also use AWS Identity and Access Management (IAM) policies and resource policies to control access to your repositories.
  • It scales automatically with your workload and does not impose any limits on repository size or file size. You only pay for the storage space you use and the number of active users per month.

Option A is incorrect because AWS CodeDeploy is not a service for storing program code, but for deploying code to a fleet of EC2 instances or on-premises servers. You can use CodeDeploy as a deployment stage in your CI/CD pipeline, but not as a source stage.

Option B is incorrect because AWS CodeArtifact is not a service for storing program code, but for storing and managing software packages and dependencies. You can use CodeArtifact to create and manage repositories of software packages, such as npm, Maven, or Python packages. You can also integrate CodeArtifact with other AWS services, such as CodeBuild and CodeDeploy, to build and deploy your applications.

Option D is incorrect because Amazon CodeGuru is not a service for storing program code, but for improving code quality and performance. You can use CodeGuru to analyze your code for issues, such as bugs, errors, or inefficiencies. You can also use CodeGuru to get recommendations on how to optimize your code and reduce costs.

The latest AWS Certified Developer – Associate DVA-C02 certification actual real practice exam question and answer (Q&A) dumps are available free, which are helpful for you to pass the AWS Certified Developer – Associate DVA-C02 exam and earn AWS Certified Developer – Associate DVA-C02 certification.

AWS Certified Developer - Associate DVA-C02 Exam Questions and Answers

Alex Lim is a certified IT Technical Support Architect with over 15 years of experience in designing, implementing, and troubleshooting complex IT systems and networks. He has worked for leading IT companies, such as Microsoft, IBM, and Cisco, providing technical support and solutions to clients across various industries and sectors. Alex has a bachelor’s degree in computer science from the National University of Singapore and a master’s degree in information security from the Massachusetts Institute of Technology. He is also the author of several best-selling books on IT technical support, such as The IT Technical Support Handbook and Troubleshooting IT Systems and Networks. Alex lives in Bandar, Johore, Malaysia with his wife and two chilrdren. You can reach him at [email protected] or follow him on Website | Twitter | Facebook

    Ads Blocker Image Powered by Code Help Pro

    Your Support Matters...

    We run an independent site that is committed to delivering valuable content, but it comes with its challenges. Many of our readers use ad blockers, causing our advertising revenue to decline. Unlike some websites, we have not implemented paywalls to restrict access. Your support can make a significant difference. If you find this website useful and choose to support us, it would greatly secure our future. We appreciate your help. If you are currently using an ad blocker, please consider disabling it for our site. Thank you for your understanding and support.