Hard1 markMultiple Choice

GCP PCA · Question 40 · Design a solution infrastructure that meets business requirements

Your enterprise has a strict policy that no public IP addresses can be assigned to Compute Engine instances, and all resources must be deployed in the europe-west1 region. How can you enforce these rules organization-wide? (Select TWO)

Answer options:

A.

Apply an Organization Policy constraint to disable external IP addresses for Compute Engine.

B.

Create a VPC Firewall rule to block all outbound traffic to 0.0.0.0/0.

C.

Apply an Organization Policy constraint to restrict resource locations to europe-west1.

D.

Use IAM conditions to remove the compute.instances.create permission if the region is not europe-west1.

E.

Configure Cloud NAT to translate all public IPs to private IPs.

How to approach this question

Identify the GCP service used for centralized governance and guardrails.

Full Answer

Apply an Organization Policy constraint to disable external IP addresses for Compute Engine., Apply an Organization Policy constraint to restrict resource locations to `europe-west1`.
The Organization Policy Service gives you centralized and programmatic control over your organization's cloud resources. It acts as a guardrail. Even if a user has the IAM permission to create a VM, an Organization Policy can block them from assigning a public IP or deploying it in an unauthorized region.

Common mistakes

Confusing IAM (who can do what) with Organization Policies (what can be done).

Practice the full GCP Professional Cloud Architect Practice Exam 1

50 questions · hints · full answers · grading

More questions from this exam