Which Kubernetes object is the smallest deployable unit that can be created and managed in Kubernetes?
Ckad Application Design Build
Question · Easy
You need to create a Pod named "web-server" running nginx with a resource constraint of 256Mi memory limit. Which YAML snippet correctly defines this?
Which kubectl command creates a Pod named "debug" that runs an interactive busybox shell?
Tech Exam Prep Podcast
Listen on Spotify
Podcast
You need to create a Pod with two containers: a main application container and a sidecar container that processes logs. What is the correct approach?
Question · Medium
In a multi-container Pod with an app container and a log-aggregator sidecar, which volume type allows both containers to share log files?
Which statement correctly describes the behavior of init containers in a Pod?
You have a Pod with an init container that needs to wait for a database service to be available before starting the main application. Which approach should the init container use?
Which Kubernetes object should you use to run a batch job that processes data and completes when finished?
You need to schedule a backup job to run every day at 2:00 AM. Which Kubernetes resource and schedule expression should you use?
A Job is configured with completions: 5 and parallelism: 2. How does Kubernetes execute this Job?
Question · Hard
Which kubectl command creates a Deployment named "api-server" with 3 replicas using the image "myapp:v1"?
Ckad Application Deployment
You need to scale the "frontend" Deployment from 3 replicas to 5 replicas. Which command should you use?
A Deployment update is failing and Pods are stuck in CrashLoopBackOff. Which kubectl command allows you to quickly roll back to the previous revision?
Which Deployment strategy replaces Pods gradually, ensuring the application remains available during the update?
A Deployment has maxSurge: 25% and maxUnavailable: 25%. With 4 replicas running, what is the maximum number of Pods that can be created during a rolling update?
Which approach is used to implement a blue-green deployment in Kubernetes?
In a canary deployment, how do you route only 10% of traffic to the new version while keeping 90% on the stable version?
Which kubectl command shows the rollout history of a Deployment named "backend"?
Which kubectl command enables Horizontal Pod Autoscaling for a Deployment "webapp" with a target CPU utilization of 70% and minimum/maximum replicas of 2 and 10?
What resource must be configured for CPU-based Horizontal Pod Autoscaling to work correctly?
Which probe is used to determine when a container should be restarted?
Ckad Observability Maintenance
An application takes 60 seconds to start and initialize its database connections. Which probe configuration should be used to prevent premature health checks during startup?
Which probe type should be used to remove a Pod from Service endpoints when it is temporarily unable to handle requests (e.g., during high load)?
A Pod is stuck in the Pending state. What is the most likely cause?
Which kubectl command displays the logs from all containers in a Pod named "multi-container-pod"?
You need to debug a container that is crashing immediately on startup. Which kubectl command helps you inspect the container before it crashes?
Which kubectl command streams logs from a Pod in real-time?
Which metric shows the timestamp when a container last terminated, useful for debugging intermittent crashes?
Which kubectl command creates a ConfigMap named "app-config" from a literal key-value pair APP_ENV=production?
Ckad Environment Config Security
You have a ConfigMap "db-config" with a key "connection-string". Which Pod spec snippet correctly mounts this as an environment variable named DATABASE_URL?
Which approach mounts all keys from a ConfigMap as files in a directory inside the container?
Which command creates a Secret named "api-key" with a key "token" and value "secret123" without exposing the value in shell history?
When mounting a Secret as a volume, how is the secret data encoded?
Which securityContext setting prevents a container from running as root?
You need to run a container with UID 2000 and GID 3000. Which securityContext configuration achieves this?
Which default ServiceAccount is automatically mounted into Pods that do not specify a serviceAccountName?
How do you prevent a Pod from mounting the default ServiceAccount token?
What is the difference between resources.requests and resources.limits in a container spec?
What happens when a container exceeds its memory limit?
Which NetworkPolicy spec field defines which Pods the policy applies to?
Which NetworkPolicy rule allows ingress traffic only from Pods with the label app=frontend in the same namespace?
Which Pod Security Standard level is the most restrictive, disallowing privileged containers and many other risky configurations?
Which field in a PersistentVolumeClaim specifies the minimum storage capacity required?
Which Service type exposes the service on a cluster-internal IP and is only reachable from within the cluster?
Ckad Services Networking
A Service has endpoints but clients cannot connect to the Pods. Which field in the Service spec should you check to ensure it matches the Pod's containerPort?
Which Service type should be used to expose an application to external traffic on a bare-metal cluster without a cloud provider load balancer?
Which Ingress rule snippet correctly routes requests to "api.example.com" to a Service named "api-service" on port 8080?
Loading more…