Question 11
Container OrchestrationWhat does a ReplicaSet ensure in Kubernetes?
Correct answer: B
Explanation
A ReplicaSet maintains the desired number of Pod copies by continuously comparing the current Pod count to the specified replica count. If Pods fail or are deleted, it creates replacements so that "a certain number of Pod replicas are running" at all times.
Why each option is right or wrong
A. That a Pod runs on every node
B. That a certain number of Pod replicas are running
Under the Kubernetes ReplicaSet controller behavior, the object’s `spec.replicas` field defines the desired Pod count, and the controller continuously reconciles actual Pods against that number. If the number of matching Pods drops below the specified count, the ReplicaSet creates new Pods; if it exceeds the count, it removes extras, so the workload stays at the declared replica total.
C. That Pods have stable network identifiers
D. That external traffic can reach the Pods
E. That Pods are scheduled according to affinity rules