Prepare and test your skills

Prepare and test your skills

Free sample question with answers and detailed explanation below. The Professional Cloud Network Engineer practice bank has an additional 2,437 practice questions.Try 10 free realistic questions: instant score, no credit card, and no account required.
Your organization hosts a web application behind a Global External Application Load Balancer with Cloud CDN enabled, while a separate compliance-restricted workload uses a Regional External Application Load Balancer. Automated bots are targeting /login.html on the global application.
You must configure Cloud Armor to meet these requirements:
/login.html without modifying application code.Which configuration should you implement?
CHALLENGEPAGE reCAPTCHA WAF site key using --recaptcha-redirect-site-key, add a /login.html redirect rule (google-recaptcha) alongside a higher-priority rate-limiting rule on HTTP-COOKIE recaptcha-ca-e, manually enable load balancer logging with a sampling rate of 1, and review network_security_policy logs and Cloud Monitoring dashboards.A globally scoped Cloud Armor backend security policy attached to a Global External Application Load Balancer's backend service enforces Layer 3 through Layer 7 filtering at Google's network edge. When integrated with reCAPTCHA WAF challenge-page keys, Cloud Armor intercepts suspicious HTTP requests before they reach origin servers or serverless backends and serves an interstitial assessment page.
/login.html with --action redirect --redirect-type google-recaptcha redirects incoming clients to reCAPTCHA's embedded JavaScript assessment page, issuing an exemption cookie only after the user passes—without modifying frontend or backend application code.CHALLENGEPAGE site key via --recaptcha-redirect-site-key enables dedicated reCAPTCHA metrics and model training tailored to the site. Adding a higher-priority rate-limiting rule with enforce_on_key set to HTTP-COOKIE and enforce_on_key_name set to recaptcha-ca-e caps how many requests a single exemption cookie can authorize, stopping bots from reusing one solved challenge indefinitely.1 captures every enforcedSecurityPolicy entry, allowing engineers to verify configured_action (GOOGLE_RECAPTCHA) and outcome (REDIRECT or ACCEPT). Inspecting the network_security_policy resource surfaces Adaptive Protection anomaly alerts, while Cloud Monitoring dashboards provide per-policy and per-backend traffic breakdowns.Allowed Traffic Spike and Increasing Deny Ratio.Unlike edge security policies or regionally scoped backend policies—neither of which support GOOGLE_RECAPTCHA redirect actions—a globally scoped backend security policy supports full bot management, cookie-based rate limiting, Adaptive Protection, and end-to-end logging and monitoring integration.
/login.html traffic to the Regional External Application Load Balancer protected by a regionally scoped backend security policy (--type=CLOUD_ARMOR --region=REGION), associate a CHALLENGEPAGE site key with a redirect (google-recaptcha) rule, leave load balancer logging at its default setting, and query the load balancer resource in Cloud Logging for Adaptive Protection alerts.A regionally scoped backend security policy (--type=CLOUD_ARMOR --region=REGION) is attached to a regional backend service behind a Regional External Application Load Balancer or Regional Internal Application Load Balancer. It keeps WAF rule enforcement and request filtering localized within a specific Google Cloud region.
Allow, Deny, Throttle, and Rate-based ban actions, but they do not support Redirect (GOOGLE_RECAPTCHA or EXTERNAL_302) actions.network_security_policy resource rather than the load balancer resource.gcloud compute backend-services update --security-policy=POLICY_NAME --region=REGION.Data residency rules mandated keeping /login.html strictly within one region using Allow, Deny, Throttle, or Rate-based ban rules instead of reCAPTCHA challenges, while manually enabling logging at sampling rate 1 and querying network_security_policy for Adaptive Protection alerts.
Each load balancer type supports distinct Cloud Armor policy scopes and rule actions. Attempting to move global workloads to a regional load balancer solely for bot management removes access to GOOGLE_RECAPTCHA interstitial challenges.
GOOGLE_RECAPTCHA redirects on /login.html without configuring cookie rate limiting, manually enable load balancer logging at a 0.5 sampling rate, and inspect enforcedEdgeSecurityPolicy logs.Edge security policies are deployed at the outermost perimeter of Google's network, upstream of Cloud CDN caches, to enforce coarse-grained access controls on cached content for backend services and backend buckets. A Google-managed site key is a default fallback key used by reCAPTCHA when a security policy does not explicitly reference a customer-owned WAF site key.
Allow and Deny rule actions for Application Load Balancers. They do not support Redirect (GOOGLE_RECAPTCHA), rate limiting, or bot management.recaptcha-ca-e cookie, Cloud Armor imposes no usage limit on exemption cookies. Additionally, setting the load balancer sampling rate to 0.5 drops half of all per-request logs, hindering accurate rule tuning and efficacy reporting.enforcedEdgeSecurityPolicy in load balancer request logs rather than enforcedSecurityPolicy.The requirement was solely to block or allow requests for cached static assets upstream of Cloud CDN based on client IP address or geography, without requiring bot challenges, reCAPTCHA metrics, or full request log capture.
An organization can apply both an edge security policy and a backend security policy simultaneously to the same Global External Application Load Balancer backend service—using the edge policy for cache-layer IP/geo filtering and the backend policy for WAF, rate limiting, and reCAPTCHA mitigation.
token.recaptcha_action.score >= 0.8 without associating reCAPTCHA keys, configure rate limiting on the X-Recaptcha-Token header, and monitor enforcedSecurityPolicy entries in Cloud Logging using the load balancer's default logging configuration.reCAPTCHA action-tokens enable frictionless risk scoring for specific user actions (such as login or checkout) across web, iOS, and Android applications. The client obtains a short-lived encrypted token from reCAPTCHA and attaches it to the X-Recaptcha-Token request header so Cloud Armor can evaluate token.recaptcha_action.score at the network edge.
X-Recaptcha-Token header into requests.token.recaptcha_action.score without associating reCAPTCHA keys (--recaptcha-action-site-keys) prevents Cloud Armor from validating that incoming tokens originated from an authorized key, leaving the policy exposed to cross-site token reuse.enforcedSecurityPolicy entries and reCAPTCHA scores will not appear in Cloud Logging.HTTP-HEADER X-Recaptcha-Token (commonly with a threshold of 1) to stop replay attacks.X-Recaptcha-Wafdata header and per-request logs when logging is enabled.CHALLENGEPAGE redirects, frictionless token evaluation does not automatically render an interactive challenge unless paired with a GOOGLE_RECAPTCHA redirect rule.You were integrating frictionless scoring into custom web or mobile application code, explicitly associating --recaptcha-action-site-keys with the security policy rule, and manually enabling load balancer logging at a sampling rate of 1.
For maximum protection on critical paths, teams often combine action-tokens with manual challenges—allowing high-score requests, redirecting medium-score requests without a valid recaptcha-ca-e cookie to a challenge page, and denying low-score traffic.
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