exam questions

Exam Professional Cloud Developer All Questions

View all questions & answers for the Professional Cloud Developer exam

Exam Professional Cloud Developer topic 1 question 6 discussion

Actual exam question from Google's Professional Cloud Developer
Question #: 6
Topic #: 1
[All Professional Cloud Developer Questions]

You need to copy directory local-scripts and all of its contents from your local workstation to a Compute Engine virtual machine instance.
Which command should you use?

  • A. gsutil cp --project ג€my-gcp-projectג€ -r ~/local-scripts/ gcp-instance-name:~/server-scripts/ --zone ג€us-east1-bג€
  • B. gsutil cp --project ג€my-gcp-projectג€ -R ~/local-scripts/ gcp-instance-name:~/server-scripts/ --zone ג€us-east1-bג€
  • C. gcloud compute scp --project ג€my-gcp-projectג€ --recurse ~/local-scripts/ gcp-instance-name:~/server-scripts/ --zone ג€us-east1-bג€
  • D. gcloud compute mv --project ג€my-gcp-projectג€ --recurse ~/local-scripts/ gcp-instance-name:~/server-scripts/ --zone ג€us-east1-bג€
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

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
Blueocean
Highly Voted 2 years, 3 months ago
Agreed C is correct option
upvoted 5 times
...
Jhan_lopez
Most Recent 3 months, 4 weeks ago
Selected Answer: C
gcloud compute scp is used to copy or transfer files from a vm
upvoted 1 times
...
__rajan__
7 months, 1 week ago
Selected Answer: C
C is correct.
upvoted 1 times
...
tomato123
1 year, 8 months ago
Selected Answer: C
C is correct
upvoted 1 times
...
kinoko1330
1 year, 8 months ago
Selected Answer: C
C because of scp
upvoted 1 times
...
ruben82
1 year, 11 months ago
Selected Answer: C
C is the correct answer
upvoted 1 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