CLOUD-NETWORK practice question 19 of 30

You want to apply a new Cloud Armor policy to an application that is deployed in Google Kubernetes Engine (GKE). You want to find out which target to use for your Cloud Armor policy. Which GKE resource should you use?

Full set: 233 questions
Answer options
A: GKE Node
B: GKE Pod
C: GKE Cluster
D: GKE Ingress Correct answer
Correct Answer:
D. GKE Ingress
Explanation

Google Cloud Armor security policies are applied to backend services or backend buckets that are part of an external HTTP(S) Load Balancer. In Google Kubernetes Engine (GKE), an Ingress resource is used to expose HTTP and HTTPS routes from outside the cluster to services within the cluster. When you create an Ingress object, the GKE Ingress controller creates and configures a Google Cloud external HTTP(S) Load Balancer. Therefore, the GKE Ingress is the resource that facilitates the attachment of a Cloud Armor policy to protect the application.

Why Incorrect

A. A GKE Node is a worker machine (VM). Cloud Armor policies are not applied directly to individual nodes.
B. A GKE Pod is the smallest deployable unit. Cloud Armor operates at the load balancer level, not at the individual pod level.
C. A GKE Cluster is the set of all nodes and control plane. Cloud Armor policies target specific backend services, not the entire cluster.

References

1. Google Cloud Documentation, "Configure Ingress for external load balancing". The "How external Ingress works" section states, "When you create an Ingress object, the GKE Ingress controller creates a Google Cloud HTTP(S) Load Balancer and configures it according to the information in the Ingress and its associated Services."

2. Google Cloud Documentation, "Configure Google Cloud Armor security policies". The "Security policy attachment" section states, "You can attach a security policy to one or more backend services and backend buckets."

3. Google Cloud Documentation, "Configuring Google Cloud Armor policies for GKE Ingress". The "Overview" section states, "You can use a BackendConfig to configure a Google Cloud Armor security policy for your external HTTP(S) load balancer managed by GKE Ingress."

Scroll to Top