Google Cloud Associate Cloud Engineer — Question 26
You have 32 GB of data in a single file that you need to upload to a Nearline Storage bucket. The WAN connection you are using is rated at 1 Gbps, and you are the only one on the connection. You want to use as much of the rated 1 Gbps as possible to transfer the file rapidly. How should you upload the file?
Answer options
- A. Use the GCP Console to transfer the file instead of gsutil.
- B. Enable parallel composite uploads using gsutil on the file transfer.
- C. Decrease the TCP window size on the machine initiating the transfer.
- D. Change the storage class of the bucket from Nearline to Multi-Regional.
Correct answer: B
Explanation
The correct answer is B because enabling parallel composite uploads allows gsutil to split the file into smaller components and upload them concurrently, maximizing the use of the available bandwidth. Option A is not optimal since gsutil is more efficient for large file transfers. Option C would actually hinder performance by reducing the TCP window size, and option D does not address the transfer speed directly since it changes the storage class rather than improving the upload process.