Kubernetes and containers
251 practice items · needed by 12 roles
Easy 64Medium 105Hard 82
Practice questions
- Docker image versus containereasy
- Docker rebuild reinstalls everythingmedium
- What to autoscale workers onmedium
- Autoscaling during a dependency outagehard
- Docker image vs containereasy
- Slow Docker builds on every changemedium
- Ordering Dockerfile steps for cachingeasy
- Image vs containereasy
- Smallest unit in Kuberneteseasy
- Why use a .dockerignore fileeasy
- Container exits right after starteasy
- Deployment and ReplicaSeteasy
- Logs from a crashed containereasy
- Are Kubernetes Secrets encryptedeasy
- What namespaces isolateeasy
- Helm values precedenceeasy
- ENV password in a Dockerfileeasy
- Starting from default denyeasy
- Passwords in a Helm values fileeasy
- CMD vs ENTRYPOINTeasy
- What EXPOSE really doeseasy
- Reading a -p port mappingeasy
- Keeping database data across restartseasy
- kubectl apply vs kubectl createeasy
- What a ConfigMap is foreasy
- Running a log agent on every nodeeasy
- Reading a CronJob scheduleeasy
- Finding which node a Pod is oneasy
- How a Service finds its Podseasy
- Calling a Service in another namespaceeasy
- Reaching a Pod from your laptopeasy
- Helm chart vs releaseeasy
- Using :latest in a Deploymenteasy
- Rolling back a bad Deploymenteasy
- Seeing why a Pod is not startingeasy
- Running a command inside a Podeasy
- Docker restart policy on a VMeasy
- Local app with a database and cacheeasy
- What the scheduler doeseasy
- What the kubelet doeseasy
- Where cluster state liveseasy
- Switching between clusterseasy
- Including Postgres in your charteasy
- Pushing an image to a registryeasy
- Job Pod shows Completedeasy
- Readiness vs liveness probesmedium
- Why use multi-stage buildsmedium
- Kubernetes Service typesmedium
- CPU vs memory limitsmedium
- ImagePullBackOff from a private registrymedium
- Pod stuck Pending on CPUmedium
- Exit code 137medium
- HPA shows unknown targetsmedium
- NetworkPolicy has no effectmedium
- Node drain hangs forevermedium
- Argo CD app always OutOfSyncmedium
- Helm says another operation is in progressmedium
- Running containers as non-rootmedium
- Cloud access from Podsmedium
- Choosing an image tag in CImedium
- Pod rejected by the restricted profilemedium
- Why use a read-only root filesystemmedium
- Linux capabilities for a web appmedium
- Risk of privileged: truemedium
- What External Secrets Operator doesmedium
- KMS encryption for Kubernetes Secretsmedium
- RBAC that leaks every Secretmedium
- Private registry token during buildmedium
- Blocking :latest at the clustermedium
- Cloud access without key filesmedium
- Mounting secrets straight from a vaultmedium
- Pods that never call the APImedium
- Modern ServiceAccount tokensmedium
- Who can read etcdmedium
- Who read a Kubernetes Secretmedium
- How many more Pods fit on a nodemedium
- Pods during a 25 percent rolloutmedium
- Why use Ingress for many appsmedium
- Ingress created but nothing happensmedium
- Service with zero endpointsmedium
- PVC Pending: waiting for first consumermedium
- What init containers guaranteemedium
- Declaring a native sidecarmedium
- Changed ConfigMap, old value in appmedium
- RoleBinding pointing to a ClusterRolemedium
- Checking a ServiceAccount permissionmedium
- NoSchedule vs NoExecute taintsmedium
- Required vs preferred node affinitymedium
- Keeping replicas on separate nodesmedium
- Undoing a Helm upgrademedium
- Stale packages from layer cachemedium
- COPY or ADD in a Dockerfilemedium
- Debugging a container with no shellmedium
- Drain refuses because of DaemonSetsmedium
- Quota rejects Pods without requestsmedium
- Per-environment changes with Kustomizemedium
- Slow Python builds on Alpinemedium
- Build ARG missing at runtimemedium
- Dockerfile HEALTHCHECK on Kubernetesmedium
- Routing rules in Gateway APImedium
- Deleting a PVC deleted the diskmedium
- Multi-Attach error on a second Podmedium
- Giving the app its own Pod namemedium
- kubectl top gives an errormedium
- Overlapping CronJob runsmedium
- Stopping a Job that keeps failingmedium
- Docker images after dockershim removalmedium
- How rollout restart worksmedium
- Events gone the next morningmedium
- Making CI wait for the rolloutmedium
- Looking up a field without the docs sitemedium
- Container ignores SIGTERMhard
- Rolling update that never finisheshard
- Hotfix keeps disappearinghard
- Errors during every rollouthard
- Throttled at 30 percent CPUhard
- Slow external DNS in Podshard
- StatefulSet Pod pending after node replacementhard
- Java Pod OOMKilled with free heaphard
- Only deploy images built by CIhard
- Policy webhook takes down deployshard
- Running workloads on spothard
- All replicas landed in one zonehard
- Deleted secret still in the imagehard
- Same commit, different build resulthard
- Docker cache on fresh runnershard
- Secrets as env vars vs fileshard
- Running customer code in containershard
- Trusted registries and digests onlyhard
- Rotating the Secrets encryption keyhard
- Pod create rights reveal Secretshard
- Pods stealing the node cloud rolehard
- Limiting where Pods can connecthard
- Cluster and workloads in one applyhard
- HPA replica calculationhard
- Memory HPA never scales downhard
- VPA and HPA fightinghard
- Node never removed by the autoscalerhard
- Backing up a self-managed control planehard
- Canary with StatefulSet partitionhard
- Reaching one StatefulSet replicahard
- externalTrafficPolicy: Local trade-offhard
- OOMKilled by a scratch directoryhard
- Evicted for ephemeral storagehard
- Critical Pod cannot schedule on a full clusterhard
- Namespace stuck in Terminatinghard
- Changing a Deployment selectorhard
- Restart delay in CrashLoopBackOffhard
- ConfigMap file mounted with subPathhard
- Spotting a Guaranteed QoS Podhard
- Effective CPU request with init containershard
- Failed pre-upgrade migration hookhard
- Manifests fail after a cluster upgradehard
- Order of a cluster upgradehard
- Scale-out slowed by image pullshard
- Annotation too long on applyhard
- Config change does not roll Podshard
- Where the next Pod can gohard
- StatefulSet Pod stuck on a dead nodehard
- CronJob stops after controller downtimehard
- Docker image vs containereasy
- Smallest deployable unit in Kuberneteseasy
- Keeping CPU near a targeteasy
- Containers vs virtual machineseasy
- What Fargate removeseasy
- Managed Kubernetes on each cloudeasy
- Where container images liveeasy
- Logs from a crashed containermedium
- Pod stuck Pending: Insufficient cpumedium
- Container exit code 137 OOMKilledmedium
- Slow Docker builds after every changemedium
- Shrinking a 1.2 GB Go imagemedium
- HPA shows unknown CPU targetmedium
- Two roles on an ECS taskmedium
- IMDSv2 and containersmedium
- Scanning container imagesmedium
- Kubernetes access in EKSmedium
- EKS pods cannot get IP addresseshard
- Node drain stuck on a PDBhard
- Liveness probe makes an outage worsehard
- Slow pods at 30% CPUhard
- Fargate tasks cannot pull imageshard
- Readiness vs liveness probeseasy
- CrashLoopBackOffeasy
- Logs from the crashed containereasy
- PodDisruptionBudgetmedium
- Exit code 137 in Kubernetesmedium
- HPA shows unknown CPUmedium
- A pod stuck in Pendingmedium
- Errors during every rolloutmedium
- Cutting Kubernetes cost safelymedium
- What a ServiceMonitor doesmedium
- kube-state-metrics or cAdvisormedium
- Autoscaling at a flash salemedium
- Throttled but not busyhard
- Go service OOMKilled under loadhard
- Random packet drops on a busy nodehard
- A surprise network billhard
- Which pods are evicted first?hard
- Container takes 10 seconds to stophard
- Container memory near its limithard
- Many DNS queries per lookup in podshard
- Kubernetes keeps killing the databasehard
- All replicas in one zonehard
- Running PostgreSQL on Kuberneteshard
- kubectl exec in audit logsmedium
- Deleted secret still in the imagemedium
- Miner inside a Kubernetes podmedium
- Unknown containers on a build hostmedium
- Pod traffic with no network policymedium
- A privileged pod mounting the hosthard
- Do not just delete the bad podhard
- Why put a model in a containereasy
- Image versus containereasy
- Traffic before the model has loadedeasy
- Pod stuck in CrashLoopBackOffeasy
- Asking Kubernetes for a GPUeasy
- GPU nodes show zero GPUseasy
- Sharing one GPU by time-slicingeasy
- Choosing a container base imageeasy
- Training pod keeps getting evictedeasy
- Scheduling a GPU podmedium
- Slow image buildsmedium
- Pod killed while loading the modelmedium
- Autoscaling a GPU inference servicemedium
- Purpose of a multi-stage buildmedium
- CPU pods filling GPU nodesmedium
- Distributed job stuck half-startedmedium
- GPU nodes take long to appearmedium
- p99 latency spikes during traffic burstshard
- Same tag, different imagehard
- Tail latency at low CPU usagehard
- Image tag now points elsewherehard
- Old run cannot be rebuilthard
- Autoscaling an LLM deploymenthard
- New replicas take four minuteshard
- Rolling update stuck in Pendinghard
- A task that needs its own librarieseasy
- How KubernetesExecutor runs tasksmedium
- Logs missing after a pod finishesmedium
- Latency spikes at 50% average CPUhard
- Pods killed during a load testhard
- Running tests in Dockereasy
- Effect of resource levelingeasy
- What a resource calendar showseasy
- Resource levelling vs smoothingmedium
- Reading a resource histogrammedium
- An over-allocated key engineerhard
- A resource pulled awayhard
- Duration with one shared personhard
- A shared specialisthard