nerdexam
Cisco

300-910 · Question #17

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?

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

How the community answered

(32 responses)
  • A
    94% (30)
  • B
    3% (1)
  • D
    3% (1)

Why each option

To scale existing pods within Kubernetes, the `ReplicaSet` object should be edited, as it directly controls the desired number of pod replicas.

AReplicaSetCorrect

A ReplicaSet's primary function in Kubernetes is to ensure a specified number of identical pods are running at all times. Directly editing the `replicas` field within an existing ReplicaSet's manifest allows for immediate scaling up or down of the managed pods. While Deployments often manage ReplicaSets, the ReplicaSet is the direct controller of pod count.

BPriorityClass

PriorityClass is used to indicate the priority of a pod and influence its scheduling, not to control the number of pod replicas.

CDeployment

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.

DPod

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

Source: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset/

Topics

#Kubernetes#Pod Scaling#ReplicaSet#Container Orchestration

Community Discussion

No community discussion yet for this question.

Full 300-910 Practice