GCP-ACE - Ensuring the successful operation of a cloud solution - Section 3.2

Manage storage and data solutions, including securing objects in Cloud Storage buckets, setting object lifecycle management policies, querying data instances, backing up and restoring database instances, and configuring customer-managed encryption keys.

Manage and secure Cloud Storage objects and apply lifecycle rules that transition or delete objects by age or storage class. Run queries against data instances such as Cloud SQL, BigQuery, and Spanner, back up and restore database instances, estimate storage cost, and configure customer-managed encryption keys (CMEK) where key control is required.

Cloud Storage securityObject lifecycle managementDatabase backup and restoreCustomer-managed encryption keys

Practice question for this objective

Free sampleEnsuring the successful operation of a cloud solutionmedium

An organization's policy requires that it control the encryption keys used for a new Cloud Storage bucket rather than relying on Google-managed keys. The engineer has created a key in Cloud KMS in the same region as the bucket. What remaining step lets Cloud Storage use that key to encrypt new objects?

  • AGrant the Cloud Storage service agent the Cloud KMS CryptoKey Encrypter/Decrypter role on the key, then set the key as the bucket's default encryption key. Correct
  • BGrant the engineer's own user account the Cloud KMS CryptoKey Encrypter/Decrypter role, then set the key as the bucket default.
  • CDownload the key material from Cloud KMS and supply it with each upload as a customer-supplied encryption key.
  • DEnable uniform bucket-level access, which routes object encryption through the Cloud KMS key automatically.
Configure CMEK by granting the Cloud Storage service agent Encrypter/Decrypter on the KMS key and setting it as the bucket default. Cloud Storage calls Cloud KMS as its service agent to wrap and unwrap object data keys, so that agent needs Encrypter/Decrypter on the CMEK before the bucket default key can take effect on new writes.

Why A is correct: The Cloud Storage service agent must hold Encrypter/Decrypter on the CMEK, after which setting the key as the bucket default causes new objects to be encrypted with it.

Why B is wrong: Cloud Storage encrypts objects using its own service agent, not the engineer's identity, so granting the role to a user does not let the service perform envelope encryption.

Why C is wrong: Cloud KMS keys cannot be exported, and supplying raw key bytes per request is the customer-supplied encryption model, which is a different feature from CMEK.

Why D is wrong: Uniform bucket-level access governs how access is authorised and has no role in selecting an encryption key, so it cannot bind the CMEK to the bucket.

See more GCP-ACE practice questions, answers explained.

More in this domain

Back to all Ensuring the successful operation of a cloud solution objectives, or the GCP-ACE cert hub.

Examworthy is not affiliated with or endorsed by Google Cloud. Original, blueprint-aligned practice material only.