Skip to content
xgueret edited this page Feb 18, 2026 · 1 revision

FAQ

General

What is ckad-dojo?

ckad-dojo is a local CKAD (Certified Kubernetes Application Developer) exam simulator. It provides realistic practice sessions with timed exams, automated scoring, and a web interface similar to the real exam environment.

How many questions are there?

There are 178 questions across 9 themed dojos. Each dojo has 17-21 questions and runs for 120 minutes.

What Kubernetes version do I need?

A Kubernetes cluster running version 1.28 or higher. You can use minikube, kind, kubeadm, or any other distribution.

Is this the same as the real CKAD exam?

No. ckad-dojo is a practice tool for educational purposes. The questions cover the same domains as the CKAD exam, but the format and specific questions are different. The real exam uses a PSI browser-based environment.


Installation

Do I need to install Python?

Not directly. ckad-dojo uses uv as a Python package manager and runner. uv handles Python installation and dependency management automatically.

If you prefer not to use Python/uv at all, you can use the Bash scripts directly:

./scripts/ckad-exam.sh

Can I run ckad-dojo without Docker?

Docker is required for questions involving container image building and the local registry (localhost:5000). Most questions work without Docker, but some (like building and pushing images) will not score correctly.

What browsers are supported?

The web interface works in any modern browser. You can specify a browser with the --browser flag:

uv run ckad-dojo exam start --browser firefox

Supported values: firefox, chrome, chromium, brave, default.


Exam Sessions

How do I start an exam?

# Interactive menu (recommended)
uv run ckad-dojo

# Direct command
uv run ckad-dojo exam start -e ckad-simulation1

Can I pause the timer?

Yes, if the exam allows it. Most exams have ALLOW_TIMER_PAUSE=true in their configuration. Use the pause button in the web interface header.

To disable pausing for a more realistic experience:

./scripts/ckad-exam.sh web --no-pause

Can I start at a specific question?

Yes:

uv run ckad-dojo exam start -e ckad-simulation1 -q 5
# or
./scripts/ckad-exam.sh web -q 5

What are "preview questions"?

Some dojos include 1-2 preview questions (displayed before Question 1) that do not count toward your score. They help you familiarize yourself with the exam format.

Can I disable hints?

Yes:

./scripts/ckad-exam.sh web --no-hints

Where do I save my answers?

Your working directory for answers is ./exam/course/N/ where N is the question number. This maps to /opt/course/N/ in the exam text.

Kubernetes resources should be created in the namespace specified for each question.


Scoring

How do I check my score?

# From the web UI: click "Stop Exam"
# From CLI:
uv run ckad-dojo score -e ckad-simulation1
# Or directly:
./scripts/ckad-score.sh -e ckad-simulation1

What is the passing score?

66% for all dojos, which approximates the real CKAD exam threshold.

Scoring shows 0 for a question I completed

Common causes:

  • Wrong namespace: Verify the resource is in the correct namespace (check the question metadata)
  • Wrong name: Resource names must match exactly (case-sensitive)
  • Wrong file path: File outputs must be in ./exam/course/N/filename exactly as specified
  • Resource not ready: Some resources need time to become ready; wait and re-score

Can I score a single question?

Yes:

./scripts/ckad-score.sh -e ckad-simulation1 -q 5

Troubleshooting

Port 9090 is already in use

# Check what's using the port
lsof -i :9090

# Use an alternative port
./scripts/ckad-exam.sh web --port 8888

The embedded terminal is not working

The terminal requires ttyd to be installed. Check with:

ttyd --version

If ttyd is not available, the exam will run without the embedded terminal. You can use a separate terminal window instead.

To explicitly disable the terminal:

./scripts/ckad-exam.sh web --no-terminal

Registry push fails (Q11-type questions)

The local Docker registry requires configuration:

# Add to /etc/docker/daemon.json:
{ "insecure-registries": ["localhost:5000"] }

# Then restart Docker:
sudo systemctl restart docker

Ingress creation fails with webhook error

The ingress-nginx controller may not be running:

# Check status
kubectl get pods -n ingress-nginx

# Restart controller
kubectl rollout restart deployment ingress-nginx-controller -n ingress-nginx

# Or install if missing
kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/main/deploy/static/provider/kind/deploy.yaml


# Workaround: delete the webhook
kubectl delete validatingwebhookconfiguration ingress-nginx-admission

Cleanup hangs or fails

If cleanup is stuck on namespace deletion:

# Check for stuck namespaces
kubectl get namespaces

# Force-delete a stuck namespace (last resort)
kubectl get namespace <ns> -o json | jq '.spec.finalizers = []' | kubectl replace --raw "/api/v1/namespaces/<ns>/finalize" -f -

How do I switch between exams?

Always clean up the current exam before starting a new one:

# Cleanup current exam
uv run ckad-dojo cleanup -e ckad-simulation1

# Start new exam
uv run ckad-dojo exam start -e ckad-simulation2

The exam launcher will also detect existing resources and offer to clean up automatically.

Clone this wiki locally