Challenge - 5 Problems
HTTP Probe Mastery
Get all challenges correct to earn this badge!
Test your skills under time pressure!
💻 Command Output
intermediate2:00remaining
What is the result of this HTTP readiness probe configuration?
Given this Kubernetes pod snippet, what will be the HTTP probe's behavior when the container is starting?
Kubernetes
readinessProbe:
httpGet:
path: /healthz
port: 8080
initialDelaySeconds: 5
periodSeconds: 10
failureThreshold: 3Attempts:
2 left
💡 Hint
Look at initialDelaySeconds, periodSeconds, and failureThreshold values carefully.
✗ Incorrect
initialDelaySeconds sets the wait before first probe; periodSeconds sets interval between probes; failureThreshold is how many failures before marking not ready.
❓ Configuration
intermediate2:00remaining
Identify the correct HTTP liveness probe configuration for port 80 and path /status
Which option correctly configures a liveness probe that checks HTTP path /status on port 80 every 15 seconds with a timeout of 5 seconds?
Attempts:
2 left
💡 Hint
Check the port number and path carefully; also probe type must be HTTP.
✗ Incorrect
Option A matches the required path /status, port 80, period 15s, and timeout 5s using httpGet.
❓ Troubleshoot
advanced2:00remaining
Why does this HTTP readiness probe always fail?
A pod has this readiness probe:
readinessProbe:
httpGet:
path: /ready
port: 8080
initialDelaySeconds: 10
periodSeconds: 5
failureThreshold: 1
The container starts but the pod never becomes ready. What is the most likely cause?
Attempts:
2 left
💡 Hint
Check what the probe expects from the HTTP endpoint.
✗ Incorrect
Readiness probes expect HTTP 200 response; if /ready returns other status, probe fails and pod stays not ready.
🔀 Workflow
advanced2:00remaining
Order the steps to add an HTTP liveness probe to a Kubernetes deployment
Put these steps in the correct order to add an HTTP liveness probe to a deployment YAML:
Attempts:
2 left
💡 Hint
Think about editing first, then applying, then verifying.
✗ Incorrect
First edit YAML, then apply changes, then verify pod status, finally check logs for restarts.
✅ Best Practice
expert3:00remaining
Which HTTP probe configuration best balances fast failure detection and avoiding false positives?
Choose the HTTP liveness probe configuration that best balances detecting real failures quickly without causing unnecessary container restarts.
Attempts:
2 left
💡 Hint
Consider initial delay, probe frequency, failure tolerance, and timeout together.
✗ Incorrect
Option C waits enough before probing, checks regularly, allows some failures, and has reasonable timeout to avoid false positives.