Original study notes for cloud certification exams — Google Cloud first, more clouds in build.

Cloud Armor Study Notes

Cloud Armor is Google Cloud's web application firewall and DDoS protection service, attached to Application Load Balancer backend services to filter HTTP and HTTPS traffic before it reaches your backends. Security policies made of prioritised rules let you allow, deny, or rate-limit requests based on IP, geography, and application-layer signatures.

Exam tip: Any web attack named in a question — SQL injection, XSS, abusive IPs, country blocking — points to Cloud Armor on the load balancer, never to VPC firewall rules.

Key facts

What the exam expects you to know

Cloud Armor vs VPC Firewall Rules: when to use which

Use Cloud Armor when filtering decisions depend on HTTP content: URLs, headers, cookies, geography, WAF attack signatures, or per-client request rates for a public web application behind a load balancer. Use VPC firewall rules when controlling network-level traffic between instances and networks by IP, port, protocol, tag, or service account, including east-west traffic that never touches a load balancer. The two are complementary layers, not substitutes. Exam scenarios naming SQL injection, XSS, or country blocking always mean Cloud Armor; scenarios naming port 22 access between VMs mean firewall rules. See also the VPC Firewall Rules notes.

Useful gcloud commands

gcloud compute security-policies create my-policy --description="Web protection policy"
gcloud compute security-policies rules create 1000 --security-policy=my-policy --action=deny-403 --src-ip-ranges=198.51.100.0/24
gcloud compute backend-services update my-backend --security-policy=my-policy --global
gcloud compute security-policies describe my-policy

Common exam traps

Frequently asked questions

Where is a Cloud Armor policy applied?

A Cloud Armor security policy is attached to the backend service or backend bucket of an external Application Load Balancer. Traffic from the internet passes through the load balancer at Google's edge, where the policy's rules are evaluated in priority order before requests reach your backends. It cannot be attached directly to a VM instance or a VPC network.

How do Cloud Armor rule priorities work?

Rules are evaluated from the lowest priority number upward, and the first matching rule determines the action for that request. A default rule with the maximum priority value applies when nothing else matches, and it is commonly set to allow. This means specific deny or rate-limit rules must use lower numbers than broad allow rules to take effect.

Can Cloud Armor stop DDoS attacks?

Cloud Armor helps mitigate DDoS attacks in two ways. Google's global edge network absorbs large volumetric floods before they reach your backends, and Cloud Armor's Layer 7 rules, rate limiting, and Adaptive Protection address application-layer floods that mimic legitimate HTTP requests. It is one layer of defence and works best combined with autoscaling backends and sensible rate limits.

Study aid disclaimer: Cloud Cert Notes is an independent educational study aid. It is not affiliated with, endorsed by, or sponsored by Google, Microsoft, Amazon, Oracle, or Alibaba. Google Cloud, Associate Cloud Engineer, and Cloud Digital Leader are trademarks of Google LLC; all other certification names and product names are trademarks of their respective owners. Always confirm service details against the official provider documentation before sitting an exam.