Challenge - 5 Problems
Kubernetes Mastery Badge
Get all challenges correct to earn this badge!
Test your skills under time pressure!
💻 Command Output
intermediate2:00remaining
Kubernetes Pod Status Check
What is the output of the command
kubectl get pods immediately after creating a Pod with an invalid image name?Microservices
kubectl run invalid-pod --image=nonexistentimage12345 --restart=Never kubectl get pods
Attempts:
2 left
💡 Hint
Think about what happens when Kubernetes cannot pull the container image.
✗ Incorrect
When Kubernetes tries to start a Pod with a non-existent image, it fails to pull the image and the Pod status becomes 'ImagePullBackOff'.
🧠 Conceptual
intermediate1:30remaining
Kubernetes Service Types
Which Kubernetes Service type exposes the service on a cluster-internal IP only, making it reachable only within the cluster?
Attempts:
2 left
💡 Hint
Think about which service type does not expose ports outside the cluster.
✗ Incorrect
ClusterIP service type exposes the service on an internal IP accessible only within the cluster.
❓ Troubleshoot
advanced2:00remaining
Debugging Kubernetes Deployment Rollout Failure
You deployed a new version of your app using a Deployment, but the rollout is stuck and pods are not becoming ready. Which kubectl command helps you see detailed rollout status and errors?
Attempts:
2 left
💡 Hint
Look for a command that specifically tracks rollout progress.
✗ Incorrect
The command 'kubectl rollout status' shows the progress and any issues during a deployment rollout.
🔀 Workflow
advanced2:30remaining
Kubernetes ConfigMap Usage
You want to update a ConfigMap used by a running Pod without restarting the Pod. Which approach allows the Pod to see the updated ConfigMap data automatically?
Attempts:
2 left
💡 Hint
Think about how Kubernetes handles ConfigMap volumes and environment variables.
✗ Incorrect
ConfigMaps mounted as volumes are updated automatically inside the Pod, while environment variables require Pod restart.
✅ Best Practice
expert3:00remaining
Kubernetes Resource Limits and Requests
What is the main reason to set both resource requests and limits for containers in a Kubernetes Pod?
Attempts:
2 left
💡 Hint
Consider how Kubernetes uses requests and limits differently for scheduling and runtime.
✗ Incorrect
Requests help the scheduler decide where to place Pods, while limits prevent containers from using excessive resources at runtime.