Question-16: You can store data in Google's cloud by using a service called Google Cloud Storage. The storage of unstructured data is the most common usage for cloud storage. You have the ability to add items of any sort and size, with a storage capacity of up to 5 TB. The term Google Cloud refers to a platform that enables companies to make advantage of the cloud computing services offered by Google to run their apps. Additionally, organizations are able to use Google's machine learning and artificial intelligence capabilities via the utilization of Google Cloud. Drive is not a platform, and it does not offer all of the same functionality that Cloud provides. Your organization has tentative plans to transfer a number of critically vital data to a cloud storage service. After the upload has been finished, they want to make sure that the material that has been uploaded is the same as the content that is stored on their premises. You are looking to carry out this check with as little expense and labour as possible. What action should you take?
A. 1. Compute a digest of the files you intend to submit by using the shasum tool in Linux. 2. To upload all of the files to Cloud Storage, use the gsutil -m command. 3. To download the files that have been submitted, use the gsutil cp programme. 4. Compute a digest of the downloaded files by using the shasum programme in Linux. 5. Evaluate the different hashes.
B. 1. Upload the files to Cloud Storage by using the gsutil -m command. 2. Construct a bespoke Java programme that is capable of calculating CRC32C hashes. 3. To collect the CRC32C hashes of the files that have been uploaded, use the command gsutil ls -L gs:/[YOUR BUCKET NAME]. 4. Evaluate each of the hashes.
C. 1. To upload all of the files to Cloud Storage, use the gsutil -m command. 2. To download the files that have been uploaded, run gsutil cp. 3. To compare the contents of the files, use the Linux diff program.
D. 1. Upload the files to Cloud Storage by using the gsutil -m command. 2. To generate CRC32C hashes of all of the files stored on-premises, use the gsutil hash -c FILE NAME command. 3. To gather the CRC32C hashes of the files that have been uploaded, use the command gsutil ls -L gs:/[YOUR BUCKET NAME]. 4. Evaluate each of the hashes.
Correct Answer

Get All 340 Questions and Answer for Google Professional Cloud Architect

: 4 Explanation: Perform hash calculations on the local files, which may then be used to compare with the result of gsutil ls -L. This command will compute all of the gsutil-supported hashes for the files if a specified hash option is not given on the command line. It is important to keep in mind that gsutil validates hashes automatically whenever files are uploaded or downloaded; thus, you only need to use this command if you wish to develop a script that verifies the hash on its own. It will take a very long time to hash files if you compute a CRC32c hash for them without first having a precompiled crcmod installation. For further information, see the gsutil help crcmod.