
Answer-first summary for fast verification
Answer: 1. Use gsutil -m to upload the files to Cloud Storage. 2. Use gsutil hash -c FILE_NAME to generate CRC32C hashes of all on-premises files. 3. Use gsutil ls -L gs://[YOUR_BUCKET_NAME] to collect CRC32C hashes of the uploaded files. 4. Compare the hashes.
The correct answer is D. This option outlines a method that leverages built-in tools to ensure data integrity without unnecessary steps or custom development. By using gsutil to generate CRC32C hashes for the on-premises files and the uploaded files, you can directly compare these hashes to verify the integrity of the data with minimal cost and effort. This approach takes advantage of the CRC32C hash capabilities in gsutil, avoiding the overhead of downloading files back from Cloud Storage or developing a custom Java application.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
Your company, which handles a large volume of critical data, is planning to migrate several important files to Google Cloud Storage. Ensuring data integrity post-migration is crucial, and the team wants to verify that the uploaded files are identical to the ones stored on-premises. Given the need to minimize both cost and effort, what is the most optimal method to ensure data integrity?
A
B
C
D
No comments yet.