โ† All DevOps Flashcard Decks

Containerization & Kubernetes Flashcards

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

Read the first 6 Containerization & Kubernetes flashcards as text
  1. What is the primary purpose of a Docker container?

    Answer: To package an application with its dependencies into an isolated runtime environment

    A Docker container bundles application code, runtime, libraries, and configuration so it runs consistently across different environments.

  2. What is a Kubernetes Pod?

    Answer: The smallest deployable unit in Kubernetes, containing one or more containers

    A Pod is the smallest unit in Kubernetes, wrapping one or more tightly coupled containers that share network and storage.

  3. What does a Kubernetes Deployment object manage?

    Answer: The desired state and rolling updates of a set of Pods

    A Deployment declaratively manages a ReplicaSet, ensuring the specified number of Pod replicas run and enabling rolling updates and rollbacks.

  4. What is the role of etcd in a Kubernetes cluster?

    Answer: The distributed key-value store that holds all cluster state and configuration

    etcd is the backing store for all Kubernetes cluster data, including desired and actual state of all objects.

  5. What does the `kubectl apply` command do?

    Answer: Creates or updates Kubernetes resources defined in a YAML/JSON manifest

    `kubectl apply` uses declarative configuration to create or update resources, only changing what differs from the current state.

  6. What is a Kubernetes Service?

    Answer: A stable network endpoint that routes traffic to a set of Pods

    A Service provides a stable virtual IP and DNS name for a set of Pods, enabling reliable discovery and load balancing.