Prepare and test your skills
Prepare and test your skills
Free sample question, answered and explained below. The Professional Cloud Security Engineer practice bank has 1,343 more like it. Try 10 free: instant score, no account.
An enterprise has enabled Cloud Next Generation Firewall (Cloud NGFW) Enterprise with Intrusion Detection and Prevention Service (IDPS) in a global network firewall policy. A security engineer is investigating a potential command-and-control communication attempt targeting an internal Compute Engine workload. The engineer needs to query Cloud Logging to locate the Layer 7 threat detection record generated by the firewall endpoint and correlate it with the firewall policy rule execution.
Which query strategy and log structure should the security engineer use in Cloud Logging to analyze both events?
VPC Flow Logs records network telemetry for TCP and UDP flows sent to and from Compute Engine virtual machine (VM) instances. It samples network packets at the network interface level to monitor traffic patterns, network troubleshooting, and bandwidth analysis.
SRC or DEST relative to the VM boundary, not FIREWALL_ENDPOINT.The objective was to monitor aggregate network traffic volumes, analyze inter-subnet communication paths, or perform general egress bandwidth auditing across VPC subnets without Layer 7 signature inspection.
Google Cloud Armor HTTP(S) request logs are generated by external and internal Application Load Balancers. These logs capture web application firewall (WAF) rule evaluations, rate-limiting actions, and Adaptive Protection alerts for HTTP/HTTPS requests targeting load-balanced backend services.
ACCEPT or DENY, and Adaptive Protection logs appear under the Network Security Policy resource type rather than generating THREAT_DETECTED outcomes in general load balancer request logs.threatDetails, securityProfileGroupDetails, or firewall endpoint connection tuples.The scenario required investigating Layer 7 web application attacks (such as SQL injection or cross-site scripting) targeting public-facing web applications protected by Cloud Armor security policies on an external Application Load Balancer.
Cloud Next Generation Firewall (Cloud NGFW) Enterprise provides advanced Layer 7 inspection powered by intrusion detection and prevention technologies. When traffic matches a firewall policy rule configured with the apply_security_profile_group action, Cloud NGFW evaluates the packet against defined threat prevention security profiles. Cloud NGFW generates distinct log streams in Cloud Logging: one for the initial firewall policy rule match and another for the deep packet Layer 7 inspection performed by the firewall endpoint.
networksecurity.googleapis.com/FirewallEndpoint and log name networksecurity.googleapis.com/firewall_threat. This record contains the threatDetails payload with critical telemetry including threat ID, severity, CVE references, and the applied action.jsonPayload.rule_details.action is logged as APPLY_SECURITY_PROFILE_GROUP. The engineer can cross-reference the connection 5-tuple (source IP, source port, destination IP, destination port, and protocol) between the firewall rule log and the threat log to pinpoint the exact connection and policy rule.category, threat_id, alert_severity, and direction (CLIENT_TO_SERVER or SERVER_TO_CLIENT).DROP), or generated alerts (ALERT).Querying the dedicated networksecurity.googleapis.com/firewall_threat log name combined with the APPLY_SECURITY_PROFILE_GROUP rule disposition is the only native mechanism in Google Cloud to perform end-to-end correlation between network firewall enforcement and Layer 7 intrusion signatures.
Cloud Audit Logs Data Access logs record API calls that create, modify, or read user-provided resource data within Google Cloud services. They provide governance and compliance tracking for administrative and control-plane API interactions.
compute.firewalls.insert or compute.firewallPolicies.patch). They do not process or record real-time data-plane network traffic or in-band packet inspection events.firewall.threats.detected in Cloud Audit Logs. Data plane intrusion alerts are exported as dedicated security telemetry logs under networksecurity.googleapis.com, not audit logs.The security team needed to audit who modified a security profile group, attached a firewall policy to a folder, or disabled logging on a firewall rule.
Answer them yourself and get your score the moment you finish. No account needed.
Full access includes
Keep the momentum going with these hand-picked practice scenarios
Last updated Validated