Question 33 of 500
Managing operations in a cloud solution environmentmediumMultiple ChoiceObjective-mapped

Quick Answer

The answer is a VPC firewall rule priority conflict blocking SSH, specifically because the deny-all rule with priority 2000 takes precedence over the default-allow-internal rule with priority 65534. In Google Cloud VPC firewall rules, a lower priority number means higher precedence, so the deny-all rule, which blocks all TCP traffic from the 10.0.0.0/8 range, overrides the permissive default-allow-internal rule and prevents SSH (TCP port 22) from reaching the VM at 10.128.0.5. This scenario tests your understanding of firewall rule evaluation order and priority hierarchies, a common trap on the Google Professional Cloud Security Engineer exam where candidates mistakenly assume that a more specific allow rule always wins. The key insight is that explicit deny rules with higher priority (lower number) will always block traffic, even if a lower-priority allow rule exists. Memory tip: think of priority numbers like a race—lower numbers finish first and get the final say.

PCSE Practice Question: Managing operations in a cloud solution environment

This PCSE practice question tests your understanding of managing operations in a cloud solution environment. The scenario asks you to isolate a root cause — eliminate options that address a different problem before choosing. 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.

Exhibit

$ gcloud compute firewall-rules list --format="table(name, network, priority, allow, sourceRanges)"
NAME         NETWORK    PRIORITY  ALLOW              SOURCE_RANGES
allow-http   default    1000      tcp:80             0.0.0.0/0
allow-https  default    1000      tcp:443            0.0.0.0/0
deny-all     default    2000      tcp:0-65535        10.0.0.0/8
default-allow-internal default 65534 tcp:0-65535,udp:0-65535,icmp  10.128.0.0/9

Refer to the exhibit. A VM in the default network with internal IP 10.128.0.5 is unable to reach a VM at 10.0.0.4 over TCP port 22. What is the most likely cause?

Clue words in this question

Noticing these words before you look at the options changes how you read each choice.

  • Clue: "most likely"

    Why it matters: Probability qualifier — the question wants the most probable cause or outcome, not a guaranteed one. Eliminate low-probability options.

Question 1mediummultiple choice
Full question →

Exhibit

$ gcloud compute firewall-rules list --format="table(name, network, priority, allow, sourceRanges)"
NAME         NETWORK    PRIORITY  ALLOW              SOURCE_RANGES
allow-http   default    1000      tcp:80             0.0.0.0/0
allow-https  default    1000      tcp:443            0.0.0.0/0
deny-all     default    2000      tcp:0-65535        10.0.0.0/8
default-allow-internal default 65534 tcp:0-65535,udp:0-65535,icmp  10.128.0.0/9

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

The deny-all rule has higher priority than default-allow-internal.

Option C is correct. The deny-all rule (priority 2000) has a higher priority (lower number) than the default-allow-internal rule (priority 65534). Since the deny-all rule blocks all TCP traffic from the 10.0.0.0/8 range, it overrides the default-allow-internal rule, blocking SSH traffic from 10.0.0.4 to 10.128.0.5. Option A is incorrect because the deny rule denies traffic from 10.0.0.0/8, not to it. Option B is incorrect because default-allow-internal allows all TCP traffic. Option D is incorrect because default-allow-internal covers SSH; the issue is priority.

Key principle: 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.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • The deny-all rule blocks traffic from 10.0.0.4 to the VM.

    Why it's wrong here

    The deny-all rule denies traffic from 10.0.0.0/8, which includes 10.0.0.4, so it does block traffic from that IP, but the question asks for the cause; the priority override is the key.

  • The deny-all rule has higher priority than default-allow-internal.

    Why this is correct

    Deny-all (priority 2000) has higher priority (numerically lower) than default-allow-internal (priority 65534), so it overrides the allow rule.

    Clue confirmation

    The clue word "most likely" in the question point toward this answer.

    Related concept

    Standard ACLs match source addresses.

  • The default-allow-internal rule does not cover port 22.

    Why it's wrong here

    Default-allow-internal allows all TCP ports, including 22.

  • There is no rule allowing SSH traffic from 10.0.0.4.

    Why it's wrong here

    Default-allow-internal allows all TCP, so SSH is allowed; but it is overridden by the deny rule.

Common exam traps

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.

Detailed technical explanation

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.

Real-world example

How this comes up in practice

An e-commerce site experiences heavy traffic on Black Friday and near-zero traffic during off-peak weeks. Rather than provisioning permanent large VMs, the team uses auto-scaling groups that add capacity automatically under load and reduce it overnight. Questions like this test whether you understand elasticity, availability zones, and cloud compute scaling patterns.

What to study next

Got this wrong? Here's your next step.

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 PCSE ACL questions on filtering logic and placement.

Related practice questions

Related PCSE practice-question pages

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

Practice this exam

Start a free PCSE 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 PCSE question test?

Managing operations in a cloud solution environment — This question tests Managing operations in a cloud solution environment — Standard ACLs match source addresses..

What is the correct answer to this question?

The correct answer is: The deny-all rule has higher priority than default-allow-internal. — Option C is correct. The deny-all rule (priority 2000) has a higher priority (lower number) than the default-allow-internal rule (priority 65534). Since the deny-all rule blocks all TCP traffic from the 10.0.0.0/8 range, it overrides the default-allow-internal rule, blocking SSH traffic from 10.0.0.4 to 10.128.0.5. Option A is incorrect because the deny rule denies traffic from 10.0.0.0/8, not to it. Option B is incorrect because default-allow-internal allows all TCP traffic. Option D is incorrect because default-allow-internal covers SSH; the issue is priority.

What should I do if I get this PCSE 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 PCSE ACL questions on filtering logic and placement.

Are there clue words in this question I should notice?

Yes — watch for: "most likely". Probability qualifier — the question wants the most probable cause or outcome, not a guaranteed one. Eliminate low-probability options.

What is the key concept behind this question?

Standard ACLs match source addresses.

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

Same concept, more angles

2 more ways this is tested on PCSE

These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.

Variation 1. Which THREE steps are most effective for troubleshooting a VPC firewall rule issue where desired traffic is being blocked?

hard
  • A.Check IAM permissions for the VM's service account
  • B.Check firewall rule logs in Cloud Logging
  • C.Verify that the network tags on instances match the target tags in the firewall rule
  • D.Review VPC flow logs to see if traffic is reaching the VM
  • E.Inspect the route tables for the subnet

Why B: Options A, B, and D are correct. Checking firewall logs reveals denied traffic. Verifying network tags ensures instances match the target tags. Reviewing VPC flow logs shows actual traffic flows. Option C (check IAM permissions) is less relevant because firewall rules are network-level, not identity-based. Option E (inspect route tables) affects routing, not firewall blocking.

Variation 2. An engineer notices that traffic on port 80 is not reaching instances with the tag 'http-server'. The instances have external IPs and are in the default VPC. What could be the reason?

easy
  • A.The sourceRanges does not include the instance's public IP.
  • B.The targetTags are not applied to the instances.
  • C.A deny rule with a lower priority number (higher priority) exists and blocks the traffic.
  • D.The direction should be EGRESS.

Why C: Option B is correct because if a deny rule with a lower priority number (higher priority) exists, it will block traffic despite the allow rule. Option A is incorrect because sourceRanges includes all IPs. Option C is incorrect because the rule targets the correct tags. Option D is incorrect because direction is correctly INGRESS for incoming traffic.

Last reviewed: Jun 24, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

This PCSE 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 PCSE exam.