GCP Professional Cloud Architect Practice Question
Your company exposes over 150 RESTful services through Apigee X. The security team must (1) block traffic arriving from several known malicious /24 CIDR ranges and (2) detect and stop SQL-injection attempts in request payloads. The operations team insists on a solution that introduces the least per-request latency and avoids forcing every proxy developer to modify individual API flows. Which design should you recommend?
Apply a Google Cloud Armor security policy with an IP denylist rule and the built-in sqli-* WAF rule to the external HTTP(S) load balancer in front of Apigee X.
Attach an AccessControl and JSON/XML ThreatProtection policy to every Apigee proxy so that each flow blocks the unwanted CIDRs and validates payloads.
Insert Cloud NAT in front of the Apigee runtime and configure it to drop packets from the malicious CIDR ranges while allowing other traffic through.
Create a shared flow containing custom JavaScript that checks source IPs and scans payloads for SQL keywords, then attach the flow as a pre-flow to all environments.
Applying a Google Cloud Armor security policy to the external HTTP(S) load balancer that fronts Apigee X meets both security requirements while satisfying the operational constraints. Cloud Armor's edge-optimized WAF offers pre-packaged sqli-* rules to detect SQL-injection signatures and lets you add IP-based allow/deny rules in the same policy. Because the policy is enforced at the load-balancer edge, it blocks unwanted traffic before it ever reaches any Apigee runtime instance, adding only sub-millisecond overhead and centralizing management in one place.
Adding AccessControl and JSON/XML Threat Protection policies (or custom JavaScript) inside each proxy would require updating all 150 proxies, increasing maintenance effort and the risk of inconsistent configurations. Cloud NAT filters only egress traffic and provides no L7 inspection, so it cannot satisfy the stated requirements.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is Google Cloud Armor?
Open an interactive chat with Bash
What are CIDR ranges and why are they important in this context?
Open an interactive chat with Bash
How does a Web Application Firewall (WAF) detect and prevent SQL injection attacks?
Open an interactive chat with Bash
What is Google Cloud Armor?
Open an interactive chat with Bash
What does the sqli-* WAF rule in Cloud Armor do?
Open an interactive chat with Bash
Why is Cloud NAT not suitable in this scenario?
Open an interactive chat with Bash
GCP Professional Cloud Architect
Managing implementation
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .