Question 28 of 300
mediummultiple choiceObjective-mapped

ACE Practice Question: Prevent developers from creating Compute Engine…

This ACE practice question tests your understanding of prevent developers from creating compute engine…. Match the stated requirement to the specific cloud service, access model, or configuration option — many options are valid in isolation but not for this scenario. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.

You need to prevent developers from creating Compute Engine VMs with external IP addresses in a specific folder. Developers must still be able to create VMs with internal IPs only. Which org policy constraint enforces this?

Question 1mediummultiple choice
Full question →

You need to prevent developers from creating Compute Engine VMs with external IP addresses in a specific folder. Developers must still be able to create VMs with internal IPs only. Which org policy constraint enforces this?

Answer choices

Why each option matters

Good practice is not just finding the correct option. The wrong answers often show the exact trap the exam wants you to fall into.

A

Best answer

Apply the `compute.vmExternalIpAccess` org policy constraint set to deny all VMs.

This list constraint controls which VMs can have external IPs. An empty or deny-all allowedValues list prevents any VM in the folder from being created with an external IP address.

B

Distractor review

Configure the default VPC network to use internal-only routes.

Route configuration doesn't prevent external IP assignment at VM creation. VMs can be assigned external IPs regardless of route configuration.

C

Distractor review

Create a VPC firewall rule blocking all outbound internet traffic.

A firewall rule can block traffic but doesn't prevent VMs from being assigned external IPs — the IP assignment happens at VM creation, before traffic policies apply.

D

Distractor review

Remove the `compute.instanceAdmin` role from developers so they cannot configure network interfaces.

Revoking compute.instanceAdmin prevents VM creation entirely — too restrictive. The requirement is to allow VM creation but only without external IPs.

Common exam trap

Common exam trap: ACLs stop at the first match

ACLs are processed top to bottom. The first matching entry wins, and an implicit deny usually exists at the end.

Technical deep dive

How to think about this question

ACL questions test precision: source, destination, protocol, port and direction. A generally correct ACL can still fail if it is applied on the wrong interface or in the wrong direction.

KKey Concepts to Remember

  • Standard ACLs match source addresses.
  • Extended ACLs can match source, destination, protocol and ports.
  • The first matching ACL entry is used.
  • There is usually an implicit deny at the end.

TExam Day Tips

  • Check inbound versus outbound direction.
  • Read the ACL from top to bottom.
  • Look for a broader permit or deny above the intended line.

Key takeaway

ACLs process entries top to bottom and stop at the first match. Entry order and interface direction matter as much as the permit or deny statement.

Related practice questions

Related ACE practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

More questions from this exam

Keep practising from the same exam bank, or move into a focused topic page if this question exposed a weak area.

Practice this exam

Start a free ACE practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this ACE question test?

Standard ACLs match source addresses.

What is the correct answer to this question?

The correct answer is: Apply the `compute.vmExternalIpAccess` org policy constraint set to deny all VMs. — `compute.vmExternalIpAccess` is an organization policy list constraint that controls which VMs are allowed to have external IP addresses. By setting the policy to `allowedValues: []` (empty list, i.e., no VMs allowed external IPs) or by explicitly denying all values, all new VMs in the folder's projects will be created without external IPs. Existing VMs with external IPs are not affected by the policy but new ones will be blocked.

What should I do if I get this ACE question wrong?

Review ACL processing order, placement rules (standard near destination, extended near source), and inbound vs outbound direction. Study wildcard masks and implicit deny. Then practise related ACE ACL questions on filtering logic and placement.

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Discussion

Loading comments…

Sign in to join the discussion.

This ACE practice question is part of Courseiva's free Google Cloud certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the ACE exam.