โ† All KCNA Flashcard Decks

Container Orchestration Flashcards

7 cards from real KCNA practice questions. Tap to flip, then mark Knew It or Still Learning โ€” missed cards come back until you master them.

Read the first 7 Container Orchestration flashcards as text
  1. What Kubernetes feature allows you to run multiple containers that share the same network namespace within a single Pod?

    Answer: Multi-container Pods

    Kubernetes allows multiple containers in a Pod to share the same network namespace, IP address, and port space.

  2. Which Kubernetes component stores the entire cluster state, including configuration and status of all objects?

    Answer: etcd

    etcd is the distributed key-value store that Kubernetes uses as its backing store for all cluster data.

  3. A Deployment is updated with a new image. Which strategy replaces Pods one at a time, ensuring no downtime?

    Answer: RollingUpdate

    The RollingUpdate strategy incrementally replaces old Pods with new ones, keeping the application available during the update.

  4. What does `kubectl rollout undo deployment/my-app` do?

    Answer: Rolls back the Deployment to the previous revision

    The `rollout undo` command reverts a Deployment to its previous revision stored in its rollout history.

  5. Which Kubernetes concept allows cluster operators to restrict the total amount of CPU and memory that can be consumed within a namespace?

    Answer: ResourceQuota

    ResourceQuota sets aggregate limits on resource consumption (CPU, memory, object count) for an entire namespace.

  6. In container orchestration, what is meant by 'desired state'?

    Answer: The user-specified configuration that the orchestrator continuously tries to achieve and maintain

    Kubernetes continuously reconciles the actual cluster state with the desired state declared by the user in manifests.

  7. Which field controls the order in which containers within a StatefulSet are started and stopped?

    Answer: podManagementPolicy

    The `podManagementPolicy` field (OrderedReady or Parallel) controls how StatefulSet Pods are created, updated, and deleted.