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.