Challenge - 5 Problems
Pods and Deployments Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate2:00remaining
What is the primary role of a Pod in Kubernetes?
Imagine you have a small team working together in a room to complete a task. In Kubernetes, a Pod is like that team. What is the main purpose of a Pod?
Attempts:
2 left
💡 Hint
Think about what runs inside a Pod and what resources they share.
✗ Incorrect
A Pod is the smallest deployable unit in Kubernetes. It groups containers that run together and share the same network and storage.
❓ Architecture
intermediate2:00remaining
How does a Deployment help manage Pods in Kubernetes?
Think of a Deployment as a manager who ensures the right number of workers (Pods) are always available. What is the main function of a Deployment?
Attempts:
2 left
💡 Hint
Consider how you keep a team size constant and update their tasks without disruption.
✗ Incorrect
A Deployment manages the lifecycle of Pods by maintaining the desired number and performing rolling updates without downtime.
❓ scaling
advanced2:00remaining
What happens when you scale a Deployment from 3 to 6 replicas?
You have a Deployment running 3 Pods. You decide to scale it to 6. What is the expected behavior in Kubernetes?
Attempts:
2 left
💡 Hint
Think about how Kubernetes adds capacity without stopping existing Pods.
✗ Incorrect
Scaling a Deployment increases the number of Pod replicas by creating new Pods alongside existing ones, balancing them across nodes.
❓ tradeoff
advanced2:00remaining
What is a tradeoff when using a single Pod with multiple containers versus multiple Pods with single containers?
Consider running multiple containers inside one Pod versus running each container in its own Pod. What is a key tradeoff?
Attempts:
2 left
💡 Hint
Think about resource sharing and security boundaries.
✗ Incorrect
Containers in the same Pod share network and storage, which is efficient but less isolated. Separate Pods provide better isolation but communicate over the network.
❓ estimation
expert3:00remaining
Estimate the number of Pods needed for a service expecting 10,000 requests per second with each Pod handling 500 requests per second.
You have a microservice deployed with Pods that can each handle 500 requests per second. To handle 10,000 requests per second reliably, how many Pods should you deploy?
Attempts:
2 left
💡 Hint
Divide total requests by capacity per Pod and consider no overloading.
✗ Incorrect
To handle 10,000 requests per second with each Pod handling 500, you need 10,000 / 500 = 20 Pods.