PCNE Implementing VPC Instances Practice Question
A security team needs to block traffic from a specific geographic region (country) from reaching their HTTP Load Balancer. Additionally, they need to allow traffic from specific IP ranges that are known to be legitimate, even if they originate from that blocked region. Which THREE steps should they take? (Choose THREE.)
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
✓
Attach the security policy to the backend service of the HTTPS Load Balancer
Cloud Armor allows you to create security policies with rules. Geo-blocking can be implemented by denying traffic based on geographic origin. To allow specific IP ranges from the blocked region, you need a rule with higher priority that allows those IPs before the deny rule. Attach the policy to the backend service of the HTTPS Load Balancer.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Attach the security policy to the backend service of the HTTPS Load Balancer
Why this is correct
Cloud Armor policies are applied to backend services.
- ✓
Create a Cloud Armor security policy with a rule that denies traffic from the country
Why this is correct
This rule blocks traffic based on geographic origin.
- ✗
Add a firewall rule in the VPC to deny traffic from the country
Why it's wrong here
Firewall rules are not evaluated for load-balanced traffic; the security policy is used.
- ✓
Create a Cloud Armor security policy with a higher-priority rule that allows the specific IP ranges
Why this is correct
Higher-priority rules (lower number) are evaluated first, so this allows the legitimate IPs before the deny rule.
- ✗
Use VPC Service Controls to restrict access from the country
Why it's wrong here
VPC Service Controls restrict API access, not HTTP traffic.
Go deeper
Related to this question
About these practice questions
Courseiva writes every PCNE question from scratch — 961 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
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.