CS FundamentalsHardProduct-company MCQ pattern

How many of the following statements about Kubernetes are correct? 1. A Pod is the smallest deployable unit and can never hold more than one container. 2. A Deployment manages ReplicaSets to keep the desired number of Pod replicas running and to roll out updates. 3. A Service gives a stable virtual IP / DNS name in front of a changing set of Pods. 4. Pods keep their IP addresses permanently even after being rescheduled to another node.

  1. A. Only one
  2. B. Only two
  3. C. Only three
  4. D. All four

Correct answer: B. Only two

2 and 3 are correct. 1 is wrong: a Pod is the smallest deployable unit but may hold several tightly coupled containers (for example a sidecar) sharing one network namespace. 4 is wrong: Pods are ephemeral and get a new IP when recreated, which is exactly why Services exist. So two are correct.

More Software Engineering, Git and Cloud Basics questions

Exams that ask this topic