🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: Kubernetes Basics: all 10 questions

Quiz: Kubernetes Basics · Question 2 of 10

Why do we need a Service in front of pods?

Why do we need a Service in front of pods?

  1. A.Pods come and go with changing IPs; a Service gives a stable name and load-balances to them
  2. B.To build Docker images
  3. C.To store secrets
  4. D.To schedule pods onto nodes
Answer & explanation

Correct answer: Pods come and go with changing IPs; a Service gives a stable name and load-balances to them

The Service selects pods by label and stays stable as pods are replaced.

Can you get the rest right without peeking?

Take the timed Quiz: Kubernetes Basics quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →