What is a ReplicaSet responsible for?
Choose one.
A ReplicaSet maintains a stable number of identical Pod replicas, creating Pods from its template when too few match its selector and deleting extras when too many do.
The ReplicaSet's only job is the replica count, which gives self-healing and horizontal scale. Each distractor is a neighbouring object's job: a Service gives the stable address, a DaemonSet places one Pod per node, and a Deployment adds versioned rollouts and rollbacks on top of ReplicaSets.
- Identify the one thing a ReplicaSet tracks: the count of matching Pods.
- Map each other option to its owning object (Service, DaemonSet, Deployment).
- Choose the replica-count option.
Exam tip: ReplicaSet = keep N identical Pods; Deployment = versions; DaemonSet = one per node; Service = stable address.
Kubernetes Core Concepts: Architecture, Pods, Deployments, and Services — the lesson that teaches this.