CLOUD-NETWORK practice question 21 of 30

Your team is developing an application that will be used by consumers all over the world. Currently, the application sits behind a global external application load balancer You need to protect the application from potential application-level attacks. What should you do?

Full set: 233 questions
Answer options
A: Enable Cloud CDN on the backend service.
B: Create multiple firewall deny rules to block malicious users, and apply them to the global external application load balancer
C: Create a Google Cloud Armor security policy with web application firewall rules, and apply the security policy to the backend service. Correct answer
D: Create a VPC Service Controls perimeter with the global external application load balancer as the protected service, and apply it to the backend service
Correct Answer:
C. Create a Google Cloud Armor security policy with web application firewall rules, and apply the security policy to the backend service.
Explanation

The requirement is to protect against application-level attacks (Layer 7), such as SQL injection or cross-site scripting. Google Cloud Armor is Google's Web Application Firewall (WAF) and Distributed Denial-of-Service (DDoS) mitigation service. It integrates directly with the global external Application Load Balancer. By creating a security policy with pre-configured or custom WAF rules and attaching it to the load balancer's backend service(s), you can inspect incoming traffic and block malicious requests before they reach your application. This is the specific tool designed for the stated purpose.

Why Incorrect

A. Cloud CDN is a content delivery network for caching content and improving performance; it is not a WAF and does not protect against application-level attacks.
B. VPC firewall rules operate at Layer 3/4 (IP and port) and cannot inspect application-layer traffic content, making them ineffective against attacks like SQL injection.
D. VPC Service Controls is a data exfiltration prevention tool that creates a service perimeter; it does not inspect traffic for application-level threats.

References

1. Google Cloud Documentation, Google Cloud Armor overview. "Google Cloud Armor security policies protect your application by providing Layer 7 filtering... A security policy is a set of rules that are evaluated for incoming traffic."

2. Google Cloud Documentation, Configure Google Cloud Armor security policies. "You can configure Google Cloud Armor security policies to protect applications and services that are served from behind an external Application Load Balancer."

3. Google Cloud Documentation, Web application firewall (WAF) rules. "Google Cloud Armor preconfigured WAF rules are complex web application firewall (WAF) rules with dozens of signatures... that are compiled from open source industry standards."

Scroll to Top