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 runs a global e-commerce platform behind a Global external Application Load Balancer with Cloud CDN enabled on its primary backend service. The security team needs to deploy a Google Cloud Armor security policy containing pre-configured WAF rules (such as SQL injection and Cross-Site Scripting mitigation) to protect dynamic endpoints.
To ensure operational readiness without risking disruption to legitimate customer transactions, the team has the following requirements:
Which combination of actions should the security team implement?
This option immediately enables active blocking (deny) on the backend service and relies strictly on aggregated Cloud Monitoring metrics while disabling backend access logging.
deny mode without preview testing risks rejecting valid customer traffic.The goal was strictly to minimize log ingestion costs for an already mature, fully tuned policy where request-level payload inspection was no longer required.
This configuration confuses Layer 7 Web Application Firewall (WAF) policies with VPC firewall policies and VPC Flow Logs.
The requirement was to audit Layer 4 TCP/UDP network communication patterns between internal VPC subnets or compute instances without inspecting application-layer HTTP payloads.
This solution pairs Google Cloud Armor backend security policies with preview mode and comprehensive Cloud Logging configuration on the Global external Application Load Balancer's backend service. Cloud Armor backend policies protect backend services and inspect dynamic traffic or cache misses when Cloud CDN is enabled.
--preview or setting the rule to preview) instructs Cloud Armor to evaluate live incoming traffic against the WAF rules, determine matching criteria, and log what the enforcement action would have been (e.g., DENY) without actually blocking or dropping legitimate user requests.logConfig.sampleRate to 1.0 (100%) on the backend service ensures that telemetry for every single evaluated request is recorded in Cloud Logging, enabling security analysts to query fields like jsonPayload.previewSecurityPolicy to tune rule sensitivity before switching to active enforcement.Attaching Cloud Armor to the backend service with full log sampling (sampleRate: 1.0) and preview mode provides an end-to-end, non-disruptive workflow for validating WAF security rules against real-world traffic patterns before activating blocking controls.
This option attempts to attach a Cloud Armor security policy directly to the load balancer's frontend forwarding rule or target HTTPS proxy and actively enforce blocking actions (deny).
deny without validation risks triggering false positives that block legitimate customer transactions immediately.logConfig), not on the target proxy.The load balancer architecture supported target proxy policy bindings and the organization required immediate, active blocking of known malicious IP ranges without any preliminary testing or log tuning.
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