โ† All KCNA Flashcard Decks

Kubernetes Architecture & Components 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 Kubernetes Architecture & Components flashcards as text
  1. Which resource type allows a Kubernetes administrator to define a template for creating multiple identical Pods across nodes?

    Answer: DaemonSet

    A DaemonSet ensures that one copy of a Pod runs on all (or selected) nodes, making it ideal for node-level agents like log collectors.

  2. What is the purpose of a Kubernetes Namespace?

    Answer: To provide a virtual cluster within a physical cluster for resource and scope isolation

    Namespaces provide a scope for names and allow logical partitioning of cluster resources between multiple users or teams.

  3. Which field in a Pod spec determines how kubelet handles a container that crashes?

    Answer: restartPolicy

    The restartPolicy field (Always, OnFailure, or Never) controls whether and how kubelet restarts containers that exit.

  4. What happens to a Pod's IP address when the Pod is deleted and recreated by a ReplicaSet?

    Answer: A new IP address is assigned from the cluster's Pod CIDR

    Pods are ephemeral; when a Pod is deleted and a new one is created, the new Pod receives a fresh IP address from the cluster's Pod network CIDR.

  5. Which Kubernetes object stores sensitive configuration data such as passwords and API keys?

    Answer: Secret

    Secrets store sensitive data in base64-encoded form and can be mounted as volumes or exposed as environment variables, with tighter access controls than ConfigMaps.

  6. What is the relationship between a ReplicaSet and a Deployment in Kubernetes?

    Answer: A Deployment manages one or more ReplicaSets to enable rolling updates and rollbacks

    A Deployment creates and owns ReplicaSets, creating a new ReplicaSet during updates and scaling down the old one to enable declarative rolling updates.

  7. Which component provides DNS resolution for Services and Pods within a Kubernetes cluster?

    Answer: CoreDNS

    CoreDNS runs as a cluster add-on and provides DNS-based service discovery, resolving Service names to ClusterIP addresses.