The answer is that the IAM permission error when deleting a managed firewall rule occurs because the rule is owned by another service, not because Alice lacks the correct role. Alice holds roles/compute.securityAdmin, which includes the compute.firewalls.delete permission, so the error is not a standard IAM policy issue. Instead, the rule is likely managed by a service like Google Kubernetes Engine, Google Cloud Armor, or Firewall Rules Manager, which applies a managed label or enforces a hierarchical resource lock that blocks direct deletion via the compute.firewalls API. On the Google Professional Cloud Network Engineer exam, this scenario tests your understanding that managed firewall rules require deletion through their controlling service, not through the VPC firewall rules interface—a common trap where candidates assume a permission error means a missing role. Remember the memory tip: "If the rule has a manager, don't be a stranger—delete through the service, not the firewall."
PCNE Implementing network security Practice Question
This PCNE practice question tests your understanding of implementing network security. 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.
Refer to the exhibit. A project has the IAM policy shown. Alice is trying to delete a VPC firewall rule but receives a permission error. What is the most likely reason?
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.
Alice has the role roles/compute.securityAdmin, which should allow deletion; perhaps the rule is managed by another service
roles/compute.securityAdmin includes firewall rule deletion. If Alice still gets an error, it might be due to hierarchical policies or the rule being managed by another service like Firewall Insights.
B
The IAM policy has a condition that denies deletion after business hours
Why wrong: The policy shown does not include any conditions.
C
An organization policy prevents deletion of firewall rules in this project
Why wrong: No evidence of an org policy in the exhibit.
D
Bob has the role roles/compute.networkAdmin, which does not include permissions to delete firewall rules
Why wrong: But Alice is the one trying to delete, not Bob.
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Alice has the role roles/compute.securityAdmin, which should allow deletion; perhaps the rule is managed by another service
Alice has the role roles/compute.securityAdmin, which includes the compute.firewalls.delete permission. However, if the VPC firewall rule is managed by another service (e.g., Firewall Rules Manager, Google Cloud Armor, or a managed service like GKE), the rule may have a 'managed' label or be part of a service-managed resource hierarchy that prevents direct deletion via the compute.firewalls.delete API. In such cases, the rule must be deleted through the managing service, not directly via the firewall rules API, leading to a permission error despite having the correct role.
Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
✓
Alice has the role roles/compute.securityAdmin, which should allow deletion; perhaps the rule is managed by another service
Why this is correct
roles/compute.securityAdmin includes firewall rule deletion. If Alice still gets an error, it might be due to hierarchical policies or the rule being managed by another service like Firewall Insights.
Clue confirmation
The clue word "most likely" in the question point toward this answer.
Related concept
Read the scenario before looking for a memorised answer.
✗
The IAM policy has a condition that denies deletion after business hours
Why it's wrong here
The policy shown does not include any conditions.
✗
An organization policy prevents deletion of firewall rules in this project
Why it's wrong here
No evidence of an org policy in the exhibit.
✗
Bob has the role roles/compute.networkAdmin, which does not include permissions to delete firewall rules
Why it's wrong here
But Alice is the one trying to delete, not Bob.
Common exam traps
Common exam trap: answer the scenario, not the keyword
Google Cloud often tests the misconception that having the correct IAM role (like compute.securityAdmin) always grants full control over all firewall rules, ignoring that managed services can impose additional deletion restrictions that override the base IAM permissions.
Trap categories for this question
Command / output trap
The policy shown does not include any conditions.
Detailed technical explanation
How to think about this question
In Google Cloud, firewall rules can be 'managed' by other services such as GKE, Firewall Rules Manager, or VPC Service Controls. When a rule is managed, it has a 'managed' label and its deletion is restricted to the managing service's API or console. The compute.firewalls.delete permission alone is insufficient; the caller must also have the appropriate service-specific permission (e.g., gke.firewalls.delete) or use the managing service's interface. This is enforced via IAM conditions or resource-level metadata that checks the 'managed' status before allowing deletion.
KKey Concepts to Remember
Read the scenario before looking for a memorised answer.
Find the constraint that changes the correct option.
Eliminate answers that are true in general but not in this case.
TExam Day Tips
→Watch for words such as best, first, most likely and least administrative effort.
→Review why wrong options are wrong, not only why the correct option is correct.
Key takeaway
Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Real-world example
How this comes up in practice
A company's IT admin needs to give a contractor read-only access to production logs without sharing account credentials. Using role-based access control (RBAC) and temporary scoped permissions — not a permanent shared password — is the correct pattern. Questions like this test whether you can apply least-privilege access across cloud identity services.
What to study next
Got this wrong? Here's your next step.
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
Implementing network security — This question tests Implementing network security — Read the scenario before looking for a memorised answer..
What is the correct answer to this question?
The correct answer is: Alice has the role roles/compute.securityAdmin, which should allow deletion; perhaps the rule is managed by another service — Alice has the role roles/compute.securityAdmin, which includes the compute.firewalls.delete permission. However, if the VPC firewall rule is managed by another service (e.g., Firewall Rules Manager, Google Cloud Armor, or a managed service like GKE), the rule may have a 'managed' label or be part of a service-managed resource hierarchy that prevents direct deletion via the compute.firewalls.delete API. In such cases, the rule must be deleted through the managing service, not directly via the firewall rules API, leading to a permission error despite having the correct role.
What should I do if I get this PCNE question wrong?
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
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?
Read the scenario before looking for a memorised answer.
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 →
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.
This PCNE 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 PCNE exam.
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.
Sign in to join the discussion.