Professional Cloud Security Engineer
Prepare and test your skills
Prepare and test your skills
Worked example. The correct answer is already marked and every option is explained below, so there is nothing to select here. To answer questions yourself, start the free trial.
Keep the momentum going with these hand-picked practice scenarios
Want more questions like this?
Get a free certification question every week.
Last updated
A financial enterprise is subject to strict regulatory compliance mandates governing data residency, cryptographic boundary isolation, and access governance. The security team needs to enforce the following controls across their Google Cloud environment:
Which combination of controls and Organization Policies should the enterprise implement?
Deploy VPC Service Controls around all service projects, configure Cloud KMS Autokey at the folder level, and grant roles/owner to the workload service accounts on the host project.
Apply the constraints/gcp.resourceLocations organization policy constraint, configure Cloud KMS with asymmetrical signing keys in a multi-region location, and grant roles/cloudkms.admin to the default Compute Engine service account.
Apply the constraints/gcp.restrictNonCmekServices and constraints/gcp.restrictCmekCryptoKeyProjects organization policies, create regional symmetric Cloud KMS keys in the dedicated project, and grant roles/cloudkms.cryptoKeyEncrypterDecrypter to the respective service agents on the specific keys.
Enable Data Access audit logs with DATA_READ for all services, disable default service account creation, and assign roles/cloudkms.cryptoKeyViewer to all workload identities on the KMS key ring.
Deploy VPC Service Controls around all service projects, configure Cloud KMS Autokey at the folder level, and grant roles/owner to the workload service accounts on the host project.
Apply the constraints/gcp.resourceLocations organization policy constraint, configure Cloud KMS with asymmetrical signing keys in a multi-region location, and grant roles/cloudkms.admin to the default Compute Engine service account.
Apply the constraints/gcp.restrictNonCmekServices and constraints/gcp.restrictCmekCryptoKeyProjects organization policies, create regional symmetric Cloud KMS keys in the dedicated project, and grant roles/cloudkms.cryptoKeyEncrypterDecrypter to the respective service agents on the specific keys.
This architecture combines native Google Cloud Organization Policy constraints with granular Identity and Access Management (IAM) permissions on regional Cloud KMS CryptoKeys to establish strict cryptographic boundary isolation, automated compliance enforcement, and least privilege access governance.
constraints/gcp.restrictNonCmekServices organization policy constraint blocks the creation of resources using Google default encryption across specified supported services, ensuring that data is encrypted using customer-managed keys.constraints/gcp.restrictCmekCryptoKeyProjects constraint restricts the resource hierarchy locations from which CMEK keys can be selected, ensuring keys only come from the approved, dedicated Cloud KMS project and valid regional locations.roles/cloudkms.cryptoKeyEncrypterDecrypter role directly on individual crypto keys to the specific Google-managed service agents (such as service-PROJECT_NUMBER@gcp-sa-...iam.gserviceaccount.com) ensures that only authorized workload identities can perform cryptographic operations without over-granting key administrative permissions.This solution uses native organization policies to automatically enforce compliance guardrails without requiring custom post-deployment remediation scripts. It perfectly balances preventative security controls with least-privilege identity access management.
Enable Data Access audit logs with DATA_READ for all services, disable default service account creation, and assign roles/cloudkms.cryptoKeyViewer to all workload identities on the KMS key ring.