GCP Professional Cloud Security Engineer Practice Question

Your financial-services firm has 100+ Google Cloud projects under a single organization. To meet new PCI DSS rules, security requires that: 1) any new Compute Engine VM must launch without an external (public) IP, and 2) no new service-account keys may be created. Enforcement must be automatic for all current and future projects, yet the central security team must be able to grant a short exception to a specific project when necessary. As the security engineer, which approach best meets these goals while minimizing effort?

  • Move every project into a Shared VPC where internet egress is disabled and strip the serviceAccount.keys.create permission from all IAM roles at the organization level; re-grant the permission in projects that need an exception.

  • Define organization policies at the organization root that enforce the constraints "compute.vmExternalIpAccess" (deny all) and "iam.disableServiceAccountKeyCreation". Use policy inheritance so the security team can override either constraint at a specific project or folder when an approved exception is needed.

  • Deploy a centralized Cloud Function triggered by Cloud Audit Logs that deletes any VM with an external IP or any newly created service account key; modify the function's allowlist in Firestore whenever an exception is required.

  • Create a VPC Service Controls perimeter that blocks egress to 0.0.0.0/0 for every project and add a custom constraint that prevents assigning the iam.serviceAccountKeyAdmin role; temporarily remove the project from the perimeter and role restriction to grant an exception.

GCP Professional Cloud Security Engineer
Supporting compliance requirements
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot