Active Nerds
Review all 15 questions for Kubernetes (intermediate).Plain Q&A (No XP)
#1Multiple Choice

What is the key functional difference between a `livenessProbe` and a `readinessProbe`?

#2Multiple Choice

Which volume type allows a Pod to inject non-sensitive configuration files into a container directory at runtime?

#3Multiple Choice

What Kubernetes object manages Layer 7 HTTP/HTTPS ingress routing, SSL termination, and path-based host dispatching?

#4Multiple Choice

How does Helm package and version Kubernetes application manifests?

#5Multiple Choice

Which component dynamically provisions physical cloud storage volumes (AWS EBS, GCP PD) when a PVC is created?

#6Multiple Choice

What deployment strategy performs rolling updates by replacing old pods with new pods incrementally?

#7Scenario

During a production deployment update, users report experiencing 502 Bad Gateway errors for ~10 seconds. Your application takes 8 seconds to initialize its database pool on startup. What probe is missing from the Deployment spec?

#8Scenario

A Secret object named `db-pass` contains base64 encoded passwords. A developer says 'Secrets are encrypted in etcd by default so we don't need additional security.' Is this statement true?

#9Scenario

You edit a ConfigMap mounted as a volume inside a running pod. You notice the files inside the pod volume update after 60 seconds, but your Node.js application process keeps using the old values. Why?

#10Scenario

You deploy a StatefulSet with 3 replicas for a Cassandra cluster. Unlike a Deployment, why do StatefulSet pods receive names like `cassandra-0`, `cassandra-1`, `cassandra-2` instead of random hash suffixes?

#11Code Fill

Complete the `kubectl` command to roll back a Deployment named `api-deploy` to its previous revision:

kubectl rollout ___ deployment/api-deploy
#12Code Fill

Complete the probe type key in a container spec used to check if a container should be killed and restarted:

containers:
- name: web
  ___Probe:
    httpGet:
      path: /healthz
      port: 8080
#13Code Fill

Complete the manifest section key used to request storage from a StorageClass:

kind: PersistentVolumeClaim
metadata:
  name: db-data
spec:
  accessModes:
    - ReadWriteOnce
  ___:
    requests:
      storage: 20Gi
#14Open Ended

Explain the difference between CPU `requests` and CPU `limits` in Kubernetes pod resource management.

#15Open Ended

How does the Kubernetes Operator pattern extend the Kubernetes API?