Challenge - 5 Problems
GKE Ingress Mastery
Get all challenges correct to earn this badge!
Test your skills under time pressure!
💻 Command Output
intermediate2:00remaining
Output of kubectl get ingress command
You have deployed an Ingress resource in GKE with a Load Balancer. What is the output of
kubectl get ingress after the Load Balancer IP is assigned?GCP
kubectl get ingress my-ingress
Attempts:
2 left
💡 Hint
The external IP address assigned by the GCP Load Balancer is a public IP, not a private IP.
✗ Incorrect
When the Load Balancer is ready, the ADDRESS field shows the external public IP assigned by GCP, such as 34.68.123.45. Pending means the IP is not assigned yet. Private IPs like 10.x.x.x or 192.168.x.x are not used for external Load Balancers.
🧠 Conceptual
intermediate1:30remaining
Purpose of BackendConfig in GKE Ingress
What is the main purpose of using a BackendConfig resource in GKE Ingress with Load Balancer?
Attempts:
2 left
💡 Hint
BackendConfig customizes backend service behavior beyond default settings.
✗ Incorrect
BackendConfig allows you to set advanced Load Balancer backend options such as connection draining duration, timeout settings, and health check parameters for your services.
❓ Troubleshoot
advanced2:00remaining
Troubleshooting Ingress Not Getting External IP
You created an Ingress resource in GKE but the ADDRESS field remains
<pending> for over 10 minutes. What is the most likely cause?Attempts:
2 left
💡 Hint
Check if the GKE cluster has permissions to create cloud resources like Load Balancers.
✗ Incorrect
If the cluster lacks permissions, GKE cannot provision the external Load Balancer, so the ADDRESS stays pending. Missing rules or backend Pods affect routing but do not block IP assignment. API server down would prevent any kubectl commands.
🔀 Workflow
advanced2:30remaining
Steps to Enable HTTPS on GKE Ingress with Load Balancer
Which sequence correctly describes the steps to enable HTTPS on a GKE Ingress with a Load Balancer?
Attempts:
2 left
💡 Hint
You must deploy your app and service before configuring certificates and Ingress annotations.
✗ Incorrect
First deploy your app and expose it with a Service (3). Then create the ManagedCertificate (1). Next, annotate the Ingress to use the certificate (2). Finally, verify the certificate status and HTTPS (4).
✅ Best Practice
expert3:00remaining
Best Practice for Securing GKE Ingress with Load Balancer
Which option is the best practice to secure your GKE Ingress with a Load Balancer for production use?
Attempts:
2 left
💡 Hint
Security best practices include encryption and access control.
✗ Incorrect
Using HTTPS with ManagedCertificate ensures encrypted traffic. Redirecting HTTP to HTTPS improves security. Firewall rules restrict backend access to trusted sources. Other options reduce security or break Kubernetes networking.