Which command should you use?

You want to upload files from an on-premises virtual machine to Google Cloud Storage as part of a data migration. These files will be consumed by Cloud DataProc Hadoop cluster in a GCP environment.

Which command should you use?
A . gsutil cp [LOCAL_OBJECT] gs://[DESTINATION_BUCKET_NAME]/
B . gcloud cp [LOCAL_OBJECT] gs://[DESTINATION_BUCKET_NAME]/
C . hadoop fs cp [LOCAL_OBJECT] gs://[DESTINATION_BUCKET_NAME]/
D . gcloud dataproc cp [LOCAL_OBJECT] gs://[DESTINATION_BUCKET_NAME]/

Answer: A

Explanation:

The gsutil cp command allows you to copy data between your local file. storage. boto files generated by running "gsutil config"

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments