Practice Test 2 | Google Cloud Certified Professional Cloud Architect | Dumps | Mock Test
You are transferring a very large number of small files to Google Cloud Storage from an on-premises location. You need to speed up the transfer of your files. Assuming a fast network connection, what two actions can you do to help speed up the process?
Choose the 2 correct answers:
A. Compress and combine files before transferring.
B. Use the -r option for large transfers.
C. Copy the files in bigger pieces at a time.
D. Use the -m option for multi-threading on transfers.
Correct Answer A and D
Feedback
B – Use the -r option for large transfers. The -R and -r options are synonymous. Causes directories, buckets, and bucket subdirectories to be copied recursively.
C – Copy the files in bigger pieces at a time. No applicable to the question requirements
D (Correct answer) – Use the -m option for multi-threading on transfers.
If you have a large number of files to transfer you might want to use the gsutil -m option, to perform a parallel (multi-threaded/multi-processing) copy:
gsutil -m cp -r dir gs://my-bucket
A (Correct answer) – Compress and combine files before transferring. Compressing and combining smaller files info fewer larger files is also a best practice for speeding up transfer speeds because it saves network bandwidth and space in Google Cloud Storage
gsutil cp -z html -a public-read cattypes.html tabby.jpeg gs://mycats
Reference
cp – Copy files and objects https://cloud.google.com/storage/docs/gsutil/commands/cp
Comments are closed, but trackbacks and pingbacks are open.