โ† 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. What does kube-proxy use by default to implement Kubernetes Service networking on modern Linux nodes?

    Answer: iptables rules

    By default, kube-proxy uses iptables rules to intercept traffic destined for Service ClusterIPs and redirect it to backend Pod IPs.

  2. Which Kubernetes API group contains core objects like Pods, Services, and ConfigMaps?

    Answer: /api/v1 (core group)

    Core objects like Pods, Services, Namespaces, and ConfigMaps belong to the core API group, accessed at /api/v1, not /apis.

  3. What is a Kubernetes Operator pattern?

    Answer: A method of packaging, deploying, and managing applications using custom controllers and CRDs

    The Operator pattern extends Kubernetes with custom controllers that encode operational knowledge about an application using Custom Resource Definitions.

  4. Which admission controller is responsible for setting default values on Pods that do not specify resource requests and limits?

    Answer: LimitRanger

    LimitRanger enforces default resource requests and limits on Pods in a namespace when LimitRange objects are defined.

  5. What is the purpose of a PodDisruptionBudget (PDB) in Kubernetes?

    Answer: To ensure a minimum number of Pods remain available during voluntary disruptions

    A PodDisruptionBudget limits the number of Pods of a replicated application that can be voluntarily disrupted simultaneously during operations like node draining.

  6. When you run `kubectl drain `, what happens to DaemonSet-managed Pods on that node by default?

    Answer: They are ignored unless you pass --ignore-daemonsets

    By default, kubectl drain refuses to proceed if DaemonSet-managed Pods are present; passing --ignore-daemonsets skips them since they cannot be rescheduled elsewhere.

  7. Which feature allows Kubernetes to automatically adjust the number of Pod replicas based on CPU or custom metrics?

    Answer: HorizontalPodAutoscaler

    The HorizontalPodAutoscaler (HPA) automatically scales the number of Pod replicas in a Deployment or ReplicaSet based on observed metrics like CPU utilization.