CiscoCisco
300-910 · Question #17
300-910 Question #17: Real Exam Question with Answer & Explanation
The correct answer is A: ReplicaSet. To scale existing pods within Kubernetes, the ReplicaSet object should be edited, as it directly controls the desired number of pod replicas.
Application Deployment and Operations
Question
Refer to the exhibit. A developer needs to scale the existing pods within the worked nodes. Which object should be edited to achieve this goal?
Options
- AReplicaSet
- BPriorityClass
- CDeployment
- DPod
Explanation
To scale existing pods within Kubernetes, the ReplicaSet object should be edited, as it directly controls the desired number of pod replicas.
Common mistakes.
- B. PriorityClass is used to indicate the priority of a pod and influence its scheduling, not to control the number of pod replicas.
- C. While a Deployment creates and manages ReplicaSets for scaling, editing the Deployment is the higher-level abstraction. However, the ReplicaSet is the Kubernetes object that directly ensures and controls the specified number of running pod replicas.
- D. Pods are individual instances of a running process; they are not scalable themselves and are managed by higher-level controllers like ReplicaSets or Deployments.
Concept tested. Kubernetes scaling, ReplicaSet function
Reference. https://kubernetes.io/docs/concepts/workloads/controllers/replicaset/
Topics
#Kubernetes#Pod Scaling#ReplicaSet#Container Orchestration
Community Discussion
No community discussion yet for this question.