Google Cloud Professional Data Engineer — Question 122
Your company needs to upload their historic data to Cloud Storage. The security rules don't allow access from external IPs to their on-premises resources. After an initial upload, they will add new data from existing on-premises applications every day. What should they do?
Answer options
- A. Execute gsutil rsync from the on-premises servers.
- B. Use Dataflow and write the data to Cloud Storage.
- C. Write a job template in Dataproc to perform the data transfer.
- D. Install an FTP server on a Compute Engine VM to receive the files and move them to Cloud Storage.
Correct answer: A
Explanation
The correct answer is A because using gsutil rsync allows for efficient synchronization of files from on-premises servers to Cloud Storage, adhering to the security restrictions. Options B and C involve services that may not be necessary for simple file transfers and could complicate the process. Option D introduces an FTP server, which may not comply with the security policies and adds unnecessary complexity.