Which command should you use?

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/ gcpinstance-name:~/server-scripts/ –zone “us-east1-b”
D . gcloud compute mv –project “my-gcp-project” –recurse ~/local-scripts/ gcpinstance-name:~/server-scripts/ –zone “us-east1-b”

Answer: C

Explanation:

Reference: https://cloud.google.com/sdk/gcloud/reference/compute/copy-files

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments