Google Cloud Professional Cloud Developer — Question 236

Your application stores customers’ content in a Cloud Storage bucket, with each object being encrypted with the customer's encryption key. The key for each object in Cloud Storage is entered into your application by the customer. You discover that your application is receiving an HTTP 4xx error when reading the object from Cloud Storage. What is a possible cause of this error?

Answer options

Correct answer: B

Explanation

The correct answer is B because the read operation requires the base64-encoded SHA256 hash of the encryption key to properly authenticate and decrypt the object. Option A is incorrect because using the base64-encoded key alone will not suffice without the hash. Options C and D are also incorrect as they do not address the requirement for the SHA256 hash in the read operation.