Amazon Web Services AWS Certified Solutions Architect - Professional SAP-C03 Question # 78 Topic 8 Discussion
SAP-C03 Exam Topic 8 Question 78 Discussion:
Question #: 78
Topic #: 8
A company uses an AWS CodeCommit repository The company must store a backup copy of the data that is in the repository in a second AWS Region
Which solution will meet these requirements?
A.
Configure AWS Elastic Disaster Recovery to replicate the CodeCommit repository data to the second Region
B.
Use AWS Backup to back up the CodeCommit repository on an hourly schedule Create a cross-Region copy in the second Region
C.
Create an Amazon EventBridge rule to invoke AWS CodeBuild when the company pushes code to the repository Use CodeBuild to clone the repository Create a zip file of the content Copy the file to an S3 bucket in the second Region
D.
Create an AWS Step Functions workflow on an hourly schedule to take a snapshot of the CodeCommit repository Configure the workflow to copy the snapshot to an S3 bucket in the second Region
Option C is correct. AWS Backup does not support AWS CodeCommit repositories, so the backup must be built from the repository itself. An Amazon EventBridge rule that matches CodeCommit repository state changes (pushes) starts an AWS CodeBuild project, which clones the repository, packages the content, and copies the archive to an Amazon S3 bucket in the second Region. This keeps the backup current without servers to manage.
Why the other options are incorrect: A - AWS Elastic Disaster Recovery replicates servers, not CodeCommit repositories. B - AWS Backup has no CodeCommit resource type. D - CodeCommit has no snapshot API that a Step Functions workflow could call.
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit