Practice Test 3 | Google Cloud Certified Professional Cloud Network Engineer | Dumps | Mock Test
You are tasked with copying over a large number of small files from the on-premises network (my-ntk-folder) to GCP Cloud Storage (my-gcp-bucket). Which of the following commands optimizes the transfer time?
A. gcloud -m cp -r /my-ntk-folder gs://my-gcp-bucket
B. gsutil cp –r /my-ntk-folder gs://my-gcp-bucket.
C. gcloud cp -r /my-ntk-folder gs://my-gcp-bucket.
D. gsutil –m cp -r /my-ntk-folder gs://my-gcp-bucket
Answer: D
Options A and C are incorrect, the gsutil tool is used to interact with Cloud Storage from the CLI.
Option B is incorrect because it does not use the multi-threading option (–m) for copying multiple files at the same time
Option D is correct because it uses the multi-threading option (–m) for copying multiple files at the same time along with performing recursive directory copies, object names are constructed to mirror the source directory structure starting at the point of recursive processing
Reference
Comments are closed, but trackbacks and pingbacks are open.