exam questions

Exam AWS DevOps Engineer Professional All Questions

View all questions & answers for the AWS DevOps Engineer Professional exam

Exam AWS DevOps Engineer Professional topic 1 question 58 discussion

Exam question from Amazon's AWS DevOps Engineer Professional
Question #: 58
Topic #: 1
[All AWS DevOps Engineer Professional Questions]

A company wants to migrate a legacy application to AWS and develop a deployment pipeline that uses AWS services only. A DevOps engineer is migrating all of the application code from a Git repository to AWS CodeCommit while preserving the history of the repository. The DevOps engineer has set all the permissions within CodeCommit, installed the Git client and the AWS CLI on a local computer, and is ready to migrate the repository.
Which actions will follow?

  • A. Create the CodeCommit repository using the AWS CLI. Clone the Git repository directly to CodeCommit using the AWS CLI. Validate that the files were migrated, and publish the CodeCommit repository.
  • B. Create the CodeCommit repository using the AWS Management Console. Clone both the Git and CodeCommit repositories to the local computer. Copy the files from the Git repository to the CodeCommit repository on the local computer. Commit the CodeCommit repository. Validate that the files were migrated, and share the CodeCommit repository.
  • C. Create the CodeCommit repository using the AWS Management Console. Use the console to clone the Git repository into the CodeCommit repository. Validate that the files were migrated, and publish the CodeCommit repository.
  • D. Create the CodeCommit repository using the AWS Management Console or the AWS CLI. Clone the Git repository with a mirror argument to the local computer and push the repository to CodeCommit. Validate that the files were migrated, and share the CodeCommit repository.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
rscloud
Highly Voted 3 years, 4 months ago
D https://docs.aws.amazon.com/codecommit/latest/userguide/how-to-migrate-repository-existing.html
upvoted 18 times
...
WhyIronMan
Highly Voted 3 years, 4 months ago
I'll got with D Reference: https://docs.aws.amazon.com/codecommit/latest/userguide/how-to-migrate-repository-existing.html#how-to-migrate-existing-clone
upvoted 9 times
StelSen
3 years, 3 months ago
The link is very useful to understand. Thanks a lot
upvoted 1 times
...
...
d3717d5
Most Recent 1 day, 8 hours ago
Selected Answer: D
In short : install git locally->clone repo to your machine->via console create codecommit->push from your machine to codecommit. I thought there would be more streamlined process , such as go to console, create and indicate from which remote repo to clone to codecommit.
upvoted 1 times
...
Piccaso
1 year, 11 months ago
Selected Answer: D
Why is A suggested as "correct answer" ?
upvoted 4 times
...
Bulti
2 years ago
Answer D use the --mirror option when cloning git repo
upvoted 2 times
...
ryuhei
2 years, 3 months ago
Selected Answer: D
Answer is ”D” !
upvoted 2 times
...
blueorca
2 years, 11 months ago
Selected Answer: D
D is the correct answer
upvoted 2 times
...
govindrk
3 years, 3 months ago
D - 1 - create a repo 2 - clone the repo (mirror) 3 - push 4 - validate
upvoted 4 times
...
RLai
3 years, 3 months ago
Ans is D
upvoted 2 times
...
RLai
3 years, 3 months ago
Answer: D
upvoted 1 times
...
Rajarshi
3 years, 4 months ago
ans: D
upvoted 4 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago