🔥 40% Off Crucial Exams Memberships — Deal ends today!

12 minutes, 12 seconds remaining!

GCP Professional Cloud Security Engineer Practice Question

Your security team must ensure that no Google Cloud project in the organization can attach an external IPv4 address to a new or existing Compute Engine VM instance, except for a designated "edge-dmz" project used by the networking team. Project owners must not be able to override this control, but the networking team must retain the ability to create VMs with external IPs inside the edge-dmz project. Which approach best meets these requirements while following the principle of least privilege and minimizing ongoing administration effort?

  • Place all projects except edge-dmz inside a VPC Service Controls perimeter to block any use of external IP addresses.

  • Set the Organization-level Organization Policy constraint "constraints/compute.vmExternalIpAccess" to DENY all projects except the edge-dmz project by listing it in the allowed values.

  • Create an IAM Deny policy at the Organization level that blocks the permissions compute.instances.setMetadata and compute.instances.update for all principals except those in the edge-dmz project.

  • Remove the Compute Engine Admin role from all projects except edge-dmz and rely on standard IAM inheritance to prevent external IP creation elsewhere.

GCP Professional Cloud Security Engineer
Configuring Access
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