Challenge - 5 Problems
Ingress Mastery
Get all challenges correct to earn this badge!
Test your skills under time pressure!
💻 Command Output
intermediate2:00remaining
Nginx Ingress Controller Pod Status
You deployed an Nginx Ingress Controller in your Kubernetes cluster. What is the output of the command
kubectl get pods -n ingress-nginx immediately after deployment?Kubernetes
kubectl get pods -n ingress-nginxAttempts:
2 left
💡 Hint
Think about the normal state of a pod right after a successful deployment.
✗ Incorrect
After a successful deployment, the Nginx Ingress Controller pod should be in Running state with all containers ready (1/1). Pending means it hasn't started, CrashLoopBackOff means it is failing repeatedly, and NotFound means the namespace doesn't exist.
🧠 Conceptual
intermediate1:30remaining
Traefik Ingress Controller Feature
Which feature is unique to Traefik compared to Nginx Ingress Controller in Kubernetes?
Attempts:
2 left
💡 Hint
Think about how Traefik handles configuration updates.
✗ Incorrect
Traefik automatically discovers services and updates its routing configuration dynamically without needing to reload, unlike Nginx which often requires reloads.
❓ Troubleshoot
advanced2:30remaining
Nginx Ingress Controller TLS Issue
You configured TLS for your Nginx Ingress Controller, but HTTPS requests fail with a certificate error. Which of the following is the most likely cause?
Attempts:
2 left
💡 Hint
Check the TLS secret and its namespace carefully.
✗ Incorrect
TLS requires a valid secret with the certificate and key in the same namespace as the Ingress resource. If the secret is missing or in another namespace, the certificate error occurs.
🔀 Workflow
advanced2:00remaining
Deploying Traefik with Helm
Which Helm command correctly installs Traefik Ingress Controller in the namespace 'traefik-system' with default settings?
Attempts:
2 left
💡 Hint
Remember the correct Helm command to install a chart and create namespace if missing.
✗ Incorrect
The correct Helm command to install a chart is 'helm install'. The '--create-namespace' flag creates the namespace if it doesn't exist. 'helm deploy' and 'helm apply' are invalid Helm commands.
✅ Best Practice
expert3:00remaining
Securing Ingress Controllers
What is the best practice to secure your Kubernetes cluster's Ingress Controller against unauthorized external access?
Attempts:
2 left
💡 Hint
Think about controlling network traffic at the pod level.
✗ Incorrect
Network Policies allow you to restrict which pods or IPs can communicate with the Ingress Controller, enhancing security. Exposing without restrictions or disabling TLS weakens security.