How it fits together

CKPrep has two parts:

  • The runner (ckprep-runner.zip) is a free command-line program. You download it once, and it runs every pack.
  • A pack (a .ckpack file, such as kcna-1.37.0.ckpack) holds the questions or tasks for one exam. It's what you buy.

So the path is: buy a pack, download the pack and the runner, unzip the runner, install the pack into it, and start a mock exam or drill. You do it all from a terminal.

PackTypeWhat your machine needs
KCNA, KCSAMultiple choicebash and python3, which macOS and most Linux systems already have.
CKA, CKAD, CKSHands-on, on real clustersDocker, kind, kubectl, helm, curl, jq, openssl and python3. VM labs also need Lima.

Apple silicon Macs and x86-64 Linux are fully tested. Intel Macs and Windows through WSL2 are in beta.

Step 1: Download your files

Checkout is handled by Polar. After you pay, you land on our thanks page, and Polar emails you a receipt.

  1. Open your downloads. Follow the link in Polar's email, or go to the CKPrep customer portal and sign in with the email you bought with. Polar emails you a one-time code; there's no password.
  2. Find the Benefits section. Each pack you bought is listed there, for example KCNA practice pack (Kubernetes 1.37). Click the download arrow next to the .ckpack file. A bundle lists one file per pack.
  3. Get the runner too if you don't have it yet. If it isn't in your Benefits, get it free from the runner download.

Your browser saves the files to your Downloads folder. You can download them again from the portal at any time, on any computer.

Step 2: Set up the free runner

Open a terminal (on a Mac, the Terminal app) and unzip the runner into your home folder, so it stays put when you clean up Downloads:

cd ~
unzip ~/Downloads/ckprep-runner.zip
cd ~/ckprep

This creates a folder called ckprep with the ckprep program inside. Run every command on this page from inside that folder, which is why they start with ./ckprep. When you open a new terminal later, start with cd ~/ckprep.

Safari unzips downloads by itself, so you may already have a ckprep folder in Downloads instead of the zip. Then move that folder with mv ~/Downloads/ckprep ~/ckprep and carry on from cd ~/ckprep.

Now check your machine:

./ckprep doctor

Every line should show a ✓. If one shows ✗, it tells you what's missing. Before any pack is installed, doctor checks everything the hands-on packs need, Docker included. If you only bought KCNA or KCSA, you can ignore Docker, kind and Lima: once one of those packs is active, doctor checks only python3.

Step 3: Install your pack

Install the .ckpack file you downloaded, then make it the active pack. For the KCNA pack:

./ckprep install ~/Downloads/kcna-1.37.0.ckpack
./ckprep use kcna

For another pack, use its name, in the file name too: cka, ckad, cks, kcna or kcsa. The runner checks the pack's signature as it installs it.

You can install several packs and switch between them at any time. If you bought the KCNA + KCSA bundle, install both files:

./ckprep install ~/Downloads/kcna-1.37.0.ckpack
./ckprep install ~/Downloads/kcsa-1.37.0.ckpack
./ckprep packs          # lists installed packs; * marks the active one
./ckprep use kcsa       # switch to KCSA
./ckprep use kcna       # and back

The All-Exams Bundle works the same way with five files: install each one, then switch with ./ckprep use and the pack's name.

Once a pack is installed, you can delete the downloaded .ckpack file.

Step 4: Practise with KCNA and KCSA (multiple choice)

See what the pack contains:

./ckprep list

It shows three full mock exams (mock-01, mock-02 and mock-03: 60 questions in 90 minutes each, 75% to pass) and the domains you can drill.

Take a mock exam

./ckprep start mock-01
./ckprep q 1            # read question 1
./ckprep answer 1 B     # answer it
./ckprep q 2            # and so on
  • Reading questions: ./ckprep q 7 shows question 7. ./ckprep q on its own shows all of them in a scrollable view; press q to leave it.
  • Multi-answer questions say "choose 2" at the top. Answer them with letters separated by a comma, such as ./ckprep answer 12 A,C. They score only when the whole selection is right.
  • Changing your mind: answer the question again, or remove the answer with ./ckprep answer 7 --clear. You can answer in any order.
  • The clock: ./ckprep time shows the time left. For a live countdown, run ./ckprep timer in a second terminal tab.
  • Shuffled options: answer options are shuffled for every attempt, so the right letter changes each time.

Grade it and read the explanations

./ckprep grade
./ckprep solution 7     # the answer and explanation for question 7

Grading is final. You get your score against the 75% pass mark, a ✓ or ✗ for each question, and a breakdown by domain. Then the explanation and source link for every question unlock. If you try to grade with questions unanswered and time left, the runner stops you in case it was a mistake; ./ckprep grade --force grades anyway.

Drill one domain

A drill gives you every question from one domain, timed at exam pace. Give the domain name from ./ckprep list, or any part of it that's unique:

./ckprep drill fundamentals     # KCNA: Kubernetes Fundamentals
./ckprep drill threat           # KCSA: Kubernetes Threat Model

Drills work like mocks: q, answer, grade and solution.

Pausing and quitting

Your attempt is saved as you go, so you can close the terminal and come back. ./ckprep start mock-01 picks up the open attempt. Only one attempt can be open at a time: grade it, or end it without a score with ./ckprep stop, before you start another.

Step 4: Practise with CKA, CKAD and CKS (hands-on)

Hands-on packs build real Kubernetes clusters on your machine, break them in specific ways, and grade what you fix. Make sure Docker is running, then list the sets:

./ckprep list

Sets are drills (such as drill-1-troubleshooting), full mock exams (mock-01 and up) and, for the CKA and CKS, VM labs (lab-…) that run on small virtual machines.

Start a set

./ckprep start drill-1-troubleshooting

It takes a few minutes to build the clusters and set up every task, and VM labs add 2 to 4 minutes. When it's ready, your timer starts and it prints what to do next:

  1. Point kubectl at the practice clusters by copying the export KUBECONFIG=… line it prints into your terminal. Do this in every terminal tab you work in.
  2. Read the tasks with ./ckprep q 1, or open the questions file whose path it prints. Each task's heading names the kubectl context to use, so switch to it first, as you would in the exam. Some tasks ask you to write an answer to a file; the task gives the path.
  3. Work like it's exam day: kubectl, an editor and the Kubernetes docs. For node-level tasks, ./ckprep ssh <node> opens a root shell on that node; the task names the node.
  4. Watch the time with ./ckprep time, or run ./ckprep timer in another tab.

Grade and clean up

./ckprep grade          # checks the live clusters, task by task, with partial credit
./ckprep solution 3     # worked solution for task 3
./ckprep stop           # deletes the practice clusters and frees memory

Run ./ckprep stop when you've finished. The clusters use several GB of memory while they're running. VM labs keep their VMs between sessions; ./ckprep vm down stops them.

Track your progress

./ckprep progress

This shows every graded attempt for the active pack and your score in each domain across all of them, so you can see where to study next. Your sessions and progress are kept in a hidden .ckprep folder in your home folder, separately for each pack, so they survive updates to the runner and the pack.

All commands

./ckprep help lists the commands for the active pack. The ones you'll use most:

CommandWhat it does
./ckprep doctorChecks your machine can run the active pack
./ckprep install FILEInstalls a .ckpack you downloaded
./ckprep packsLists installed packs
./ckprep use PACKSwitches to another installed pack
./ckprep listLists mock exams, drills and labs
./ckprep start NAMEStarts a mock exam or set, or resumes the open one
./ckprep drill DOMAINStarts a domain drill (KCNA and KCSA)
./ckprep q NShows question or task N; with no number, all of them
./ckprep answer N BAnswers question N (KCNA and KCSA); A,C for two answers, --clear to remove
./ckprep time, ./ckprep timerTime left, or a live countdown
./ckprep gradeGrades the attempt and unlocks the solutions
./ckprep solution NShows the solution or explanation for question N
./ckprep stopEnds the attempt; for hands-on packs, deletes the clusters
./ckprep progressYour scores over time and by domain
./ckprep ssh NODEA shell on a cluster node or VM (hands-on packs)

Troubleshooting

"command not found" or "no such file or directory"

You're not in the runner's folder. Run cd ~/ckprep first, or wherever you unzipped it, then try again.

The install says the file doesn't exist

Check the file name and where it was saved: ls ~/Downloads/*.ckpack. If your browser renamed it, for example to kcna-1.37.0 (1).ckpack, put the path in quotes.

"No session running"

Start a mock exam or drill first with ./ckprep start or ./ckprep drill. ./ckprep list shows the names.

"Grade it or end it first"

An attempt is still open. Finish it with ./ckprep grade, or end it without a score with ./ckprep stop.

I'm on Windows

Use WSL2 with Ubuntu, and run every command inside the Ubuntu terminal. Windows support is in beta.

I'm moving to a new computer

Download the runner and your packs again from the customer portal and repeat steps 2 and 3. To keep your progress, copy the .ckprep folder from your old home folder.

Still stuck?

Email support@ckprep.com with your order number and the output of ./ckprep doctor. If a pack won't run on a supported machine and I can't fix it, you get a full refund within 14 days. See the refund policy.