CLOUD-NETWORK practice question 2 of 30
You recently configured Google Cloud Armor security policies to manage traffic to your application. You discover that Google Cloud Armor is incorrectly blocking some traffic to your application. You need to identity the web application firewall (WAF) rule that is incorrectly blocking traffic. What should you do?
Full set: 233 questionsGoogle Cloud Armor security policy actions are logged through the logging service of the associated backend, which is typically an HTTP(S) Load Balancer. To troubleshoot and identify the specific rule blocking traffic, you must enable logging for the load balancer's backend service or backend bucket. By setting the sampling rate to 1 (100%), you ensure all requests are logged. You can then query these logs in Cloud Logging and inspect the jsonPayload.enforcedSecurityPolicy field, which contains the name of the matched policy and the outcome (e.g., "DENY"), directly identifying the problematic rule.
A. Firewall Insights is a tool for analyzing VPC Firewall Rules, not Google Cloud Armor security policies.
C. VPC Flow Logs operate at L3/L4 and lack the L7 visibility needed to inspect HTTP requests or identify which WAF rule was triggered.
D. Google Cloud Armor audit logs record administrative changes (e.g., policy creation/updates), not the evaluation of individual traffic requests against those policies.
- Google Cloud Documentation, "Google Cloud Armor security policy logging". (https://cloud.google.com/armor/docs/security-policy-logging). This document states, "Google Cloud Armor writes logs for requests that are allowed or denied by security policies to Cloud Logging... To view Google Cloud Armor logs, you must enable logging for the backend service of an external HTTP(S) load balancer".
- Google Cloud Documentation, "HTTP(S) Load Balancing logging and monitoring". (https://cloud.google.com/load-balancing/docs/https/logging-monitoring). This page details the log fields, including enforcedSecurityPolicy, which is populated with Cloud Armor rule details. It also explains how to configure the logging sampling rate.
Keep practicing
Take the free CLOUD-NETWORK practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other CLOUD-NETWORK practice questions
- Question 1You are configuring the final elements of a migration effort where resources have been mo…
- Question 3You want to create a service in GCP using IPv6. What should you do?
- Question 4You work for a multinational enterprise that is moving to GCP. These are the cloud requir…
- Question 5You have a storage bucket that contains two objects. Cloud CDN is enabled on the bucket, …
- Question 6You want to establish a dedicated connection to Google that can access Cloud SQL via a pu…
- Question 7You are designing a packet mirroring policy as pan of your network security architecture …
