Practise
Labs
Exercises to replay on your own machine, graded on the real state of the system rather than on the commands you typed. They prepare 12 certifications, from RHCSA to CKS. Everything is free and account-free: the catalogues are public repositories, and grading runs on your machine.
Start in four commandsEvery command
- 761 labs graded on the state of your machine
- 500 hours of practice to replay at home
- 557 on a virtual machine real systems, not containers
Install DSOXLab, then run any lab The CLI installs the catalogue, prepares the environment, gives you the brief and then runs the validation tests. It needs no administrator rights: uv installs the Python it needs by itself, pipx requires Python 3.11 or later.
-
01
Install the CLI
With uv or pipx, in your user account.
uv tool install dsoxlab # or: pipx install dsoxlab -
02
Add a catalogue
The exact command sits at the top of each catalogue below.
dsoxlab catalog add https://github.com/stephrobert/linux-dsoxlab-training -
03
Check your machine
Missing memory or hypervisor: reported before Terraform fails on you.
dsoxlab doctor -
04
Run, then grade
start prepares and opens a session; check runs the tests and computes the score, on your machine, without sending anything. To see it on the site: dsoxlab push to your account, or dsoxlab export then import in My learning.
dsoxlab start l1-first-terminaldsoxlab check l1-first-terminal
What the catalogue labels mean Two labels appear on every card. They tell you what your machine needs, and how far the author has tested the lab.
Shell or virtual machine
557 of the 761 labs provision real virtual machines: no container will prove that you can repair a systemd service or write an SELinux rule. The rest only need a shell, and dsoxlab doctor reports what your machine is missing before the first run.
Attested, to re-attest, or not yet
639 labs carry the attested mark: the author played each one end to end and scored it both ways, zero before the work and one hundred after, and it has not changed since. 122 still await their record, and this page says so rather than making the same promise everywhere. This attestation covers the lab, never your own results, which this site cannot verify.
Understand a labThe English documentationThe certifications prepared
The search box takes a command, a skill or a certification acronym: typing selinux or CKA narrows the list down to what concerns you. Every lab is written in English. The companion guides are being translated, and a link says when one is still French only.
Add this catalogue dsoxlab catalog add https://github.com/stephrobert/linux-dsoxlab-training
Fundamentals
20
-
First steps in the terminal
Run basic commands (whoami, pwd, hostname, date) and capture the output in a file.
Graded on the state of the system attested 24 Nov 2026
Open the guide RHCSALFCS
Command to start it
dsoxlab start l1-first-terminal -
Map Linux: kernel, distribution and key directories
Explore what Linux is made of: run real commands on your own system to discover the kernel, your distribution and the role of /etc, /var/log and /proc. Fill in a knowledge map.
Graded on the state of the system attested 24 Nov 2026
Open the guide RHCSALFCS
Command to start it
dsoxlab start l1-discover-linux-map -
Choose your reference Linux distribution
Compare Debian/Ubuntu and RHEL-based distributions, understand the criteria for choosing between them, and document your choice for three practical scenarios.
Graded on the state of the system attested 24 Nov 2026
Open the guide RHCSALFCS
Command to start it
dsoxlab start l1-choose-distro -
Identify your Linux machine
Run commands to collect your system's hostname, distribution, kernel version and IP address. Produce a machine identity card stored in vm-info.txt.
Graded on the state of the system attested 24 Nov 2026
Open the guide RHCSALFCS
Command to start it
dsoxlab start l1-prepare-vm -
Read and decode a command
Decompose 5 Linux commands into their command/options/arguments parts and fix 3 broken commands.
Graded on the state of the system attested 19 Oct 2026
Open the guide RHCSALFCS
Command to start it
dsoxlab start l1-read-a-command -
Get help from the command line
Use man, --help, and apropos to find the right command options without searching the web.
Graded on the state of the system attested 19 Oct 2026
Open the guide RHCSALFCS
Command to start it
dsoxlab start l1-get-help -
Linux filesystem hierarchy (FHS)
Match the standard Linux directories to their roles and classify files by location.
Graded on the state of the system attested 24 Nov 2026
Open the guide RHCSALFCS
Command to start it
dsoxlab start l1-linux-filesystem -
Navigate the filesystem
Use cd, ls, mkdir, cp, mv, rm to build a target directory tree from scratch.
Graded on the state of the system attested 19 Oct 2026
Open the guide RHCSALFCS
Command to start it
dsoxlab start l1-navigate-filesystem -
Absolute and relative paths
Copy a file using an absolute path and a relative path, then solve 5 path navigation puzzles.
Graded on the state of the system attested 1 Dec 2026
Open the guide RHCSALFCS
Command to start it
dsoxlab start l1-paths-absolute-relative -
Redirect streams and chain commands with pipes
Redirect stdout and stderr, merge them, and chain commands with pipes to produce exact artifacts.
Graded on the state of the system attested 19 Oct 2026
Open the guide RHCSA
Command to start it
dsoxlab start l1-redirections-pipes -
Filter a log with grep and regular expressions
Use grep with anchors, character classes, invert-match and count to extract exact facts from an access log.
Graded on the state of the system attested 11 Nov 2026
Open the guide RHCSALFCS
Command to start it
dsoxlab start l1-grep-regex -
Transform and aggregate text with cut, sort, uniq, sed and awk
Slice columns, deduplicate, count occurrences, sum a field and rewrite a delimiter to turn a raw record file into exact facts.
Graded on the state of the system attested 11 Nov 2026
Open the guide RHCSALFCS
Command to start it
dsoxlab start l1-text-processing -
Locate files with find by name, size and permissions
Extract a project tree and use find to list files by name pattern, by size and by exact permissions, producing the results into files that are checked against the real tree.
Graded on the state of the system attested 19 Oct 2026
Open the guide RHCSALFCS
Command to start it
dsoxlab start l1-find-files -
Archive, compress and selectively extract with tar, gzip and bzip2
Create gzip and bzip2 tarballs, list their contents, and extract a single member into a target directory.
Graded on the state of the system attested 1 Dec 2026
Open the guide RHCSA
Command to start it
dsoxlab start l1-tar-archives -
Set exact file permissions with chmod (octal and symbolic)
Give each file the right owner/group/other bits: a private secret, an executable script, a group-readable note and a private directory.
Graded on the state of the system attested 19 Oct 2026
Open the guide RHCSALFCS
Command to start it
dsoxlab start l1-permissions-ugo -
Create hard and symbolic links and tell them apart
Make a hard link that shares the inode, a symbolic link that points by path, and a symlink to a directory, proven by inode, link count and link target.
Graded on the state of the system attested 19 Oct 2026
Open the guide RHCSA
Command to start it
dsoxlab start l1-links-hard-sym -
Write a first Bash script: variables, a loop and a condition
Write rapport.sh that reads a status file passed as an argument, counts UP/DOWN with a loop, prints them, and exits non-zero when any host is down.
Graded on the state of the system attested 19 Oct 2026
Open the guide RHCSALFCS
Command to start it
dsoxlab start l1-bash-script -
Initialize a Git repo: commit, history and a branch
Create a repository, make two commits tracking real files, and open a feature branch, proven by inspecting the repository state itself.
Graded on the state of the system attested 19 Oct 2026
Command to start it
dsoxlab start l1-git-basics -
Environment variables: export, PATH and a sourced env file
Write env.sh that, when sourced, exports variables, reuses one in another, and prepends a bin directory to PATH, proven by sourcing it in a subshell.
Graded on the state of the system attested 19 Oct 2026
Open the guide LFCS
Command to start it
dsoxlab start l1-env-profiles -
Inspect a TLS certificate with openssl
Read a delivered X.509 certificate: extract its subject, validity dates, SHA-256 fingerprint and public key with openssl x509.
Graded on the state of the system attested 19 Oct 2026
Command to start it
dsoxlab start l1-ssl-certificates
Operating and maintaining
18
-
Add and manage swap space
Create a secure swap file, activate it, make it persistent in /etc/fstab and tune vm.swappiness.
Graded on the state of the system attested 19 Oct 2026
Open the guide (French) RHCSALFCS
Command to start it
dsoxlab start l2-swap-management -
Mount a filesystem persistently by UUID in /etc/fstab
Mount a pre-formatted extra disk at /srv/data through /etc/fstab, referenced by UUID (not device name) so it survives a reboot, and prove the line with mount -a AND findmnt --verify.
Graded on the state of the system attested 19 Oct 2026
Open the guide (French) RHCSALFCS
Command to start it
dsoxlab start l2-fstab-persist-uuid -
Create GPT partitions on a disk with parted
Put a GPT label on the spare disk and carve two partitions (512 MiB and 1 GiB), then make the kernel re-read the table.
Graded on the state of the system attested 19 Oct 2026
Open the guide (French) RHCSALFCS
Command to start it
dsoxlab start l2-partition-gpt -
Create and label an XFS filesystem, then mount it
Format a prepared partition as XFS with a label, create a mount point and mount it, proven by the filesystem type, its label and the active mount.
Graded on the state of the system attested 19 Oct 2026
Open the guide (French) RHCSALFCS
Command to start it
dsoxlab start l2-filesystem-create-xfs -
Diagnose a full filesystem and reclaim space
A filesystem is full. Find the culprit with df/du, remove the junk without deleting the legitimate data, and bring usage back down.
Graded on the state of the system attested 19 Oct 2026
Open the guide (French) RHCSALFCS
Command to start it
dsoxlab start l2-disk-space-troubleshoot -
Tune a mount for performance with noatime (persistently)
A read-heavy filesystem wastes I/O writing access times. Add the noatime mount option, make it active and persistent in /etc/fstab.
Graded on the state of the system attested 19 Oct 2026
Command to start it
dsoxlab start l2-storage-performance -
Extend a logical volume and check the mount survives a reboot
Extend an LVM logical volume, grow the XFS filesystem, and make the mount persistent via /etc/fstab by UUID.
Graded on the state of the system attested 19 Oct 2026
Open the guide (French) RHCSALFCS
Command to start it
dsoxlab start l2-lvm-extend-persist -
Mount an NFS export persistently from a server
A second host exports an NFS share. Mount it on the client at /mnt/nfs, make it persistent in /etc/fstab with _netdev so it survives a reboot.
Graded on the state of the system attested 19 Oct 2026
Command to start it
dsoxlab start l2-nfs-mount-persist -
Mount a filesystem on demand with autofs
Configure autofs so that accessing /autofs/data mounts the spare disk automatically, and unmounts it after idle, a master map plus a mount map.
Graded on the state of the system attested 19 Oct 2026
Command to start it
dsoxlab start l2-autofs-ondemand -
Build a software RAID 1 with mdadm
Assemble two disks into a redundant RAID 1 array with mdadm, format and mount it, and make it persistent.
Graded on the state of the system attested 19 Oct 2026
Command to start it
dsoxlab start l2-raid-mdadm -
Encrypt a disk with LUKS
Encrypt a block device with LUKS2, open it, put a filesystem on it, mount it and make it unlock at boot via crypttab.
Graded on the state of the system attested 19 Oct 2026
Open the guide (French) RHCSA
Command to start it
dsoxlab start l2-luks-encryption -
Create a local account with exact UID, shell and groups
Onboard a user with a specific UID, home, login shell, a primary group and a supplementary group, the RHCSA account-creation drill.
Graded on the state of the system attested 19 Oct 2026
Open the guide (French) RHCSALFCS
Command to start it
dsoxlab start l2-user-lifecycle -
Enforce password aging and complexity policy
Set per-account password aging with chage, the system default max age in login.defs, and a minimum password length via pwquality.
Graded on the state of the system attested 19 Oct 2026
Open the guide (French) RHCSALFCS
Command to start it
dsoxlab start l2-password-policy -
Delegate limited sudo rights with a sudoers drop-in
Grant the operators group password-less sudo for systemctl only, via a validated /etc/sudoers.d drop-in, least privilege, not full root.
Graded on the state of the system attested 19 Oct 2026
Open the guide (French) RHCSALFCS
Command to start it
dsoxlab start l2-sudo-delegation -
Grant fine-grained access with POSIX ACLs
Go beyond ugo: give one user rw on a file and a group rx on a directory, with a default ACL so new files inherit it, using setfacl/getfacl.
Graded on the state of the system attested 19 Oct 2026
Open the guide (French) RHCSALFCS
Command to start it
dsoxlab start l2-acl-posix -
Set up a collaborative directory with the set-GID bit
Give a shared directory the devteam group and the set-GID bit so files created inside inherit the group, proven by the directory mode and a member's new file.
Graded on the state of the system attested 19 Oct 2026
Open the guide (French) RHCSALFCS
Command to start it
dsoxlab start l2-collaborative-setgid -
Install, remove and query packages with dnf
Bring the machine to a target software state: install a needed package, remove an unwanted one, and confirm with dnf/rpm queries.
Graded on the state of the system attested 19 Oct 2026
Open the guide (French) RHCSA
Command to start it
dsoxlab start l2-package-management -
Configure a dnf repository with a .repo file
Add a software repository under /etc/yum.repos.d: an id, a baseurl, enabled and GPG-checked, then confirm dnf sees it.
Graded on the state of the system attested 19 Oct 2026
Open the guide (French) RHCSA
Command to start it
dsoxlab start l2-repo-configure
Services and troubleshooting
14
-
Set the default systemd boot target
A server has no business booting into a graphical target. Set the default to multi-user.target and confirm it.
Graded on the state of the system attested 19 Oct 2026
Open the guide RHCSALFCS
Command to start it
dsoxlab start l3-boot-target -
Add a persistent kernel boot parameter
Add a kernel command-line parameter to the current kernel with grubby and to /etc/default/grub for future kernels, so it survives reboots and updates, proven by grubby and the grub config.
Graded on the state of the system attested 19 Oct 2026
Open the guide (French) RHCSA
Command to start it
dsoxlab start l3-grub-kernel-args -
Create and enable a systemd service unit
Wrap a program in a systemd .service unit, start it and enable it at boot, proven by the service being active, enabled and doing its job.
Graded on the state of the system attested 19 Oct 2026
Open the guide RHCSALFCS
Command to start it
dsoxlab start l3-service-create-unit -
Diagnose and fix a systemd service stuck in a crash loop
A systemd service keeps restarting because of a missing config file. Use systemctl + journalctl to find the root cause and fix it permanently.
Graded on the state of the system attested 19 Oct 2026
Open the guide (French) RHCSALFCS
Command to start it
dsoxlab start l3-service-diagnose -
Make the systemd journal persistent across reboots
By default logs vanish on reboot. Enable persistent journald storage so /var/log/journal keeps history, proven by config, directory and a real journal file.
Graded on the state of the system attested 19 Oct 2026
Open the guide RHCSALFCS
Command to start it
dsoxlab start l3-journald-persist -
Schedule a recurring job with cron
Run /usr/local/bin/report.sh every day at 02:30 through a cron entry, proven by the actual schedule the cron daemon will honour.
Graded on the state of the system attested 19 Oct 2026
Open the guide RHCSALFCS
Command to start it
dsoxlab start l3-scheduling-cron -
Schedule a one-shot job with at
Queue a command to run once at a later time with at, and prove it is scheduled, the one-off counterpart to cron.
Graded on the state of the system attested 19 Oct 2026
Open the guide RHCSALFCS
Command to start it
dsoxlab start l3-scheduling-at -
Schedule a recurring job with a systemd timer
Create a .service and its .timer (OnCalendar), enable it, and prove it is active and persistent, the systemd way to schedule recurring work.
Graded on the state of the system attested 19 Oct 2026
Open the guide RHCSALFCS
Command to start it
dsoxlab start l3-scheduling-timers -
Set per-user resource limits (open files) with limits.d
Give the appuser account a higher open-files limit via /etc/security/limits.d, proven by the effective ulimit in a real login session.
Graded on the state of the system attested 19 Oct 2026
Open the guide LFCS
Command to start it
dsoxlab start l3-app-constraints -
Harden kernel parameters persistently with sysctl.d
Disable IP forwarding and ICMP redirects via /etc/sysctl.d, applied now and surviving reboot, proven by the live sysctl values.
Graded on the state of the system attested 19 Oct 2026
Open the guide (French) RHCSA
Command to start it
dsoxlab start l3-sysctl-persist -
Lower a service's scheduling priority with Nice
A batch worker hogs the CPU. Give its service a nice value of 10 so it yields to interactive work, proven by the live process priority and the unit config.
Graded on the state of the system attested 19 Oct 2026
Open the guide LFCS
Command to start it
dsoxlab start l3-process-signals-priority -
Apply a tuned performance profile
Switch the active tuned profile to throughput-performance and make it stick, proven by the active profile the tuned daemon reports.
Graded on the state of the system attested 19 Oct 2026
Open the guide RHCSA
Command to start it
dsoxlab start l3-tuned-profile -
Recover a read-only mount caused by a broken fstab
A bad /etc/fstab option left /srv/data mounted read-only. Fix the entry, remount read-write, and make mount -a clean again.
Graded on the state of the system attested 19 Oct 2026
Open the guide (French) RHCSALFCS
Command to start it
dsoxlab start l3-fs-readonly-recover -
Repair a broken sshd config before it locks you out
A drop-in left an invalid directive: sshd -t fails, so the next reload or reboot would kill remote access. Fix the config, keep root login disabled, and reload cleanly.
Graded on the state of the system attested 19 Oct 2026
Open the guide (French) RHCSALFCS
Command to start it
dsoxlab start l3-ssh-access-recovery
Network, security and containers
15
-
Synchronize the clock with chrony and set the timezone, persistently
Enable and start chronyd, turn NTP on and set the timezone to Europe/Paris, surviving reboot, proven by the live service state and timedatectl.
Graded on the state of the system attested 19 Oct 2026
Open the guide (French) RHCSA
Command to start it
dsoxlab start l4-ntp-sync -
Configure a persistent static IPv4 with NetworkManager
Create a NetworkManager connection with a static IPv4 (manual method) that survives reboot, proven by the on-disk profile and the live address.
Graded on the state of the system attested 19 Oct 2026
Open the guide RHCSA
Command to start it
dsoxlab start l4-network-static-persist -
Diagnose and restore a down network connection
A NetworkManager connection is configured but stays down and won't auto-start. Diagnose it, bring it up, and make it auto-connect, proven by the live state and autoconnect flag.
Graded on the state of the system attested 19 Oct 2026
Open the guide RHCSA
Command to start it
dsoxlab start l4-network-troubleshoot -
Open a firewalld service permanently
Allow the http service through firewalld so it holds now and after reload/reboot, proven by the runtime and permanent service lists, without ever closing ssh.
Graded on the state of the system attested 19 Oct 2026
Open the guide (French) RHCSA
Command to start it
dsoxlab start l4-firewall-persist -
Set up hardened key-based SSH access for a service user
Give the deploy user key-based SSH login with correct ownership and permissions (.ssh 700, authorized_keys 600, owned by the user), the classic trap that silently breaks key auth.
Graded on the state of the system attested 19 Oct 2026
Open the guide RHCSA
Command to start it
dsoxlab start l4-ssh-key-auth-harden -
Run a detached container with Podman
Pull an image and run a named container detached, and prove it is up, the Podman basics for RHCSA containers.
Graded on the state of the system attested 19 Oct 2026
Open the guide (French) RHCSA
Command to start it
dsoxlab start l4-podman-basic -
Run a container as a systemd service with Quadlet (boot-persistent)
Define a Quadlet .container unit so a container starts at boot under systemd, proven by the active service, the running container and the on-disk unit.
Graded on the state of the system attested 19 Oct 2026
Open the guide (French) RHCSA
Command to start it
dsoxlab start l4-podman-systemd-persist -
Manage container images: pull, tag, save and inspect
Pull an image from a registry, tag it, save it to an archive and inspect that archive with skopeo, the image-management skills for RHCSA containers.
Graded on the state of the system attested 19 Oct 2026
Open the guide (French) RHCSA
Command to start it
dsoxlab start l4-podman-images -
Allow a service with SELinux: persistent boolean and labeled port
Turn on an SELinux boolean persistently and label a non-standard port so a service is allowed under enforcing SELinux, proven by getsebool and semanage port.
Graded on the state of the system attested 19 Oct 2026
Open the guide (French) RHCSA
Command to start it
dsoxlab start l4-selinux-boolean-port -
Fix a file's SELinux context, persistently
Give a custom web directory the httpd_sys_content_t type with semanage fcontext + restorecon so it survives a relabel/reboot, proven by ls -Z and the fcontext rule.
Graded on the state of the system attested 19 Oct 2026
Open the guide (French) RHCSA
Command to start it
dsoxlab start l4-selinux-context-fix -
Diagnose an SELinux denial (AVC) and fix it the right way
A web file has the wrong SELinux label so httpd is denied (403). Read the AVC in the audit log and restore the context, without disabling SELinux. Proven by the live context and a 200 response.
Graded on the state of the system attested 19 Oct 2026
Open the guide (French) RHCSA
Command to start it
dsoxlab start l4-selinux-diagnose-avc -
Set up persistent NAT port forwarding with nftables
Enable IP forwarding and add an nftables nat table (DNAT port forward + masquerade) that survives reboot, proven by the live ruleset, sysctl and persistence files.
Graded on the state of the system attested 19 Oct 2026
Open the guide (French) RHCSA
Command to start it
dsoxlab start l4-nat-portforward -
Authenticate Linux against an LDAP directory with SSSD
Configure SSSD on the client so a directory user (alice) resolves and can log in, against a 389 Directory Server, proven by getent, id and the active authselect profile.
Graded on the state of the system attested 19 Oct 2026
Open the guide (French) RHCSA
Command to start it
dsoxlab start l4-ldap-integration -
Load-balance a web backend with HAProxy
Configure HAProxy on the front host to reverse-proxy and load-balance to a backend web server, persistently, proven by a request through the proxy returning the backend's page.
Graded on the state of the system attested 19 Oct 2026
Command to start it
dsoxlab start l4-reverse-proxy-lb -
Aggregate links: an active-backup bond under a bridge with nmcli
Build an active-backup bond over two slave interfaces and put a bridge on top, persistently with NetworkManager, proven by the bonding state and the bridge port.
Graded on the state of the system attested 19 Oct 2026
Open the guide LFCS
Command to start it
dsoxlab start l4-bridge-bonding
eBPF: trace and harden (going further)
3
-
Unmask a mystery process with eBPF tracing tools
A hidden process writes to a hidden file every few seconds. Install the BCC (or bpftrace) tracing tools, observe the kernel's openat and execve calls, then name the program and the file, proven by comparing your answer with the host's ground truth.
Graded on the state of the system attested 19 Oct 2026
Command to start it
dsoxlab start ebpf-tracer-bcc -
Harden eBPF with sysctl: block unprivileged users and make it stick across reboots
An audit found eBPF wide open: unprivileged users may call bpf() and the JIT compiler is not hardened. Set kernel.unprivileged_bpf_disabled and net.core.bpf_jit_harden to 2, make both survive a reload of the sysctl configuration despite a forgotten debug file, and prove with a real bpf() call as an unprivileged user that the kernel now refuses.
Graded on the state of the system attested 19 Oct 2026
Command to start it
dsoxlab start ebpf-durcir-sysctl -
Inventory the loaded eBPF programs with bpftool and stop the service that carries one
A service with a harmless name loads an eBPF program into the kernel. List the programs with bpftool, find which process and which systemd service carry the unknown one, name its type, then stop the service and keep it from coming back, without touching the programs systemd loads.
Graded on the state of the system attested 19 Oct 2026
Command to start it
dsoxlab start ebpf-inventaire-bpftool
Debian and Ubuntu variants
6
-
Manage Debian packages with apt and dpkg
Install a package with apt, pin it with a hold so updates skip it, and identify which package owns a file, the Debian package-management skills for LFCS.
Graded on the state of the system attested 19 Oct 2026
Command to start it
dsoxlab start lfcs-package-apt -
Open a service through the firewall with ufw
Allow the http service and enable ufw so it filters at boot, without ever locking out SSH, the Debian firewall counterpart to firewalld, proven by ufw status.
Graded on the state of the system attested 19 Oct 2026
Command to start it
dsoxlab start lfcs-firewall-ufw -
Manage an AppArmor profile: switch it to complain mode
Put a loaded AppArmor profile into complain (learning) mode with aa-complain and prove it with aa-status, the Debian mandatory-access-control counterpart to SELinux.
Graded on the state of the system attested 19 Oct 2026
Command to start it
dsoxlab start lfcs-apparmor -
Configure a static IP and route with netplan
Declare a static IPv4 address and a static route in a netplan file and apply it on a dedicated interface, the Debian/Ubuntu network configuration, proven by the live address and route.
Graded on the state of the system attested 19 Oct 2026
Open the guide LFCS
Command to start it
dsoxlab start lfcs-netplan-static -
Enable XFS user quotas and enforce a limit
Format a dedicated disk as XFS, mount it with user quotas enabled persistently, and enforce a block quota on a user, proven by the live quota state and the enforced limit.
Graded on the state of the system attested 19 Oct 2026
Command to start it
dsoxlab start lfcs-storage-quotas -
Mount an SMB/CIFS share persistently and safely
A second host serves an SMB share. Mount it on the client, make it persistent in /etc/fstab with _netdev, and keep the password out of the world-readable fstab by using a 0600 credentials file.
Graded on the state of the system attested 19 Oct 2026
Command to start it
dsoxlab start lfcs-mount-cifs
Exam-condition drills
9
-
Drill, essential commands under exam conditions
5 tasks, 100 points, 20 minutes, no hints: find by size, build a frequency report, links, ownership and permissions, and split stdout from stderr. Playable on RHEL or Debian, the skills are identical.
Pass mark 70% attested 19 Oct 2026
Open the guide (French) RHCSALFCS
Command to start it
dsoxlab start drill-essential-commands -
Drill, users, groups and delegation under exam conditions
5 tasks, 100 points, 20 minutes, no hints: create an account to exact specs, enforce password aging, build a collaborative directory, delegate sudo narrowly, and lock a departing account. Playable on RHEL or Debian, user management is identical.
Pass mark 70% attested 19 Oct 2026
Open the guide (French) RHCSALFCS
Command to start it
dsoxlab start drill-users-groups -
Drill, systemd units, timers and scheduling under exam conditions
5 tasks, 100 points, 25 minutes, no hints: write a service unit with a restart policy, schedule a weekly timer, add a cron job, fix the default boot target, and mask a service for good. Playable on RHEL or Debian, systemd is systemd.
Pass mark 70% attested 19 Oct 2026
Open the guide RHCSALFCS
Command to start it
dsoxlab start drill-systemd -
Drill, partitions, LVM and swap under exam conditions
5 tasks, 100 points, 25 minutes, no hints: partition a disk in GPT, build an LVM stack, mount by UUID persistently, add swap, and extend a logical volume online. Playable on RHEL or Debian, parted, LVM and XFS are identical.
Pass mark 70% attested 19 Oct 2026
Open the guide (French) RHCSALFCS
Command to start it
dsoxlab start drill-storage -
Drill, package management under exam conditions
5 tasks, 100 points, 20 minutes, no hints: install a package, freeze it against upgrades, find which package owns a file, list what a package installed, and remove one. The objective is shared by RHCSA and LFCS, only the tool changes (dnf or apt), and you use your distribution's.
Pass mark 70% attested 19 Oct 2026
Open the guide (French) RHCSALFCS
Command to start it
dsoxlab start drill-packages -
Drill, firewall under exam conditions
5 tasks, 100 points, 20 minutes, no hints: bring the firewall up, open two ports so they survive a reload, keep SSH alive, and explicitly reject a port. The objective is shared by RHCSA and LFCS, only the tool changes (firewalld or ufw).
Pass mark 70% attested 19 Oct 2026
Open the guide (French) RHCSALFCS
Command to start it
dsoxlab start drill-firewall -
Drill, SELinux under exam conditions
4 tasks, 100 points, 20 minutes, no hints: put SELinux back in enforcing for good, fix a file context so it survives a relabel, flip a boolean persistently, and label a non-standard port. RHCSA only, Debian uses AppArmor, see drill-apparmor.
Pass mark 70% attested 19 Oct 2026
Open the guide (French) RHCSA
Command to start it
dsoxlab start drill-selinux -
Drill, AppArmor under exam conditions
4 tasks, 100 points, 15 minutes, no hints: confirm AppArmor is up, put one profile in complain, and bring two others back to enforce. LFCS only, RHEL uses SELinux, see drill-selinux.
Pass mark 70% attested 19 Oct 2026
Command to start it
dsoxlab start drill-apparmor -
Drill, static networking under exam conditions
4 tasks, 100 points, 20 minutes, no hints: a static address, a static route and an MTU on a dedicated interface, plus local name resolution. The objective is shared by RHCSA and LFCS, only the tool changes (nmcli or netplan).
Pass mark 70% attested 19 Oct 2026
Open the guide RHCSALFCS
Command to start it
dsoxlab start drill-network
Capstones
4
-
Put a server into production: one mission, nine deliverables, one reboot
A fresh VM, a delivered application, and one mission: put it into service. Storage on LVM, service account, application on port 8080, SELinux port label and context, permanent firewall rule, persistent journal, hardened SSH, scheduled backup. Nothing is scored on the commands typed: every test reads observable state, and the last one reboots the machine and checks again. What does not survive the reboot scores zero.
Pass mark 80% attested 19 Oct 2026
Open the guide (French) RHCSALFCS
Command to start it
dsoxlab start capstone-mise-en-production -
Broken server: the site is down, the symptom tells you nothing
A working internal site stops answering. The setup injects ONE fault among six, drawn at random, and never says which: stopped service, wrong port, closed firewall, SELinux context, docroot permissions, listening on loopback only. You diagnose, you repair, and the repair must survive a reboot. Scored purely on observable state, with three checks that reject the sledgehammer fixes: SELinux must stay enforcing, firewalld must stay running, and the docroot must not become world-writable.
Pass mark 80% attested 19 Oct 2026
Open the guide (French) RHCSA
Command to start it
dsoxlab start capstone-serveur-casse -
RHCSA EX200 mock exam, 20 tasks across 2 VMs
Performance-based RHCSA mock exam covering 10 RHCSA domains: storage (LVM, swap, NFS client), shell scripting, networking (static IP, firewalld), users/groups, ACLs, services (systemd units, timers, time client), SELinux (modes, contexts, booleans, port labels), software (DNF, Flatpak), boot recovery (rd.break root reset). 20 tasks scored on 100 points across 2 VMs (server + client). 70/100 to pass. No hints.
Pass mark 70% attested 19 Oct 2026
Open the guide (French) RHCSA
Command to start it
dsoxlab start rhcsa-mock-exam -
LFCS mock exam, 17 tasks on Ubuntu 24.04
Performance-based LFCS mock exam mapped task by task onto the published objectives of the 5 official domains: Essential Commands (20%: Git, service troubleshooting, disk space, SSL), Operations Deployment (25%), Users and Groups (10%: accounts and ACLs), Networking (25%), Storage (20%: LVM, automount, swap). 17 tasks scored on 100 points on a single Ubuntu VM. 70/100 to pass. No hints.
Pass mark 70% attested 19 Oct 2026
Command to start it
dsoxlab start lfcs-mock-exam
Add this catalogue dsoxlab catalog add https://github.com/stephrobert/ansible-training
Preparing the environment
1
-
Prepare Ansible managed nodes
Converge the 5 managed node prerequisites (Python 3, SSH, NOPASSWD sudo, chrony, SELinux) with an idempotent bootstrap playbook.
Graded on the state of the system not attested
Command to start it
dsoxlab start bootstrap-prepare-managed-nodes
Discovering Ansible
4
-
Declarative vs imperative: why Ansible does not drift
Compare a Bash script that drifts on every run with a playbook that converges, and prove idempotence with changed=0 on the second pass.
Graded on the state of the system not attested
Command to start it
dsoxlab start decouvrir-declaratif-vs-imperatif -
Ansible installation: verify your control node
Identify your install method, check the 8 binaries on PATH, the modules reachable via ansible-doc and the collections the repo relies on.
Graded on the state of the system not attested
Command to start it
dsoxlab start decouvrir-installation-ansible -
ansible.cfg: precedence and critical options
Write a project ansible.cfg, check the active config with ansible-config dump, override an option by environment variable and enable a callback.
Graded on the state of the system not attested
Command to start it
dsoxlab start decouvrir-configuration-ansible -
Ansible CLI: the 8 everyday commands
Chain ad-hoc runs, ansible-doc, ansible-config, ansible-inventory, ansible-galaxy, ansible-vault and ansible-lint across the lab.
Graded on the state of the system not attested
Command to start it
dsoxlab start decouvrir-prise-en-main-cli
First steps
2
-
First playbook: install nginx on the webservers
Write a 5-task playbook (dnf, systemd, firewalld), read the PLAY RECAP, capture output with register and check idempotence on the second pass.
Graded on the state of the system not attested
Command to start it
dsoxlab start premiers-pas-premier-playbook -
First steps with ansible-vault
Encrypt a secrets file with ansible-vault, consume it through vars_files and protect output with no_log and a 0600 .vault_password.
Graded on the state of the system not attested
Command to start it
dsoxlab start premiers-pas-ansible-vault
Writing Ansible code
28
-
Plays and tasks: anatomy and execution order
Structure a play with pre_tasks, tasks, post_tasks and handlers, then prove the real execution order with timestamped marker files.
Graded on the state of the system not attested
Command to start it
dsoxlab start ecrire-code-plays-et-tasks -
handlers: the restart-on-config-change pattern
Notify several handlers, decouple them with listen, force meta: flush_handlers and pair validate so an invalid config is never applied.
Graded on the state of the system not attested
Command to start it
dsoxlab start ecrire-code-handlers -
tags: target or skip a subset of tasks
Set tags, target with --tags and exclude with --skip-tags, inspect the plan via --list-tasks and use the special always and never tags.
Graded on the state of the system not attested
Command to start it
dsoxlab start ecrire-code-tags -
check mode and diff: dry-run and change preview
Run a playbook with --check --diff, spot the modules that do not support check, force check_mode: false and diagnose a false changed positive.
Graded on the state of the system not attested
Command to start it
dsoxlab start ecrire-code-checkmode-diff -
Variables: declaration and scope
Declare variables with vars and vars_files, override them with --extra-vars and diagnose an unexpected value caused by YAML typing.
Graded on the state of the system not attested
Command to start it
dsoxlab start ecrire-code-variables-base -
Collection types: lists, dicts, nested structures
Declare lists and lists of dicts in YAML, loop over them with loop_control: label, filter with when and reach nested fields.
Graded on the state of the system not attested
Command to start it
dsoxlab start ecrire-code-types-collections -
facts and magic vars: ansible_facts, hostvars
Read system facts, use inventory_hostname, groups and hostvars, then cut the collection cost with gather_subset.
Graded on the state of the system not attested
Command to start it
dsoxlab start ecrire-code-facts-magic-vars -
Custom facts: facts.d and ansible_local
Drop an INI custom fact then an executable script returning JSON into /etc/ansible/facts.d, and read them back through ansible_local.
Graded on the state of the system not attested
Command to start it
dsoxlab start ecrire-code-custom-facts -
Variable precedence: the 22 levels
Stack the same variable at several levels to demonstrate which one wins, from role defaults up to --extra-vars.
Graded on the state of the system not attested
Command to start it
dsoxlab start ecrire-code-precedence-variables -
register and set_fact: capture and create variables
Capture module output with register, reuse it in when and loop, create a runtime fact and persist it with cacheable: true.
Graded on the state of the system not attested
Command to start it
dsoxlab start ecrire-code-register-set-fact -
Parallelism: forks, serial, throttle, strategy
Tell forks from serial, run a rolling update with serial: 1, compare the linear and free strategies and rate-limit a single task with throttle.
Graded on the state of the system not attested
Command to start it
dsoxlab start ecrire-code-parallelisme-strategies -
async and poll: long tasks without blocking SSH
Detach a long task with async + poll: 0, collect its result via async_status, poll actively with until and diagnose an orphaned job.
Graded on the state of the system not attested
Command to start it
dsoxlab start ecrire-code-async-poll -
Delegation: delegate_to, run_once, local_action
Redirect a task to another host, run it only once in a multi-host play and target the control node with local_action.
Graded on the state of the system not attested
Command to start it
dsoxlab start ecrire-code-delegation -
lookups: fetch external data at runtime
Read a file, an environment variable or a command output on the control node, generate a password and tell lookup from query.
Graded on the state of the system not attested
Command to start it
dsoxlab start ecrire-code-lookups -
Jinja2: interpolation, logic and whitespace
Interpolate variables, loop and branch inside a template, then kill stray blank lines with whitespace control.
Graded on the state of the system not attested
Command to start it
dsoxlab start ecrire-code-jinja2-base -
Essential Jinja2 filters: default, combine, selectattr
Handle missing variables with default, work on lists, filter a list of dicts with selectattr and map, merge dicts with combine.
Graded on the state of the system not attested
Command to start it
dsoxlab start ecrire-code-filtres-jinja-essentiels -
when conditions: operators and Jinja tests
Gate a task on a fact, combine several conditions, test whether a variable is defined and diagnose a when that matches wrongly.
Graded on the state of the system not attested
Command to start it
dsoxlab start ecrire-code-conditions-when -
loop: iterate over lists and dicts
Loop over a list and a list of dicts, keep console output readable with loop_control: label, iterate a dict with dict2items.
Graded on the state of the system attested 30 Oct 2026
Command to start it
dsoxlab start ecrire-code-boucles-loop -
Legacy with_* loops: migrating to loop
Recognise with_items, with_dict and with_subelements, migrate them to loop plus Jinja2 filters and automate it with ansible-lint --fix.
Graded on the state of the system not attested
Command to start it
dsoxlab start ecrire-code-boucles-with-deprecated -
block, rescue, always: try/catch/finally
Group tasks in a block, catch the error with rescue to roll back, guarantee cleanup with always and read ansible_failed_task.
Graded on the state of the system not attested
Command to start it
dsoxlab start ecrire-code-block-rescue-always -
failed_when and changed_when: redefine success and change
Neutralise changed on read-only commands, define changed_when from output and accept some return codes as success.
Graded on the state of the system not attested
Command to start it
dsoxlab start ecrire-code-failed-when-changed-when -
ignore_errors: legitimate use vs anti-pattern
Measure the effect of ignore_errors on the PLAY RECAP, spot its few legitimate cases and prefer failed_when or block/rescue.
Graded on the state of the system not attested
Command to start it
dsoxlab start ecrire-code-ignore-errors -
any_errors_fatal: stop the play on the first error
Enable any_errors_fatal on a multi-host play, compare it with the default and with max_fail_percentage, and combine it with serial.
Graded on the state of the system not attested
Command to start it
dsoxlab start ecrire-code-any-errors-fatal -
Advanced Jinja2 filters: regex, b64, password_hash
Extract with regex_search, encode to base64, hash a password with sha512, query JSON with json_query and handle IPs and CIDRs.
Graded on the state of the system not attested
Command to start it
dsoxlab start ecrire-code-filtres-jinja-avances -
Jinja2 tests: is defined, is mapping, is sequence
Test a variable's definition and type, match a regex with is match and is search, and combine those tests in when and in {% if %}.
Graded on the state of the system not attested
Command to start it
dsoxlab start ecrire-code-tests-jinja -
template module: validate, backup, whitespace
Render a config from a Jinja2 template, reject invalid syntax with validate, back up the previous file and set mode, owner and group.
Graded on the state of the system not attested
Command to start it
dsoxlab start ecrire-code-module-template -
lineinfile vs template: which module when
Arbitrate between lineinfile, blockinfile and template, combine base plus overrides and diagnose a lineinfile that stacks for lack of a regexp.
Graded on the state of the system not attested
Command to start it
dsoxlab start ecrire-code-lineinfile-vs-template -
import vs include: static or dynamic
Choose between import_* parsed at start and include_* resolved at runtime, and observe how tags and when behave differently in each case.
Graded on the state of the system not attested
Command to start it
dsoxlab start ecrire-code-import-include
File modules
7
-
copy module: transfer files and inline content
Transfer a file with src: or write inline content with content:, mastering mode, owner, backup and validate.
Graded on the state of the system not attested
Command to start it
dsoxlab start modules-fichiers-copy -
file module: states, permissions and symlinks
Manage the state of a file or directory (directory, absent, link, hard, touch), recursive permissions and symbolic links.
Graded on the state of the system not attested
Command to start it
dsoxlab start modules-fichiers-file -
blockinfile module: idempotent multi-line block
Insert and maintain a multi-line block in an existing file with custom markers, insertafter/insertbefore and idempotence.
Graded on the state of the system not attested
Command to start it
dsoxlab start modules-fichiers-blockinfile -
lineinfile module: edit a line in an existing file
Add, replace by regexp or remove a line in a config file, using backrefs and syntax validation before the write.
Graded on the state of the system not attested
Command to start it
dsoxlab start modules-fichiers-lineinfile -
replace module: substitute a pattern in a file
Substitute a regex pattern throughout a file, scope it with before/after, and preserve parts of it with capture groups.
Graded on the state of the system not attested
Command to start it
dsoxlab start modules-fichiers-replace -
fetch module: retrieve files from managed nodes
Collect logs and configs from managed nodes to the control node, per-host tree or flat mode with inventory_hostname.
Graded on the state of the system not attested
Command to start it
dsoxlab start modules-fichiers-fetch -
archive and unarchive modules: compress and extract
Create a tar.gz archive on the managed node and extract local, remote or already-present tarballs idempotently with creates.
Graded on the state of the system not attested
Command to start it
dsoxlab start modules-fichiers-archive-unarchive
Package modules
3
-
package module: distro-agnostic installation
Install and remove packages without depending on the distro package manager, weighing state: present against state: latest.
Graded on the state of the system not attested
Command to start it
dsoxlab start modules-paquets-package -
dnf module: enablerepo, security, exclude, autoremove
Enable a repo on the fly, patch CVEs only, exclude the kernel from a bulk upgrade and clean up orphaned dependencies.
Graded on the state of the system not attested
Command to start it
dsoxlab start modules-paquets-dnf-options -
yum_repository module: declare an RPM repository
Declare a yum/dnf repository with gpgcheck, import its GPG key via rpm_key, and disable a repo without removing it.
Graded on the state of the system not attested
Command to start it
dsoxlab start modules-paquets-yum-repository
Service modules
2
-
systemd_service module: manage systemd services
Start, enable, reload and mask services, drop a custom unit file with daemon_reload, and notify a service from a handler.
Graded on the state of the system not attested
Command to start it
dsoxlab start modules-services-systemd -
cron module: schedule idempotent jobs
Schedule idempotent cron jobs via a user crontab or /etc/cron.d, with environment variables and clean disabling.
Graded on the state of the system not attested
Command to start it
dsoxlab start modules-services-cron
User modules
4
-
user module: create, modify and remove accounts
Create accounts with home, shell and secondary groups, hash a password, force a specific UID, and remove an account with its home.
Graded on the state of the system not attested
Command to start it
dsoxlab start modules-utilisateurs-user -
group module: manage Linux groups
Create groups with a forced GID, tell system groups from user groups, and order group creation before the users that reference it.
Graded on the state of the system not attested
Command to start it
dsoxlab start modules-utilisateurs-group -
authorized_key module: user SSH keys
Provision public SSH keys, force an exclusive list, restrict a key with key_options, and handle several users with subelements.
Graded on the state of the system not attested
Command to start it
dsoxlab start modules-utilisateurs-authorized-key -
sudoers module: manage sudo rights safely
Create rules under /etc/sudoers.d/ with automatic visudo validation, limit allowed commands, and handle nopassword on a group.
Graded on the state of the system not attested
Command to start it
dsoxlab start modules-utilisateurs-sudoers
RHEL modules
7
-
firewalld module: manage the RHEL firewall
Allow predefined services and custom ports per zone, with the permanent + immediate trap and the firewall reload.
Graded on the state of the system not attested
Command to start it
dsoxlab start modules-rhel-firewalld -
sysctl module: persisted kernel parameters
Change kernel parameters (ip_forward, tcp_syncookies, swappiness) with immediate effect and persistence through /etc/sysctl.d/.
Graded on the state of the system not attested
Command to start it
dsoxlab start modules-rhel-sysctl -
selinux module: modes, booleans and contexts
Switch SELinux to enforcing, flip a boolean persistently, and set a custom context with sefcontext followed by restorecon.
Graded on the state of the system not attested
Command to start it
dsoxlab start modules-rhel-selinux -
mount module: manage fstab and mount points
Handle the 5 mount states, mount a loop device, set noatime/nodev/nosuid options, and make a mount survive a reboot.
Graded on the state of the system not attested
Command to start it
dsoxlab start modules-rhel-mount -
parted module: create a disk partition
Create aligned MBR or GPT partitions idempotently, set flags (lvm, boot, esp), and inspect the existing partition table.
Graded on the state of the system not attested
Command to start it
dsoxlab start modules-rhel-parted -
filesystem module: create a filesystem
Format partitions as ext4 and xfs, pick the right fstype for the use case, and force a rebuild with force: true.
Graded on the state of the system not attested
Command to start it
dsoxlab start modules-rhel-filesystem -
LVM: chaining lvg, lvol, filesystem and mount
Build a PV, VG and LV on a spare disk, format it, mount it through fstab, and grow it online with resizefs.
Graded on the state of the system not attested
Command to start it
dsoxlab start modules-rhel-lvm-storage
Network modules
2
-
get_url module: download a file over HTTP/HTTPS
Download a file onto the managed node idempotently, check its integrity with a sha256 checksum, and authenticate the request.
Graded on the state of the system not attested
Command to start it
dsoxlab start modules-reseau-get-url -
uri module: REST API calls
Call a REST API with GET/POST and a JSON body, accept several status_code values, and loop a healthcheck with until/retries.
Graded on the state of the system not attested
Command to start it
dsoxlab start modules-reseau-uri
Diagnostic modules
4
-
stat module: inspect files and directories
Check existence, type, size, mode and checksum of a file without modifying it, to drive conditional logic.
Graded on the state of the system not attested
Command to start it
dsoxlab start modules-diagnostic-stat -
find module: multi-file search
Search files by glob, regex, age, size and type, then chain loop and file for a targeted, idempotent cleanup.
Graded on the state of the system not attested
Command to start it
dsoxlab start modules-diagnostic-find -
assert and fail modules: defensive validation
Validate prerequisites at the start of a play, customize fail_msg and success_msg, and fail explicitly on an error branch.
Graded on the state of the system not attested
Command to start it
dsoxlab start modules-diagnostic-assert-fail -
wait_for and pause modules: synchronization
Wait for a TCP port to open or close, for a file or a regex to appear, and add a timed or interactive pause.
Graded on the state of the system not attested
Command to start it
dsoxlab start modules-diagnostic-wait-for-pause
Inventories
4
-
Write a static inventory from scratch: groups, children and group vars
Author an Ansible static inventory by hand: declare host groups, a parent group with children, and group variables, then prove the resolved inventory with ansible-inventory and ansible -m ping.
Graded on the state of the system not attested
Command to start it
dsoxlab start inventaires-statiques -
group_vars and host_vars: structured inventory variables
Spread inventory variables across all, group and host levels, then check the resolved value with ansible-inventory --host.
Graded on the state of the system not attested
Command to start it
dsoxlab start inventaires-group-vars-host-vars -
Host patterns: wildcards and the :, & and ! operators
Target exactly the hosts you want with --limit and the union, intersection and exclusion operators, without touching the playbook.
Graded on the state of the system not attested
Command to start it
dsoxlab start inventaires-patterns-hotes -
Dynamic KVM inventory with community.libvirt
Discover libvirt VMs automatically through the inventory plugin, build Jinja groups and keyed_groups, with no manual inventory.
Graded on the state of the system not attested
Command to start it
dsoxlab start inventaires-dynamique-kvm
Roles
7
-
Create your first role with ansible-galaxy role init
Scaffold a webserver role, fill in tasks, defaults, handlers and meta, then call it from a playbook with roles:.
Graded on the state of the system not attested
Command to start it
dsoxlab start roles-creer-premier-role -
Role variables: defaults/ vs vars/ and precedence
Split variables between defaults/ (overridable) and vars/ (internal), wire them into tasks and a Jinja2 template, then verify precedence.
Graded on the state of the system not attested
Command to start it
dsoxlab start roles-variables-defaults-vars -
Role handlers and meta: notify and galaxy_info
Write several handlers (service and non-service), trigger them with notify, choose between restarted and reloaded, then complete meta/main.yml for Galaxy.
Graded on the state of the system not attested
Command to start it
dsoxlab start roles-handlers-meta -
argument_specs: validate a role's input variables
Write meta/argument_specs.yml to type, constrain and document input variables, then watch an invalid input get rejected automatically.
Graded on the state of the system not attested
Command to start it
dsoxlab start roles-argument-specs -
Consume a role: roles:, import_role, include_role
Call the same role three different ways and choose between static and dynamic, especially once a when: is involved.
Graded on the state of the system not attested
Command to start it
dsoxlab start roles-consommer-role -
Role dependencies via meta/main.yml
Chain roles with dependencies:, pass them variables, control execution order and dodge the diamond trap with allow_duplicates.
Graded on the state of the system not attested
Command to start it
dsoxlab start roles-dependencies -
RHEL system roles: converge time synchronisation with timesync
Consume a vendor role from linux-system-roles: drive chronyd on db1.lab through timesync variables, never writing chrony.conf by hand.
Graded on the state of the system not attested
Command to start it
dsoxlab start roles-system-roles
Testing with Molecule
4
-
Molecule: anatomy of a test scenario
Read a molecule/default/ scenario: molecule.yml, converge.yml, verify.yml, driver, platforms, verifier, then run the full cycle.
Graded on the state of the system not attested
Command to start it
dsoxlab start molecule-introduction -
Molecule: enrich a scenario beyond the defaults
Add prepare.yml and requirements.yml, tune instances through host_vars, define a test_sequence including idempotence and enable profile_tasks.
Graded on the state of the system not attested
Command to start it
dsoxlab start molecule-installation-config -
Molecule: build a users role test-first
Write verify.yml and argument_specs.yml before a single task, then iterate on converge until green and refactor without breaking the tests.
Graded on the state of the system not attested
Command to start it
dsoxlab start molecule-tdd-cycle -
Molecule: test a role across distributions
Extend the Molecule matrix to three distributions, load vars/<os_family>.yml and absorb package and path gaps with the package module.
Graded on the state of the system not attested
Command to start it
dsoxlab start molecule-scenarios-multi-distro
Python tests and linting
3
-
Molecule + testinfra: Python assertions on a role
Switch the verifier to testinfra, write assertions with the host fixture, parametrize cases, and weigh it against verify.yml.
Graded on the state of the system not attested
Command to start it
dsoxlab start tests-testinfra -
tox: test a role against several ansible-core versions
Write a tox.ini that pins one ansible-core version per environment and runs molecule test across the whole matrix in a single command.
Graded on the state of the system not attested
Command to start it
dsoxlab start tests-tox-multiversion -
ansible-lint production profile with pre-commit
Configure .ansible-lint on the production profile plus a strict .yamllint, then wire both into pre-commit with a secret-leak hook.
Graded on the state of the system not attested
Command to start it
dsoxlab start tests-ansible-lint-production
Continuous integration
2
-
GitHub Actions: CI workflow for a role
Write a lint + molecule workflow with a distro x ansible-core matrix, pip caching, least-privilege permissions and persist-credentials disabled.
Graded on the state of the system not attested
Command to start it
dsoxlab start ci-github-actions -
GitLab CI: parallel:matrix pipeline for a role
Write a .gitlab-ci.yml with lint, test and release stages, spread the matrix with parallel:matrix and restrict Galaxy publishing to Git tags via rules:.
Graded on the state of the system not attested
Command to start it
dsoxlab start ci-gitlab
Galaxy and publishing
4
-
ansible-galaxy CLI: init, install, list, build, publish
Init a role and a collection, install from Galaxy or Git, list what is present, build a tarball and publish it with an API token.
Graded on the state of the system not attested
Command to start it
dsoxlab start galaxy-ansible-galaxy-cli -
Install roles and collections from Galaxy or Git
Write a requirements.yml mixing Galaxy roles, Git sources and collections, pin every version and vendor a role into the project for reproducible installs.
Graded on the state of the system not attested
Command to start it
dsoxlab start galaxy-installer-roles -
Audit a Galaxy role before adopting it
Score a third-party role on six axes (maintainer, quality, security, tests), spot the anti-patterns and decide: adopt, fork or reject.
Graded on the state of the system not attested
Command to start it
dsoxlab start galaxy-auditer-role-existant -
Version and publish a role: semver, Git tags, Galaxy
Apply semver to a role, keep a CHANGELOG.md, cut an annotated Git tag and automate Galaxy publishing from CI.
Graded on the state of the system not attested
Command to start it
dsoxlab start galaxy-versionner-publier
Ansible Vault
7
-
Ansible Vault: encrypt your first secrets file
Encrypt a YAML file with ansible-vault, view it, edit it, consume it from a playbook, then rekey and decrypt it.
Graded on the state of the system not attested
Command to start it
dsoxlab start vault-introduction -
encrypt_string vs whole-file encryption
Encrypt a single value with encrypt_string, mix it with plaintext variables via the !vault tag, and choose between inline and whole-file.
Graded on the state of the system not attested
Command to start it
dsoxlab start vault-chiffrer-fichier-variable -
Multiple vault-ids: isolate dev, staging and prod
Encrypt each environment with a labelled vault-id, decrypt several vault-ids in a single run and lay out group_vars per environment.
Graded on the state of the system not attested
Command to start it
dsoxlab start vault-id-multiples -
Mixed playbooks: main.yml plus vault.yml per group
Split public variables from secrets inside each group_vars, adopt the vault_* convention, and confirm Ansible merges both files transparently.
Graded on the state of the system not attested
Command to start it
dsoxlab start vault-playbooks-mixtes -
Vault inside a role: plaintext defaults, encrypted vars
Expose public variables in defaults/main.yml pointing to vault_* values in an encrypted vars/main.yml, and override them from the playbook.
Graded on the state of the system not attested
Command to start it
dsoxlab start vault-dans-roles -
Fetch secrets from HashiCorp Vault or OpenBao
Start a local Vault, store a secret in it, read it from Ansible with community.hashi_vault, and compare token, AppRole and JWT authentication.
Graded on the state of the system not attested
Command to start it
dsoxlab start vault-integration-hashicorp -
Fetch secrets from Passbolt
Start a local Passbolt CE, authenticate with an OpenPGP key, read a secret from Ansible and compare the Passbolt model with HashiCorp Vault.
Graded on the state of the system not attested
Command to start it
dsoxlab start vault-integration-passbolt
Execution environments
5
-
First run inside an Execution Environment
Pull an EE image with Podman, set it as the default in ansible-navigator.yml, run a playbook inside it and compare with a plain ansible-playbook run.
Graded on the state of the system not attested
Command to start it
dsoxlab start ee-hello -
Inspect an Execution Environment and pick the right one
List an EE's contents with ansible-navigator, compare community-ansible-dev-tools, awx-ee and community-ee-minimal, then pick one per use case.
Graded on the state of the system not attested
Command to start it
dsoxlab start ee-inspection -
Build a custom EE with ansible-builder v3
Write a v3 execution-environment.yml, pin ansible-core and dependencies, build with Podman, test the image and push it to a private registry.
Graded on the state of the system not attested
Command to start it
dsoxlab start ee-builder-custom -
CI/CD pipeline for Execution Environments
Build an EE in CI, scan it with Trivy in blocking mode, sign it with keyless cosign and publish it, with SHA-pinned actions and least-privilege permissions.
Graded on the state of the system not attested
Command to start it
dsoxlab start ee-ci-pipeline -
Debug a broken Execution Environment
Diagnose an EE that builds cleanly yet ships empty: forgotten schema version, missing collection or PyPI version, then fix it and verify.
Graded on the state of the system not attested
Command to start it
dsoxlab start ee-debug
Troubleshooting
3
-
Verbosity levels and callback plugins
Pick the -v level that matches the symptom, enable profile_tasks and YAML output (callback_result_format), and see what a missing no_log leaks.
Graded on the state of the system not attested
Command to start it
dsoxlab start troubleshooting-verbosite -
Interactive debugger: debugger: on_failed
Enable the debugger on failure, inspect task, task_vars and result in the REPL, patch arguments on the fly then replay the task with redo.
Graded on the state of the system not attested
Command to start it
dsoxlab start troubleshooting-debugger -
Fix broken idempotence and tune performance
Make a shell task idempotent with creates or changed_when, measure a baseline with profile_tasks, then tune pipelining and forks (ControlPersist is already on by default).
Graded on the state of the system attested 30 Oct 2026
Command to start it
dsoxlab start troubleshooting-idempotence-perfs
Collections
6
-
Explore Ansible collections: FQCN and structure
List and inspect installed collections, read a galaxy.yml, walk the plugins/roles/playbooks layout and track down a module by its FQCN.
Graded on the state of the system not attested
Command to start it
dsoxlab start collections-decouvrir -
Automation content navigator: discover a module in a collection and use it
Use ansible-navigator to find a module inside an installed collection, apply it to produce a verifiable kernel state on db1.lab, and validate an inventory with ansible-navigator inventory.
Graded on the state of the system not attested
Command to start it
dsoxlab start collections-navigator -
requirements.yml: multi-source install with GPG signatures
Declare four sources in a requirements.yml, pin every version, check integrity with collection verify and target several Galaxy servers.
Graded on the state of the system not attested
Command to start it
dsoxlab start collections-requirements -
Build your own collection with a custom Python module
Init a collection, fill in galaxy.yml and meta/runtime.yml, add a role and a documented Python module, then build the tarball.
Graded on the state of the system not attested
Command to start it
dsoxlab start collections-creer-custom -
CI matrix for a collection: ansible-core x Python
Cross ansible-core and Python versions in a matrix, run ansible-test sanity and units in containers, and pin every action by SHA.
Graded on the state of the system not attested
Command to start it
dsoxlab start collections-ci-tests -
Migrate a standalone role to a collection
Move a role and its custom module into a collection, set up plugin_routing.redirect, and check the old name still works with a warning.
Graded on the state of the system not attested
Command to start it
dsoxlab start collections-migration-role
Advanced practices
2
-
Version your playbooks with Git
Initialize a Git repository for your playbooks, track and commit them, then push to a local bare remote: the exact EX294 gesture, with no forge to set up.
Graded on the state of the system not attested
Command to start it
dsoxlab start pratiques-versionner-git -
ansible-pull: GitOps and Edge pattern
Run ansible-pull against a Git repository, schedule it with cron or a systemd timer, bootstrap it from cloud-init, then choose push or pull per use case.
Graded on the state of the system not attested
Command to start it
dsoxlab start pratiques-ansible-pull-gitops
RHCE EX294 exam
2
-
RHCE EX294 mock exam: 19 tasks in 4 hours
Work through 19 timed tasks covering inventories, variables, vault, files, packages, services, roles, error handling, rolling waves, delegation, tags, scheduled jobs, custom facts and content collections, each validated by pytest.
Graded on the state of the system not attested
Command to start it
dsoxlab start rhce-mock-ex294 -
Mock RHCE EX294 #2
A second full timed EX294 mock: the same 19 categories as mock #1, but every concrete value differs (Apache/valkey stack, different users, LVM layout, ports, SELinux boolean, cron schedule, collection), so nothing can be copied from memory. Each task is proven by pytest.
Graded on the state of the system not attested
Command to start it
dsoxlab start rhce-mock-ex294-2
Add this catalogue dsoxlab catalog add https://github.com/stephrobert/terraform-dsoxlab-training
Discover Terraform
8
-
Prove that Terraform has a memory
A beginner believes Terraform re-reads the `.tf` files and queries the infrastructure on every command, the state being an accessory cache. Take that idea apart on a purely local configuration: prove a second apply changes nothing, that drift caused outside Terraform is detected without losing the identity of the untouched resources, that data merely read is not a managed resource, and that an object nobody declared stays invisible.
Graded on the state of the system attested 1 Dec 2026
Open the guide (French) TF-ASSOCIATE
Command to start it
dsoxlab start getting-started-terraform-overview -
Prove idempotence where the imperative script diverges
A provisioning script is provided, and it diverges as soon as you replay it: a new identifier every time, a report that piles up instead of being replaced. Reach the same result in Terraform, then establish by the plan that a second pass is a non-event, and repair an external drift without touching your code.
Graded on the state of the system attested 1 Dec 2026
Open the guide (French) TF-ASSOCIATE
Command to start it
dsoxlab start getting-started-declarative-vs-imperative -
Prove Terraform / OpenTofu compatibility, and where it stops
"The two tools are compatible" is repeated everywhere and checked by nobody. Make a configuration portable by declaring the source and version constraint of every provider, then establish by the structured state that both binaries read the same state, resolve the same versions on two different registries, and that the lock file is exactly where portability stops.
Graded on the state of the system attested 1 Dec 2026
Open the guide (French) TF-ASSOCIATE
Command to start it
dsoxlab start getting-started-terraform-vs-opentofu -
Pin the CLI version and lock the providers
Installing the binary proves almost nothing. Constrain the CLI version from the configuration itself, pin the three providers, make an impossible constraint refuse to run, and prove the lock file rules: wipe `.terraform/`, re-init, and the resolved versions must not move.
Graded on the state of the system attested 1 Dec 2026
Open the guide (French) TF-ASSOCIATE
Command to start it
dsoxlab start getting-started-install-terraform -
Make fmt, validate and the outputs agree
Three faults are planted: a file outside canonical format, an orphan reference that fails `validate`, and missing outputs. Fix all three without changing what the configuration produces, then prove an expression recomputes outside the state.
Graded on the state of the system attested 1 Dec 2026
Open the guide (French) TF-ASSOCIATE
Command to start it
dsoxlab start getting-started-cli-terraform -
Read a plan before applying it
An already applied configuration must change. Before touching anything, say which of its resources will be updated in place and which will be destroyed then recreated. The human-facing plan announces both in the same block of text: the only reliable reading is the actions field of the plan converted to JSON. Then apply exactly the plan you read, from a saved plan file.
Graded on the state of the system attested 1 Dec 2026
Open the guide (French) TF-ASSOCIATE
Command to start it
dsoxlab start getting-started-terraform-workflow -
What Terraform manages, and what it merely reads
One word separates the two kinds of block: `resource` creates and manages, `data` reads. Prove it in the `mode` field of state, then observe the two consequences: a `destroy` does not touch what it did not create, and a data source is re-read on every plan.
Graded on the state of the system attested 1 Dec 2026
Open the guide (French) TF-ASSOCIATE
Command to start it
dsoxlab start getting-started-providers-resources-data-sources -
Split a monolith without moving the plan
File names have no functional effect: Terraform reads every `.tf` as one document. Split a monolith into six thematic files and prove, by comparing two JSON plans, that nothing changed. Then observe which value source wins.
Graded on the state of the system attested 1 Dec 2026
Open the guide (French) TF-ASSOCIATE
Command to start it
dsoxlab start getting-started-terraform-project-structure
First infrastructures
7
-
First infrastructure: the full cycle, proven
Run the Terraform cycle on a REAL resource rather than reciting it, and learn on the way that `~> 0.8` does not forbid `0.9.x`: the pessimistic operator increments the rightmost component, and the 0.9 branch rewrote the resource schema.
Graded on the state of the system attested 1 Dec 2026
Open the guide (French) TF-ASSOCIATE
Command to start it
dsoxlab start first-infra-first-infrastructure -
Variables, locals and the real precedence order
Four rungs, checked in order: `default`, `TF_VAR_`, `terraform.tfvars`, `*.auto.tfvars`, `-var`. The decisive one is the second: a values file BEATS the environment variable, the rank almost everyone places too high.
Graded on the state of the system attested 1 Dec 2026
Open the guide (French) TF-ASSOCIATE
Command to start it
dsoxlab start first-infra-variables-outputs -
The dependency Terraform cannot guess
Terraform builds its graph from the REFERENCES it finds in expressions. Nine times out of ten a hand-written `depends_on` signals a missing reference. This lab is about the tenth: a block that consumes a variable and references nothing, where Terraform is free to act in the wrong order.
Graded on the state of the system attested 1 Dec 2026
Open the guide (French) TF-ASSOCIATE
Command to start it
dsoxlab start first-infra-virtual-network -
Update in place or replacement: read it in the plan
On a virtual machine, some attributes change in place and others destroy then recreate the machine. The plan says which, before the apply, provided you know where to look. Then verify the plan told the truth, by applying it.
Graded on the state of the system attested 1 Dec 2026
Open the guide (French) TF-ASSOCIATE
Command to start it
dsoxlab start first-infra-vm-libvirt -
Produce an Ansible inventory from the state
Terraform knows what it created; Ansible must know it too. Build the bridge, and make it RELIABLE rather than merely functional: a typed variable, addresses computed by an HCL function, a serialised file, and an inventory that disappears with the fleet it describes.
Graded on the state of the system attested 1 Dec 2026
Open the guide (French) TF-ASSOCIATE
Command to start it
dsoxlab start first-infra-ansible -
Resume after a failed apply, without redoing the work
An apply that fails halfway leaves a PARTIAL state. It is not an accident to wipe: it is the starting point of the repair. Fix the cause in the configuration, and prove the already created resources kept their identifiers.
Graded on the state of the system attested 1 Dec 2026
Open the guide (French) TF-ASSOCIATE
Command to start it
dsoxlab start first-infra-debug-apply -
Destroying cleanly, and the four things it covers
Destroying is not one operation. Observe four that do not resemble each other: the global destroy a guard can REFUSE, the targeted destroy, the removal of a resource FROM THE CODE, and the full destroy that empties the state without deleting its file.
Graded on the state of the system attested 25 Sept 2026
Open the guide (French) TF-ASSOCIATE
Command to start it
dsoxlab start first-infra-clean-destroy
Writing Terraform code
24
-
Explicit source and provider alias
Declare providers correctly: an explicit source address that resolves to registry.terraform.io/hashicorp/random, a second configuration of the same provider distinguished by an alias, and a resource wired to it with provider =. Proven by version -json and the plan JSON provider_config. Associate 5b.
Graded on the state of the system attested 1 Dec 2026
Open the guide (French) TF-ASSOCIATETF-PROFESSIONAL
Command to start it
dsoxlab start write-code-providers -
Read a resource's lifecycle in the plan
Build four resources ordered only by references, then prove in the plan JSON the four lifecycle operations: update in place, replace, create before destroy, and destroy. Pro objective 1c.
Graded on the state of the system attested 1 Dec 2026
Open the guide (French) TF-ASSOCIATETF-PROFESSIONAL
Command to start it
dsoxlab start write-code-declare-resources -
Variables typing, validation and precedence
Type variables correctly and master their traps: a map of objects with optional() defaults, a validation rule that rejects before any provider, an explicit null that falls back to the default with nullable=false, the real source precedence (auto.tfvars over TF_VAR_, -var above all), and sensitive as a display mask, not a state protection. Associate 2e plus 2f.
Graded on the state of the system attested 1 Dec 2026
Open the guide (French) TF-ASSOCIATETF-PROFESSIONAL
Command to start it
dsoxlab start write-code-variables -
The secret the output does not hide
Master the real output block: a type constraint (object), sensitivity propagation (an output referencing a secret must be sensitive, and sensitive is only a display mask, cleartext stays in state, -json and -raw), nonsensitive() to expose a hash deliberately, and a precondition that fails the plan. Associate 2e plus 2f.
Graded on the state of the system attested 1 Dec 2026
Open the guide (French) TF-ASSOCIATETF-PROFESSIONAL
Command to start it
dsoxlab start write-code-outputs -
The local that is not resolved at plan time
Centralize expressions in locals blocks: normalize with HCL functions, keep a ternary typed, generate a list with a for expression, derive from a resource attribute (known after apply), and inherit a variable's sensitivity. Pro objective 2c.
Graded on the state of the system attested 1 Dec 2026
Open the guide (French) TF-ASSOCIATETF-PROFESSIONAL
Command to start it
dsoxlab start write-code-locals -
When exactly does Terraform read a data source?
Build three data sources whose read timing is deliberate: one read during the plan, one deferred to the apply because the resource it depends on is changing, and one carrying an explicit depends_on that does NOT defer it. Prove each case in the plan JSON. Pro objective 2b.
Graded on the state of the system attested 1 Dec 2026
Open the guide (French) TF-ASSOCIATETF-PROFESSIONAL
Command to start it
dsoxlab start write-code-data-sources -
What expressions really compute
Write correct Terraform expressions: reference a managed resource with no prefix, know that == does not convert types (so 3 is not "3") while arithmetic does, respect operator precedence, and use null to omit an argument rather than an empty string. Associate 2e.
Graded on the state of the system attested 1 Dec 2026
Open the guide (French) TF-ASSOCIATETF-PROFESSIONAL
Command to start it
dsoxlab start write-code-expressions -
Compose values with HCL functions
Deduplicate a collection for for_each, handle out-of-range element(), lookup() fallback, ceil() rounding, template escaping and a provider-defined function. Pro objective 2c.
Graded on the state of the system attested 1 Dec 2026
Open the guide (French) TF-ASSOCIATETF-PROFESSIONAL
Command to start it
dsoxlab start write-code-functions -
Provider-defined functions
Use functions exposed by a provider with the provider:: syntax. Pro objectives 2c and 5a.
Graded on the state of the system attested 1 Dec 2026
Open the guide (French) TF-PROFESSIONAL
Command to start it
dsoxlab start write-code-provider-defined-functions -
The configuration that refuses absurd values
Compute values with conditional expressions, then place each guard at the right level: validation, precondition, postcondition and check block. Pro objective 2a.
Graded on the state of the system attested 1 Dec 2026
Open the guide (French) TF-ASSOCIATETF-PROFESSIONAL
Command to start it
dsoxlab start write-code-conditionals -
Custom conditions: precondition, postcondition and check blocks
Validate a configuration with the language features designed for it. Pro objective 2a.
Graded on the state of the system attested 1 Dec 2026
Open the guide (French) TF-ASSOCIATETF-PROFESSIONAL
Command to start it
dsoxlab start write-code-validation-check-preconditions -
count indexes by position, and the position lies
Choose count or for_each per resource and prove it: index a set by name with for_each, migrate a count resource to for_each with no destroy using moved blocks, keep count for interchangeable copies, and expose a conditional resource with one(). Associate objective 4b plus the Professional moved migration.
Graded on the state of the system attested 1 Dec 2026
Open the guide (French) TF-ASSOCIATETF-PROFESSIONAL
Command to start it
dsoxlab start write-code-count -
Add an instance without destroying the others
Migrate count to for_each with moved blocks on an already applied configuration, then add a service proving zero destruction. Pro objective 2d.
Graded on the state of the system attested 1 Dec 2026
Open the guide (French) TF-ASSOCIATETF-PROFESSIONAL
Command to start it
dsoxlab start write-code-for-each -
Transform a catalog with for expressions
Derive four collections from a single map of servers with for expressions: a filtered tuple, an object grouped by role with the ellipsis, a flattened two-level cross, and a filtered for_each. Avoid the splat-on-a-map trap. Pro objective 2c.
Graded on the state of the system attested 1 Dec 2026
Open the guide (French) TF-ASSOCIATETF-PROFESSIONAL
Command to start it
dsoxlab start write-code-for-loops -
Generate blocks, and know when not to
Generate cloudinit parts with a dynamic block filtered in for_each and named from the key, keep the fixed part literal, and hit the wall: a lifecycle meta-argument block cannot be generated by dynamic. Pro objective 2d.
Graded on the state of the system attested 1 Dec 2026
Open the guide (French) TF-ASSOCIATETF-PROFESSIONAL
Command to start it
dsoxlab start write-code-dynamic-blocks -
depends_on belongs only where a reference cannot go
Remove a redundant depends_on that a reference already covers, replace a hardcoded path with a reference, keep the one depends_on nothing else can express, and prove the graph in the plan JSON. Pro objective 2d.
Graded on the state of the system attested 1 Dec 2026
Open the guide (French) TF-ASSOCIATETF-PROFESSIONAL
Command to start it
dsoxlab start write-code-depends-on -
The lifecycle block decides the order, not you
Set create_before_destroy and watch its propagation go down to dependencies, hit the documented limit of prevent_destroy, scope ignore_changes to a single attribute, trigger a replacement from a bare value through terraform_data, and reject an invalid input at plan time. Pro objective 2d.
Graded on the state of the system attested 1 Dec 2026
Open the guide (French) TF-ASSOCIATETF-PROFESSIONAL
Command to start it
dsoxlab start write-code-lifecycle -
The typo that breaks nothing
Two tfvars traps: an undeclared variable in a .tfvars is only a warning, so the real variable silently stays at its default (fix the typo), and terraform.tfvars.json outranks terraform.tfvars (a distinct precedence level). Associate 3c.
Graded on the state of the system attested 1 Dec 2026
Open the guide (French) TF-ASSOCIATETF-PROFESSIONAL
Command to start it
dsoxlab start write-code-tfvars-files -
Version constraints and the lock file
Write correct version constraints: a literal required_version (the terraform block accepts no variable), an exact provider pin that resolves to that version, and the pessimistic ~> that allows 3.x but not 4.0. Proven by version -json and the h1 hashes of the lock file. Associate 3a.
Graded on the state of the system attested 1 Dec 2026
Open the guide (French) TF-ASSOCIATETF-PROFESSIONAL
Command to start it
dsoxlab start write-code-version-constraints -
The config that works but no CI accepts
Take a working but non-conforming config and make it CI-ready: pass terraform fmt, fix the orphan reference that breaks validate, rename resources to snake_case, type and describe variables and outputs, mark the token sensitive, type the number output (1.15), and write a .gitignore that excludes state but keeps the lock file. Associate 2a plus 2e.
Graded on the state of the system attested 1 Dec 2026
Open the guide (French) TF-ASSOCIATETF-PROFESSIONAL
Command to start it
dsoxlab start write-code-style-guide -
When sensitivity breaks for_each
A side effect of sensitive rarely taught: a sensitive value cannot be a for_each key (Invalid for_each argument), so you must iterate over a non-sensitive set. The contaminated resource attribute is flagged in sensitive_values, and a hash is exposed with nonsensitive(). Professional 2f.
Graded on the state of the system attested 1 Dec 2026
Open the guide (French) TF-ASSOCIATETF-PROFESSIONAL
Command to start it
dsoxlab start write-code-sensitive-data-sensitive-values -
The value that never touches the state
Declare an ephemeral value that is generated during the run but never written to the state or plan: the ephemeral block (random 3.7+), the contrast with a persisted random_password, exposing it safely at the root with ephemeralasnull(), and the two errors it triggers when leaked. Professional 2f.
Graded on the state of the system attested 1 Dec 2026
Open the guide (French) TF-ASSOCIATETF-PROFESSIONAL
Command to start it
dsoxlab start write-code-sensitive-data-ephemeral-values -
Write-only arguments: a secret that never lands in the state
Send a secret to the provider without ever persisting it in the Terraform state, using write-only arguments against a local AWS emulator.
Graded on the state of the system attested 1 Dec 2026
Open the guide (French) TF-ASSOCIATETF-PROFESSIONAL
Command to start it
dsoxlab start write-code-sensitive-data-write-only-arguments -
Read secrets from Vault
Fetch secrets from HashiCorp Vault with the vault provider and consume them without freezing them in clear text in the state. Pro objective 2f.
Graded on the state of the system attested 1 Dec 2026
Open the guide (French) TF-PROFESSIONAL
Command to start it
dsoxlab start write-code-sensitive-data-vault-secrets
Terraform state
10
-
Take over a secret already in service, without regenerating it
A plain `apply` would draw a new password. Attach the existing one through an `import` block, then observe that the secret sits in clear text in the state while being marked `sensitive_attributes`: masking is a display, not encryption.
Graded on the state of the system attested 1 Dec 2026
Open the guide (French) TF-ASSOCIATETF-PROFESSIONAL
Command to start it
dsoxlab start state-understand-state -
Migrate the state without breaking its lineage
A backend block accepts no named value. Move from an implicit local backend to a parameterised one through partial configuration and `-backend-config`, and prove the state migrated rather than being recreated: same `lineage`, both resources still managed.
Graded on the state of the system attested 1 Dec 2026
Open the guide (French) TF-ASSOCIATETF-PROFESSIONAL
Command to start it
dsoxlab start state-backends -
State locking, what it really blocks
Measure the exact scope of the state lock on a local backend, and state what enables it on S3.
Graded on the state of the system attested 1 Dec 2026
Open the guide (French) TF-ASSOCIATETF-PROFESSIONAL
Command to start it
dsoxlab start state-state-locking -
terraform state list, the address is the identity
Find the address of an instance when all you know is its real identifier, and count managed resources without being caught by a module.
Graded on the state of the system attested 1 Dec 2026
Open the guide (French) TF-ASSOCIATETF-PROFESSIONAL
Command to start it
dsoxlab start state-terraform-state-list -
terraform state show, and what the summary hides
Extraire du state une valeur sensible et des attributs nuls, que la sortie humaine de state show caviarde ou omet.
Graded on the state of the system attested 1 Dec 2026
Open the guide (French) TF-ASSOCIATETF-PROFESSIONAL
Command to start it
dsoxlab start state-terraform-state-show -
terraform state mv and the moved block, refactor without destroying
Reattach three existing objects to their new addresses, imperatively then declaratively, and prove nothing was recreated.
Graded on the state of the system attested 1 Dec 2026
Open the guide (French) TF-ASSOCIATETF-PROFESSIONAL
Command to start it
dsoxlab start state-terraform-state-mv -
terraform state rm and the removed block, stop managing without destroying
Take two resources out of the state without deleting the files, and learn why a removed block destroys unless you write destroy = false.
Graded on the state of the system attested 1 Dec 2026
Open the guide (French) TF-ASSOCIATETF-PROFESSIONAL
Command to start it
dsoxlab start state-terraform-state-rm -
The removed block: bequeath an infrastructure without destroying it
Take resources out of the state deciding for each whether the real object survives, and find where the removed block gives up. Pro objectives 1e and 4c.
Graded on the state of the system attested 1 Dec 2026
Open the guide (French) TF-PROFESSIONAL
Command to start it
dsoxlab start state-removed-block -
Restore an amputated state: pick the right backup, prove nothing was recreated
A state rm went wrong and the backup was overwritten. Three candidate backups, one restorable, compared by lineage and serial, then pushed without touching the real files.
Graded on the state of the system attested 1 Dec 2026
Open the guide (French) TF-ASSOCIATETF-PROFESSIONAL
Command to start it
dsoxlab start state-backup-restore-state -
Diagnose a drift and adopt an orphan resource, without losing its value
Prove a drift with a saved refresh-only plan, reconcile it, then adopt a pre-existing token with an import block, without Terraform regenerating it.
Graded on the state of the system attested 1 Dec 2026
Open the guide (French) TF-ASSOCIATETF-PROFESSIONAL
Command to start it
dsoxlab start state-diagnose-state
Terraform modules
9
-
A reusable module configures no provider of its own
Empty a child module of its provider configuration, have it declare the aliased configuration it expects, pass that configuration from the root, and instantiate the module three times with a single for_each.
Graded on the state of the system attested 1 Dec 2026
Open the guide (French) TF-ASSOCIATETF-PROFESSIONAL
Command to start it
dsoxlab start modules-create-modules -
Refactor a monolith into the standard module structure
Split a single .tf file into the official layout, add a nested module called by relative path, a standalone example, and prove that override.tf is the one file name with a functional effect.
Graded on the state of the system attested 1 Dec 2026
Open the guide (French) TF-ASSOCIATETF-PROFESSIONAL
Command to start it
dsoxlab start modules-module-structure -
A module interface is a contract, not just types
Make an object attribute optional, refuse an explicit null, reject an out-of-range value, gate an output behind a precondition, and re-export a secret without breaking the plan.
Graded on the state of the system attested 1 Dec 2026
Open the guide (French) TF-ASSOCIATETF-PROFESSIONAL
Command to start it
dsoxlab start modules-module-variables-outputs -
A local module is read in place, not installed
Wire two root projects onto one shared local module, and prove from modules.json which folder each call really reads: relative path versus absolute path.
Graded on the state of the system attested 1 Dec 2026
Open the guide (French) TF-ASSOCIATETF-PROFESSIONAL
Command to start it
dsoxlab start modules-module-local -
A registry module is downloaded, versioned, and never locked
Pin a registry module, resolve a flexible constraint, and prove from modules.json and the plan JSON which version got installed: the lock file never covers a module.
Graded on the state of the system attested 1 Dec 2026
Open the guide (French) TF-ASSOCIATETF-PROFESSIONAL
Command to start it
dsoxlab start modules-module-registry -
Publish and consume module versions with Git tags
Publish three versions of a shared module, then consume them from three projects: an immutable reference, a minor tag and a major tag, with no version argument in sight.
Graded on the state of the system attested 25 Sept 2026
Open the guide (French) TF-ASSOCIATETF-PROFESSIONAL
Command to start it
dsoxlab start modules-version-modules -
Prove a module with terraform test, mutations included
Write the .tftest.hcl suite of a module, covering its default, its options and its refusal of an invalid input: every behaviour is checked by mutating the module.
Graded on the state of the system attested 1 Dec 2026
Open the guide (French) TF-ASSOCIATETF-PROFESSIONAL
Command to start it
dsoxlab start modules-test-module -
Make a module composable, and prove it from the plan JSON
Strip a legacy module of its own provider configuration, invert its dependency and document it, then read the proof in provider_config and module_calls.
Graded on the state of the system attested 1 Dec 2026
Open the guide (French) TF-ASSOCIATETF-PROFESSIONAL
Command to start it
dsoxlab start modules-module-best-practices -
Refactor a copy-pasted project without destroying anything
Extract two copy-pasted resources into a typed module called once, and prove from the state identifiers that nothing was destroyed on the way.
Graded on the state of the system attested 1 Dec 2026
Open the guide (French) TF-ASSOCIATETF-PROFESSIONAL
Command to start it
dsoxlab start modules-module-anti-patterns
Environments
7
-
Split a monolithic configuration, and prove the plan did not move
Split an eighty-line main.tf into the official file layout, then prove by comparing two plans that nothing changed: a green validate proves nothing here.
Graded on the state of the system attested 1 Dec 2026
Open the guide (French) TF-PROFESSIONAL
Command to start it
dsoxlab start environments-organize-terraform-repo -
Two roots, two states, one shared module
Wire two root configurations onto one shared module with a partial backend, then prove by destroying dev that prod never moved.
Graded on the state of the system attested 1 Dec 2026
Open the guide (French) TF-PROFESSIONAL
Command to start it
dsoxlab start environments-separate-environments -
Which value wins, and how to prove it
Serve three environments from one configuration, restore the guard rail a stray terraform.tfvars had silenced, and prove which source wins from the plan JSON.
Graded on the state of the system attested 1 Dec 2026
Open the guide (French) TF-ASSOCIATE
Command to start it
dsoxlab start environments-per-environment-variables -
One directory, three states that never see each other
Drive three state instances from a single configuration through terraform.workspace, then retire an inherited workspace without leaving an orphan behind.
Graded on the state of the system attested 1 Dec 2026
Open the guide (French) TF-ASSOCIATE
Command to start it
dsoxlab start environments-workspace -
Workspaces or separate configurations, and what the split costs
Decide which parts still belong in workspaces, split the rest into two root configurations, and wire their dependency through terraform_remote_state without duplicating a value.
Graded on the state of the system attested 1 Dec 2026
Open the guide (French) TF-PROFESSIONAL
Command to start it
dsoxlab start environments-when-to-use-workspaces -
Split a monorepo into two stacks that talk to each other
Re-export a nested module output at the root, consume it from a downstream stack through terraform_remote_state, and keep the platform secret out of the shared state.
Graded on the state of the system attested 1 Dec 2026
Open the guide (French) TF-PROFESSIONAL
Command to start it
dsoxlab start environments-monorepo-vs-repo-per-stack -
Run Terraform in automation (CI/CD)
Build a non-interactive Terraform chain judged on exit codes alone, then record what a saved plan really freezes, what a lock does, and where a secret leaks.
Graded on the state of the system attested 1 Dec 2026
Open the guide (French) TF-PROFESSIONAL
Command to start it
dsoxlab start environments-terraform-in-automation
Terraform on AWS, via Floci
6
-
AWS provider: authentication, endpoints and default tags
Configure a pinned AWS provider so it authenticates against a local API emulator, then prove the instance really runs.
Graded on the state of the system attested 1 Dec 2026
Open the guide (French) TF-ASSOCIATE
Command to start it
dsoxlab start aws-provider-aws-first-ec2 -
Security group: dedicated rules, for_each and a deterministic subnet
Build a security group whose rules are all dedicated resources, factor the ingress rules with for_each, and place an instance in a subnet designated by its tag.
Graded on the state of the system attested 1 Dec 2026
Open the guide (French) TF-ASSOCIATE
Command to start it
dsoxlab start aws-sg-subnet-instance -
Compose the IAM chain, and name its two policies correctly
`aws_iam_policy_document` is a LOCAL data source: it queries nothing, it builds JSON. Compose the policy, role, instance profile and instance chain, and prove in the structured state that the trust policy and the permissions take two distinct paths to the role.
Graded on the state of the system attested 1 Dec 2026
Open the guide (French) TF-PROFESSIONAL
Command to start it
dsoxlab start aws-iam-role-policy-instance-profile -
A remote state, locked, and read by another stack
Repair a trapped backend block, make the S3 lock actually effective, and have a second configuration consume the outputs without copying a single value.
Graded on the state of the system attested 1 Dec 2026
Open the guide (French) TF-PROFESSIONAL
Command to start it
dsoxlab start aws-backend-s3-remote-state -
Read a replacement in the plan, before it happens
An ASG referencing `version = "$Latest"` never triggers an instance refresh, and a `create_before_destroy` placed on the launch template protects nothing. Read both truths in the plan converted to JSON, without ever calling AWS.
Graded on the state of the system attested 1 Dec 2026
Open the guide (French) TF-PROFESSIONAL
Command to start it
dsoxlab start aws-launch-template-autoscaling -
Import, moved and drift: the three traps a tutorial never shows
Bring an EC2 instance created outside Terraform under its control, change its logical address without the real object being recreated, then reconcile a drift by ACCEPTING reality rather than overwriting it.
Graded on the state of the system attested 1 Dec 2026
Open the guide (French) TF-PROFESSIONAL
Command to start it
dsoxlab start aws-import-moved-drift
HCP Terraform
8
-
The run workflow: played in two steps, then qualified
A run is a plan, then an apply of THAT plan. Reproduce it locally with saved plans, see what a stale plan and a frozen variable refuse, then qualify six described runs and put the eleven stages back in the order the documentation gives.
Graded on the state of the system attested 1 Dec 2026
Open the guide (French) TF-PROFESSIONAL
Command to start it
dsoxlab start hcp-terraform-hcp-terraform-overview -
Workspaces: one word, two meanings, two attachment strategies
A CLI workspace is one more state in the same directory; an HCP Terraform workspace is a unit of execution with its own variables, permissions and history. Repair two `cloud` blocks, attach one by name and the other by tags, and establish what `terraform validate` does not catch.
Graded on the state of the system attested 1 Dec 2026
Open the guide (French) TF-PROFESSIONAL
Command to start it
dsoxlab start hcp-terraform-hcp-workspaces -
The stream a run sends back, and the three ways to start one
What a CLI receives from a remote run is the structured stream `terraform apply -json` also produces locally. Record it, analyse it in HCL, two `change_summary` messages, only one of which says what happened, and establish what each of the three workflows allows.
Graded on the state of the system attested 1 Dec 2026
Open the guide (French) TF-PROFESSIONAL
Command to start it
dsoxlab start hcp-terraform-remote-runs -
Fifteen precedence levels, and one inversion
Among priority variable sets the broadest scope wins, whereas among normal sets it is the narrowest. Build the complete fifteen-level table, then resolve cases the tests generate and that no case-by-case answer can handle.
Graded on the state of the system attested 1 Dec 2026
Open the guide (French) TF-PROFESSIONAL
Command to start it
dsoxlab start hcp-terraform-variable-sets -
Credentials: neither in the code, nor in the state
`sensitive` hides a value from the screen, and the state holds it in clear text all the same. Take the provider's keys out of the configuration, replace a token carried in a tag with its fingerprint, and establish how dynamic credentials work.
Graded on the state of the system attested 1 Dec 2026
Open the guide (French) TF-PROFESSIONAL
Command to start it
dsoxlab start hcp-terraform-shared-credentials -
Permissions add up, they do not override
A permission set at the organization level can beat one set on the workspace, and the reverse is also true: the most permissive wins, never the most specific. Write the rule that computes six teams' effective access, and establish two scales that are not the same.
Graded on the state of the system attested 1 Dec 2026
Open the guide (French) TF-PROFESSIONAL
Command to start it
dsoxlab start hcp-terraform-projects-teams -
Policy as code: what blocks a run, and who can override it
A `hard-mandatory` is not unbypassable: the policy set setting decides, crossed with the user's permission. Qualify seven runs, establish the levels of the three frameworks, and write a rule that refuses a non-compliant plan and accepts the compliant one.
Graded on the state of the system attested 1 Dec 2026
Open the guide (French) TF-PROFESSIONAL
Command to start it
dsoxlab start hcp-terraform-policy-as-code -
The first remote run, for real (optional, needs an account)
The only lab in the catalog that needs an HCP Terraform account. Provision the platform with the `tfe` provider, project, workspace, settings, a sensitive variable, attach a configuration with a `cloud` block, and watch a run execute on HashiCorp's infrastructure.
Graded on the state of the system attested 1 Dec 2026
Open the guide (French) TF-PROFESSIONAL
Command to start it
dsoxlab start hcp-terraform-premier-run-distant
Associate certification (004)
2
-
The commands the exam expects, done rather than recited
Eight gestures a candidate must be able to perform: `validate`, `fmt`, the precedence cascade, `moved`, `import`, `removed` without destroying, `-replace`, and what `sensitive` really protects. Exit codes are recorded as they happen: they cannot be reconstructed afterwards.
Graded on the state of the system attested 12 Oct 2026
Open the guide (French) TF-ASSOCIATE
Command to start it
dsoxlab start certifications-associate-essential-commands -
Associate 004: mock exam
Associate 004 mock exam, validated by pytest.
Graded on the state of the system attested 1 Dec 2026
Open the guide (French) TF-ASSOCIATE
Command to start it
dsoxlab start certifications-associate-mock-004
Professional certification
7
-
Pro · Objective 1: resource lifecycle, import and drift reconciliation
Import into state an EC2 instance created outside Terraform (aws cli on Floci), then detect and reconcile a drift. Exam objective 1.
Graded on the state of the system attested 1 Dec 2026
Open the guide (French) TF-PROFESSIONAL
Command to start it
dsoxlab start certifications-professional-capstone1-resource-lifecycle -
Pro · Objective 2: dynamic configuration and troubleshooting
Data sources, HCL functions, meta-arguments (count/for_each/dynamic), complex types, sensitive data and Vault. Exam objective 2.
Graded on the state of the system attested 1 Dec 2026
Open the guide (French) TF-PROFESSIONAL
Command to start it
dsoxlab start certifications-professional-capstone2-dynamic-config -
Pro · Objective 3: collaborative workflows
Remote state (S3 backend on Floci), version constraints, workflow in automation and data sharing via terraform_remote_state. Exam objective 3.
Graded on the state of the system attested 12 Oct 2026
Open the guide (French) TF-PROFESSIONAL
Command to start it
dsoxlab start certifications-professional-capstone3-collaborative-workflows -
Pro · Objective 4: create, maintain and use modules
Create a module, consume it, refactor and version it; refactor a flat configuration into modules. Exam objective 4.
Graded on the state of the system attested 1 Dec 2026
Open the guide (French) TF-PROFESSIONAL
Command to start it
dsoxlab start certifications-professional-capstone4-modules -
Pro · Objective 5: configure and use providers
Plugin architecture, aliasing, versioning/sourcing/upgrades, authentication and provider error troubleshooting (on Floci). Exam objective 5.
Graded on the state of the system attested 1 Dec 2026
Open the guide (French) TF-PROFESSIONAL
Command to start it
dsoxlab start certifications-professional-capstone5-providers -
Pro · Objective 6: HCP Terraform, where the sub-objectives cross
Objective 6 is assessed by multiple choice, and needs no account. Six situations that each cross two sub-objectives, a `cloud` block to write, and a secret that must not reach the state. Six situations, six different outcomes: no constant answer passes.
Graded on the state of the system attested 1 Dec 2026
Open the guide (French) TF-PROFESSIONAL
Command to start it
dsoxlab start certifications-professional-capstone6-hcp -
Pro · Integrative mock exam: the six objectives in one sitting
A rehearsal, not a lesson: six tasks, one per objective, to be played in one go once the six capstones are done. Drift reconciliation, dynamic configuration, two states that talk, a module that recreates nothing, two configurations of one provider, and a twelve-question HCP paper scored per sub-objective.
Graded on the state of the system attested 1 Dec 2026
Open the guide (French) TF-PROFESSIONAL
Command to start it
dsoxlab start certifications-professional-mock-pro
Level exams
3
-
Level A exam: write and provision a demo environment
A product team needs a demo environment described by a machine catalog. Write the Terraform that builds it on libvirt, lets it evolve without breakage, protects the critical machine and delivers an application secret that never lands in the state. Graded on the real state.
Graded on the state of the system attested 9 Oct 2026
Command to start it
dsoxlab start level-exams-write-provision -
Level B exam: take over the operation of a platform
A platform in service has suffered an incident overnight. Put production back on its feet without recreating any machine, separate dev from prod, and ship a delivery chain that runs without a human. Graded on the real state.
Graded on the state of the system attested 24 Nov 2026
Command to start it
dsoxlab start level-exams-operate-state -
Level C exam: turn copy-pasted code into a versioned module
Two teams copy-pasted the same machine configuration. Turn it into a tested module published in a local Git repository, release a minor then a major version, and have both teams consume it, one pinned to content, the other following releases, without recreating the machines already in service. Graded on the real state.
Graded on the state of the system attested 9 Oct 2026
Command to start it
dsoxlab start level-exams-modularize
Add this catalogue dsoxlab catalog add https://github.com/stephrobert/kubernetes-dsoxlab-training
KCNA, Kubernetes and Cloud Native Associate
9
-
Install and configure kubectl
Download the official kubectl binary at a pinned 1.37 version, check its fingerprint against the published one, install it in /usr/local/bin, turn on bash completion with the alias k, and check that it reaches the cluster already prepared for you.
Graded on the state of the system attested 11 Nov 2026
Command to start it
dsoxlab start k8s-installer-kubectl -
Create a multi-node kind cluster
Write a kind configuration file for one control plane and two workers, then create from it the atelier cluster, on the pinned Kubernetes 1.37.0 node image, and check that its three nodes are Ready with the right roles.
Graded on the state of the system attested 11 Nov 2026
Command to start it
dsoxlab start k8s-creer-un-cluster-kind -
Switch context and set the default namespace
Your kubeconfig already holds two contexts. Switch to recette, give it kube-system as its default namespace, and prove it with a ConfigMap created without naming any context or namespace, which must land in the right place. Then make your kubeconfig readable by you alone.
Graded on the state of the system attested 12 Nov 2026
Command to start it
dsoxlab start k8s-changer-de-contexte -
Deploy, expose and scale a first application
In a dedicated demo-app namespace, deploy nginx on the pinned image with one replica, expose it through a ClusterIP Service, scale it to three available replicas, then record the HTTP answer read from a client Pod.
Graded on the state of the system attested 11 Nov 2026
Command to start it
dsoxlab start k8s-premier-deploiement -
Ship the storefront and bring the stock service back
On a kind cluster, point kubectl at the right cluster and namespace, ship the storefront with three replicas behind a Service that answers, record why the preinstalled stock service will not start before repairing it through its manifest, and protect the kubeconfig you were given.
Pass mark 70% attested 15 Nov 2026
Command to start it
dsoxlab start k8s-challenge-premier-deploiement -
Follow a Pod from kubectl to the container
Create a Deployment, then read the events of its Pod to record each step between kubectl and a running container, and the component that acts at each one: the scheduler for placement, the kubelet of the chosen Node for the image pull, the creation and the start of the container.
Graded on the state of the system attested 20 Nov 2026
Open the guide (French) KCNAKCSA
Command to start it
dsoxlab start k8s-suivre-un-pod-de-kubectl-au-conteneur -
Watch the control plane reconcile
Delete a Pod, then the ReplicaSet of a Deployment, watch the cluster come back to the requested state, and record which controller recreated each object.
Graded on the state of the system attested 20 Nov 2026
Open the guide (French) KCNAKCSA
Command to start it
dsoxlab start k8s-observer-la-reconciliation -
Read what a worker Node declares
On the multi-node kind cluster, record for the worker architecture-worker2 what sets it apart from the other nodes: its internal address, the address range of its Pods, its Machine ID and the time it became Ready, as the Node declares them.
Graded on the state of the system attested 20 Nov 2026
Open the guide (French) KCNAKCSA
Command to start it
dsoxlab start k8s-lire-un-node -
Read a cluster: which component does what
On a four-node kind cluster, find which Node carries the control plane, name the Pods of its four components with their role, read the container runtime of each worker, prove where the scheduler placed a Pod, and find which component does not act on a Deployment whose Pods never start.
Pass mark 70% attested 11 Nov 2026
Open the guide (French) KCNAKCSA
Command to start it
dsoxlab start k8s-challenge-lire-un-cluster
CKA, Certified Kubernetes Administrator
61
-
Roll back a stuck rollout, then ship the right version
An update went out with a wrong image name and the rollout is stuck. Put the revision that worked back in service, then ship the correct image and carry a change cause on the Deployment. The tests read the ReplicaSets that belong to the Deployment and the exact revision numbers expected: a Deployment deleted and recreated no longer has the history they read.
Graded on the state of the system attested 20 Nov 2026
Command to start it
dsoxlab start cka-deployment-rollout-rollback -
Get inside a container with no shell using kubectl debug
A Pod whose image contains no shell offers nothing to kubectl exec. Attach an ephemeral container to it that shares its processes, and read from there the processes the application really runs.
Graded on the state of the system attested 13 Nov 2026
Command to start it
dsoxlab start cka-kubectl-debug -
Repair a node's Pod network and read what the network says
A worker lost its Pod network: the node is NotReady and a Pod stays in ContainerCreating. Record the cluster's address ranges, repair the node, prove that a Pod reaches a Pod on another node, and tell an immediate refusal from a timeout.
Graded on the state of the system attested 13 Nov 2026
Command to start it
dsoxlab start cka-troubleshoot-networking -
Restore the cluster's DNS resolution
No Pod resolves a service name any more. Find out why the cluster DNS has stopped answering, put it back in service, then find why it still answers NXDOMAIN once Running and Ready, and prove that a client Pod resolves and reaches a Service by its name again.
Graded on the state of the system attested 13 Nov 2026
Command to start it
dsoxlab start cka-troubleshoot-dns -
Route two applications on a single host, and check each gets its own
Two applications, one hostname, and no rule saying which is which. Route by path, and prove it the only way that counts: each path answers with its own application's name, and an undeclared path answers with neither.
Graded on the state of the system attested 17 Nov 2026
Command to start it
dsoxlab start cka-ingress-path-routing -
Route with the Gateway API, and repair a route the cluster refuses
Same two applications, same single hostname, and the successor to Ingress. Declare a Gateway, attach a route to it, and prove the routing: each path answers with its own application's name, an undeclared path answers with neither. Then repair a route set up before you, which the cluster refuses without saying so anywhere but in its status.
Graded on the state of the system attested 17 Nov 2026
Command to start it
dsoxlab start cka-gateway-api-httproute -
Isolate the database: only the backend gets in
Write the NetworkPolicy that lets nothing into the database but the backend of its own namespace, on its port. The tests attempt the connections: the one that must go through, the frontend one that must be blocked, the one from a Pod with the right label but in another namespace, and they check that the database can still reach out.
Graded on the state of the system attested 13 Nov 2026
Command to start it
dsoxlab start cka-networkpolicy-isolate-db -
Expose an application and isolate its flows
Without guidance, route two applications by host and path, repair a legacy Service, give a client Pod back its name resolution, then isolate a database behind a default refusal that still lets it resolve names.
Pass mark 70% attested 17 Nov 2026
Open the guide (French) CKACKAD
Command to start it
dsoxlab start k8s-challenge-exposer-et-isoler -
A persistent volume: PersistentVolume, PersistentVolumeClaim and a Pod that writes
On a cluster with no dynamic provisioning, create a PersistentVolume on a node's disk, claim it with a PersistentVolumeClaim, mount it in a Pod that writes to it. The tests read the volume, the binding, the mount, the file inside the Pod, then the same file on the node's disk: that is where persistence is proven.
Graded on the state of the system attested 13 Nov 2026
Command to start it
dsoxlab start cka-pv-pvc-storageclass -
Create your StorageClass and get a volume no administrator created
A claim stuck in Pending because nobody prepared a volume by hand. Create a StorageClass that reuses the provisioner already installed and keeps its volumes, let the cluster provision one on demand through it, and write into it from a Pod.
Graded on the state of the system attested 13 Nov 2026
Command to start it
dsoxlab start cka-storageclass-provisionnement-dynamique -
Keep data beyond the life of a Pod
Without guidance, obtain a volume from a StorageClass, write a witness file from a Pod, prove that it survives the recreation of that Pod, keep the data beyond the claim, and fix a claim stuck in Pending after recording its cause.
Pass mark 70% attested 15 Nov 2026
Open the guide (French) CKACKAD
Command to start it
dsoxlab start k8s-challenge-donnees-qui-survivent -
Give each replica a stable identity with a StatefulSet
Replace a Deployment whose Pods have random names and keep nothing with a StatefulSet behind a headless Service: ordered replicas, stable names that resolve, one volume per replica, and data that survives its Pod.
Graded on the state of the system attested 12 Nov 2026
Open the guide (French) CKACKAD
Command to start it
dsoxlab start cka-statefulset-identite-stable -
An agent on every node, including the control plane
Deploy a DaemonSet that places an agent on every node of the cluster, including the control plane, protected by its taint. The tests count one Pod per node, check that the taint is still there and that the agent runs on it anyway, and read its logs to prove that it is doing its job.
Graded on the state of the system attested 13 Nov 2026
Command to start it
dsoxlab start cka-daemonset-all-nodes -
Install an operator and configure what it runs
Install the MongoDB operator from its versioned manifests with pinned images, hand it a one-member replica set, then change a mongod setting by editing only the resource, and check that the operator applied it.
Graded on the state of the system attested 21 Nov 2026
Command to start it
dsoxlab start cka-operateur-installer-et-configurer -
Choose and deploy the right workload for three needs
Without guidance, serve three needs described without naming any object: a database whose replicas keep a stable identity and their data, an agent on every node including the control plane, and a custom resource whose schema enforces a bound.
Pass mark 70% attested 15 Nov 2026
Open the guide (French) CKACKAD
Command to start it
dsoxlab start k8s-challenge-choisir-le-bon-workload -
Placing with nodeAffinity: required constraint and preference
Place a Deployment with a required node affinity on a label that accepts several values, add a weighted preference to it, then unblock a Pod that is waiting for a node which does not exist yet, by setting the label it demands. The tests read the node labels, the declared affinities and the actual node of every Pod.
Graded on the state of the system attested 26 Nov 2026
Command to start it
dsoxlab start cka-node-affinity -
Reserve a node: taint, toleration and nodeSelector
Reserve the worker for production with a taint and a label, then place a Pod that must go there, toleration and nodeSelector, and a Pod that must not. The tests read the node, the actual placement of each Pod and the declared mechanisms: a Pod pinned with nodeName bypasses the taint and does not pass.
Graded on the state of the system attested 26 Nov 2026
Command to start it
dsoxlab start cka-taints-tolerations-placement -
Prioritize Pods and watch a preemption
Create a low and a high PriorityClass, run the Pods that fill a node under the low one, then start an urgent Pod under the high one and watch the scheduler preempt a low-priority Pod to make room for it.
Graded on the state of the system attested 13 Nov 2026
Command to start it
dsoxlab start k8s-prioriser-et-preempter -
Cap a namespace without blocking those who forget to declare themselves
A namespace with no ceiling and no defaults: one team can take the whole cluster, and a Pod with no requests is scheduled blind. Set both, and prove each: a Pod asking too much is refused, a Pod asking nothing is accepted and completed.
Graded on the state of the system attested 26 Nov 2026
Open the guide (French) CKACKAD
Command to start it
dsoxlab start cka-resourcequota-limitrange -
Scale out automatically with a HorizontalPodAutoscaler
Put an HPA on a Deployment, generate load, watch the replica count go up, then cut the load. The tests read the HPA, its current metrics, and the rescale event the controller emitted: an HPA that has never rescaled is not a validated HPA.
Graded on the state of the system attested 26 Nov 2026
Command to start it
dsoxlab start cka-hpa-autoscaling -
Apply a VPA recommendation
Put a Vertical Pod Autoscaler in Off mode on an undersized Deployment, read its recommendation (lower bound, target, upper bound), then report sensible requests into the Deployment yourself, without letting the VPA evict a Pod.
Graded on the state of the system attested 21 Nov 2026
Command to start it
dsoxlab start k8s-appliquer-une-recommandation-vpa -
Place Pods, cap a namespace and scale, on your own and without hints
Without guidance, reserve a node for one application, keep the others away from it, place an application by required and preferred node affinity, spread replicas across nodes, cap the namespace and give its containers default values, then scale an application on its CPU load.
Pass mark 70% attested 15 Nov 2026
Open the guide (French) CKACKAD
Command to start it
dsoxlab start k8s-challenge-placer-et-plafonner -
Give an application an identity: ServiceAccount, Role, RoleBinding
An application refuses to start because its ServiceAccount does not exist. Create it, grant it the right to read the Pods of its namespace and nothing else, then prove from inside the Pod, with its own token, that listing goes through and that deleting, reading Secrets or looking elsewhere are denied. Finally, cut the token of the Pod that never calls the API.
Graded on the state of the system attested 26 Nov 2026
Command to start it
dsoxlab start cka-rbac-serviceaccount -
Give an application its own identity and the least rights
Without guidance, give an observability tool its own identity, let it read the logs of another namespace's Pods and nothing more, cut the token of the Pod that never calls the API, strip the inherited rights of the namespace's default account, and harden the tool without breaking it.
Pass mark 70% attested 13 Nov 2026
Open the guide (French) CKACKS
Command to start it
dsoxlab start k8s-challenge-identite-et-droits-minimaux -
Level 3 exam: place, secure and deliver an application
From requirements that name no Kubernetes object, ship and repair a festival application: route two web applications by host and path, repair an inherited failing component after recording its cause, isolate the database, place the workloads, cap the namespace, scale the application on a metric, and give it its own identity and a hardened container.
Pass mark 70% attested 14 Nov 2026
Open the guide (French) CKACKAD
Command to start it
dsoxlab start k8s-epreuve-livrer-une-application -
Read the CRI, CNI and CSI interfaces of a node
On a kubeadm node, find the container runtime socket the kubelet uses, the runtime and its version, the CNI configuration in force and its plugin, and the CSI drivers of the cluster: where to look when one of the three interfaces breaks.
Graded on the state of the system attested 13 Nov 2026
Open the guide (French) CKAKCNA
Command to start it
dsoxlab start k8s-lire-les-interfaces-d-un-noeud -
Initialise a control plane with kubeadm
Prepare a reset control plane for Kubernetes 1.37 (kernel modules and IP forwarding made persistent, swap off for good, packages held), initialise it with a kubeadm configuration file, give the user a working kubeconfig, then install Calico through its operator until the node is Ready.
Graded on the state of the system attested 14 Nov 2026
Command to start it
dsoxlab start cka-initialiser-un-plan-de-controle -
Join a worker node to a kubeadm cluster
Prepare a reset worker for Kubernetes 1.37 (swap off for good, containerd on the systemd cgroup driver, packages held), join it to the cluster with the command the control plane issues, check that it is Ready with the expected kubelet, then prove it runs workloads with a Pod running on it.
Graded on the state of the system attested 14 Nov 2026
Command to start it
dsoxlab start cka-joindre-un-noeud-kubeadm -
Build a kubeadm control plane with three nodes behind a load balancer, and lose one
Three nodes ready for kubeadm and an HAProxy load balancer, without any cluster. Initialise the first control plane behind the load balancer, join the two others as control planes, install a CNI, then check that etcd has three voting members. The test stops a control plane and writes into the cluster through the load balancer.
Graded on the state of the system attested 16 Nov 2026
Command to start it
dsoxlab start cka-control-plane-haute-disponibilite -
Install a kubeadm cluster, join a node and make the control plane highly available
Without guidance, prepare a reset worker and join it to the kubeadm cluster so that it survives a reboot, prove it runs a Pod forced onto it, then build a cluster with three control-plane nodes behind a load balancer, with a three-member etcd, whose API keeps answering when one control plane goes down.
Pass mark 70% attested 14 Nov 2026
Command to start it
dsoxlab start k8s-challenge-installer-un-cluster -
Check etcd health and defragment its database
With etcdctl and the etcd TLS certificates, read the health of the cluster's etcd, its member and its space quota, then compact and defragment a bloated database and compare its size before and after.
Graded on the state of the system attested 14 Nov 2026
Command to start it
dsoxlab start cka-etcd-sante-et-defragmentation -
Back up etcd, then restore the cluster from a snapshot
A namespace has disappeared. Take a fresh backup of the current state first, then restore the cluster from yesterday evening's snapshot, without stopping the wrong component and without leaving the API server on a stale cache. The tests prove that etcd runs on a data directory produced during the lab, that the objects come back with their original UID, and that what was written after the backup is gone.
Graded on the state of the system attested 13 Nov 2026
Command to start it
dsoxlab start cka-etcd-backup-restore -
Detect and migrate removed APIs
In a repository of legacy manifests, find the ones that use an API removed from Kubernetes, migrate them to the current API without changing what they describe, and apply them.
Graded on the state of the system attested 13 Nov 2026
Open the guide (French) CKACKAD
Command to start it
dsoxlab start k8s-detecter-les-api-depreciees -
Detect and migrate removed APIs before an upgrade
Without guidance, find which manifests of a repository use an API that Kubernetes has removed, report each one with its replacement, migrate them without changing their intent, and apply the repository.
Pass mark 80% attested 21 Nov 2026
Command to start it
dsoxlab start k8s-challenge-migrer-les-api-retirees -
Check and renew the certificates of a kubeadm cluster
Read the expiry of every certificate of a kubeadm cluster, renew those of the control plane, make the components reload them, then copy admin.conf again and check that kubectl answers.
Graded on the state of the system attested 14 Nov 2026
Command to start it
dsoxlab start kubeadm-verifier-et-renouveler-les-certificats -
Give a person access through a CertificateSigningRequest
Give the user camille access to the cluster through the CertificateSigningRequest API: her key and request, the approval, the issued certificate, her kubeconfig, then read-only rights on one namespace, checked with her own identity.
Graded on the state of the system attested 14 Nov 2026
Open the guide (French) CKACKS
Command to start it
dsoxlab start k8s-donner-un-acces-par-csr -
Challenge: back up, restore and put a cluster back in order
No procedure. Take a fresh etcd backup, restore etcd from the previous day's backup onto a new data directory, migrate a repository of manifests off removed APIs, and leave no control plane certificate close to expiry. Graded on the state of the cluster.
Pass mark 70% attested 14 Nov 2026
Command to start it
dsoxlab start k8s-challenge-sauvegarder-et-restaurer -
Make the health of a cluster readable and write its health report
A kubeadm cluster without metrics-server: kubectl top answers nothing. Install metrics-server from the pinned manifest provided, make it accept the kubelets' certificates, then write a health report in the ConfigMap bulletin of the namespace sante: the Pod that uses the most memory, and the node whose CPU is the most reserved by requests.
Graded on the state of the system attested 16 Nov 2026
Command to start it
dsoxlab start k8s-observer-la-sante-d-un-cluster -
Spot the key signals of a cluster and alert on them with PromQL
Prometheus collects the three metric sources of the cluster. In the signaux namespace, one container keeps running out of memory and another is held back by its CPU limit. Write the two alerts that catch them, without catching the quiet control Pod.
Graded on the state of the system attested 23 Nov 2026
Command to start it
dsoxlab start k8s-reperer-les-signaux-d-un-cluster -
Answer operations questions with PromQL
Prometheus collects the cluster. Write the four PromQL queries the team needs: memory per namespace, the three Pods that use the most CPU, the P95 duration of Prometheus HTTP requests, and the recent restarts of a workshop namespace.
Graded on the state of the system attested 23 Nov 2026
Command to start it
dsoxlab start k8s-interroger-prometheus-en-promql -
Rebuild an incident from the Events of a namespace
Five applications in the namespace boutique, four of them down, each in a different way. Without repairing anything, read the Events of the namespace and write the incident report in the ConfigMap rapport: the reason of the Warning Events of each application, the healthy one, and the first application hit.
Graded on the state of the system attested 16 Nov 2026
Command to start it
dsoxlab start k8s-reconstituer-un-incident-par-les-evenements -
Get a Deployment out of CrashLoopBackOff
The Pods of a Deployment have been restarting in a loop since the last release. Read what the process said before it died, work out what it is missing, fix the Deployment, and prove the application serves again.
Graded on the state of the system attested 26 Nov 2026
Command to start it
dsoxlab start cka-troubleshoot-crashloopbackoff -
Read why four Pods stay Pending and get each one placed
Four applications of the namespace placement never started: their Pods stay Pending, each for a different reason. Read the scheduler's FailedScheduling message for each one, write down the cause, and get every Pod placed without giving up what the team asked for: the NVMe disk, the node reserved for batch jobs, the storage class of the archives.
Graded on the state of the system attested 16 Nov 2026
Command to start it
dsoxlab start cka-placer-un-pod-pending -
Get a Pod out of ImagePullBackOff
A Pod does not start because its image will not download. Read the runtime's exact message in the events, fix the image reference, and prove that the server answers.
Graded on the state of the system attested 13 Nov 2026
Command to start it
dsoxlab start cka-troubleshoot-imagepullbackoff -
Bring the API server back into service
kubectl no longer answers: the control plane's API server exits with an error at startup. With no API, diagnose on the node, in the containers and in the kubelet journal, fix the static manifest, and prove the API answers without having weakened its authorization.
Graded on the state of the system attested 13 Nov 2026
Command to start it
dsoxlab start cka-troubleshoot-apiserver -
Place a static Pod on a worker, without going through the API
Run a Pod that the worker's kubelet manages on its own, from a manifest dropped on the node, and see it appear in the API under its mirror name. The file must sit where the kubelet's own configuration says, and the worker's runtime must really be running the container.
Graded on the state of the system attested 13 Nov 2026
Command to start it
dsoxlab start cka-static-pod -
Repair a kubelet that refuses to start
A worker's kubelet stops as soon as it is launched, and the node is NotReady. Read in the journal what it holds against its configuration, fix the file without breaking anything else, and prove that the node and its application are back.
Graded on the state of the system attested 13 Nov 2026
Command to start it
dsoxlab start cka-troubleshoot-kubelet -
Bring a NotReady node back into the cluster
A worker has gone NotReady, and the application reserved for it is degraded. Find out on the node why it no longer talks to the control plane, put its agent back in service for good, and prove that the application is back.
Graded on the state of the system attested 13 Nov 2026
Command to start it
dsoxlab start cka-troubleshoot-node-notready -
Bring a broken application and its cluster back into service
Without guidance, repair four failures at once on a kubeadm cluster: a Deployment that restarts in a loop, a Pod whose image cannot be pulled, an API server that no longer starts and a worker whose kubelet is down, recording the cause of each failure before repairing it.
Pass mark 70% attested 14 Nov 2026
Command to start it
dsoxlab start k8s-challenge-depanner-une-application -
Change a live Deployment without losing a container, and resolve the drift
An incident on the Deployment web of the namespace magasin, which carries two containers. Move web to nginx 1.30 without losing the log-agent container nor recreating the object, note the incident on it, switch log-agent to debug, then report every change made in the cluster, and the four replicas set during the load peak, into its manifest, until kubectl diff finds nothing left.
Graded on the state of the system attested 16 Nov 2026
Command to start it
dsoxlab start k8s-modifier-une-ressource-en-production -
Bring live changes back to the Git repository, declaratively
Without guidance, find the changes made live on a cluster, carry the one the team keeps into the versioned manifests, undo the others, and leave the cluster and the repository identical, without recreating any object.
Pass mark 80% attested 21 Nov 2026
Open the guide (French) CKACKAD
Command to start it
dsoxlab start k8s-challenge-ramener-le-cluster-au-depot -
Drain a worker for maintenance, without cutting the service
Protect an application with a PodDisruptionBudget, take the worker out of scheduling, evict it while respecting that budget and the DaemonSets, then put it back in service and record the operation. The tests prove that the Pods really were recreated elsewhere, that the node came back, and that the CNI DaemonSet did not move.
Graded on the state of the system attested 26 Nov 2026
Command to start it
dsoxlab start cka-node-drain-cordon -
Label a node, show its role and reserve it for one team
The data team takes over the worker k8s-w2.lab. Label the node for that team, make its role readable in kubectl get nodes, record who to call before a maintenance, and reserve it with a taint whose effect makes the other teams' Pods already running there leave, without stopping them.
Graded on the state of the system attested 16 Nov 2026
Command to start it
dsoxlab start cka-etiqueter-et-isoler-un-noeud -
Upgrade a cluster one minor version, without interrupting what runs on it
A cluster one minor version behind, an application that must keep serving, and the upgrade to run: the control plane first, then the node, each with its own command. The tests read the versions and check nothing was left drained.
Graded on the state of the system attested 13 Nov 2026
Command to start it
dsoxlab start cka-kubeadm-upgrade -
Drain, maintain and bring a node back into service, then upgrade the cluster
Without guidance, protect an application with a disruption budget, empty a worker and bring it back into service, record the operation, upgrade the whole cluster one minor version without losing the application, and carry into the versioned manifest a change made live.
Pass mark 70% attested 14 Nov 2026
Command to start it
dsoxlab start k8s-challenge-maintenir-un-noeud -
Clear a week of accumulation without erasing the evidence
The namespace lots has accumulated a week of Jobs: its quota of 12 Jobs is full and the export CronJob can no longer start. Bound the history of the CronJob, clean the successful imports with the automatic mechanism while keeping the failed one for analysis, restart the export without raising the quota, and limit the revisions kept by the Deployment api.
Graded on the state of the system attested 16 Nov 2026
Command to start it
dsoxlab start k8s-faire-la-routine-d-exploitation -
Keep an application available during a maintenance
Without guidance, run an application as three copies spread across the nodes, protected by a disruption budget, with probes that keep traffic away until a copy is ready, keep its minimum while a node is evacuated, and write a routine report that matches the real state of the cluster.
Pass mark 70% attested 14 Nov 2026
Open the guide (French) CKACKAD
Command to start it
dsoxlab start k8s-challenge-garantir-la-disponibilite -
Write a runbook that replays, and measure an application's SLO
The application catalogue is down after a bad image was pushed. Write the runbook that brings it back, so that anyone can replay it at the next incident without breaking anything, then measure its availability over the last 30 days against its objective, and say how much error budget is left.
Graded on the state of the system attested 21 Nov 2026
Command to start it
dsoxlab start k8s-mesurer-un-slo-et-ecrire-un-runbook -
Level 4 test: administer a cluster
From an inherited state and requirements that name no Kubernetes object, administer the kubeadm cluster that hosts the shop: bring back a reset worker, prove a highly available control plane, back up etcd and restore the shop from an older backup, migrate manifests off removed APIs, upgrade every node one minor version, keep the shop available through maintenance, repair a node, an API server and a component after recording each cause, and carry live changes and certificate renewals through.
Pass mark 70% attested 18 Nov 2026
Command to start it
dsoxlab start k8s-epreuve-administrer-un-cluster -
Capstone: bring the portal back, with nobody left to ask
A namespace handed over by a team that is gone, a portal that answers nothing, and no ticket saying why. Three independent faults to find, two requirements that were never met, and a single measure of success: the portal answers on every node of the cluster.
Pass mark 66% attested 26 Nov 2026
Command to start it
dsoxlab start cka-capstone-portail -
CKA mock exam: 17 tasks in 120 minutes
A timed mock exam in the CKA format: seventeen tasks spread like the official domains, on one kubeadm cluster, each task on the host it names, reached by ssh, graded on the cluster's final state, no hint. Plan for 120 minutes.
Pass mark 66% attested 17 Nov 2026
Command to start it
dsoxlab start cka-examen-blanc
CKAD, Certified Kubernetes Application Developer
47
-
Read the state of a failing Pod
Two applications will not start in the incident namespace. Find out why, with evidence read from the cluster, without repairing anything: the reason an image will not pull, the error a crashing container wrote before it stopped, its exit code, and which running Pod uses the most memory.
Graded on the state of the system attested 20 Nov 2026
Command to start it
dsoxlab start k8s-lire-l-etat-d-un-pod-en-erreur -
Diagnose two failing Pods
Two Pods fail in the pods-en-panne namespace: one cannot pull its image, the other's container exits with an error. Read each cause in the cluster and record it, then repair each Pod with the right gesture: the image in place, the command by recreating the Pod under the same name.
Graded on the state of the system attested 20 Nov 2026
Command to start it
dsoxlab start k8s-diagnostiquer-un-pod -
Trace a Pod back to its Deployment
In the replicasets namespace, a Deployment updated once keeps two ReplicaSets, and a second Deployment creates no Pod at all. Record which ReplicaSet is active and which one is kept at zero, read why the second one is stuck in the events of its ReplicaSet, then repair it until its replicas are available.
Graded on the state of the system attested 20 Nov 2026
Command to start it
dsoxlab start k8s-lire-les-replicasets -
Tune a rolling update: maxSurge and maxUnavailable
A Deployment set to Recreate must become a progressive replacement: never more than two extra Pods nor more than one unavailable. Then trigger an image update and prove it went all the way through: old revision down to zero, new one complete.
Graded on the state of the system attested 13 Nov 2026
Command to start it
dsoxlab start ckad-rolling-update-strategy -
Label and select Pods
In the etiquettes namespace, give every Pod of the vitrine Deployment the label palier=front in a way that survives their replacement, give vitrine a contact annotation, then record a selector with a negation that returns exactly the Pods of facturation.
Graded on the state of the system attested 20 Nov 2026
Command to start it
dsoxlab start k8s-labels-et-selecteurs -
Expose a Deployment through a ClusterIP Service
Deploy four replicas of a server and expose them through an internal Service. Check from a client that the Service answers under its name and port, and that it really spreads the requests across the Pods.
Graded on the state of the system attested 20 Nov 2026
Command to start it
dsoxlab start ckad-expose-service -
Switch traffic from one version to the other: blue-green
Run two versions of an application side by side, then switch all the traffic from one to the other by changing a Service selector. Prove the switch from a client: every request reaches the new version, none the old one, and the old one stays up and serving.
Graded on the state of the system attested 13 Nov 2026
Command to start it
dsoxlab start ckad-blue-green-deployment -
Repair a NodePort Service
The accueil application runs, but the NodePort Service meant to publish it leads nowhere: its selector targets no Pod, its targetPort is wrong, and its port was drawn at random. Repair it, and prove that every node answers.
Graded on the state of the system attested 13 Nov 2026
Open the guide (French) CKADCKA
Command to start it
dsoxlab start ckad-service-nodeport-reparer -
Reach an application: expose and port-forward
In the guichet namespace, expose the annonces Deployment through a Service on port 8081 towards the port 9376 of its Pods, check that it counts its endpoints, then open a kubectl port-forward tunnel to the Service and record which Pod answers through it.
Graded on the state of the system attested 20 Nov 2026
Command to start it
dsoxlab start k8s-atteindre-une-application -
Configure an application through ConfigMaps
In the tarification namespace, give the tarifs Deployment two values from a ConfigMap as environment variables and a configuration file from another ConfigMap through a volume, change both ConfigMaps, then restart the Deployment so the variables follow, without writing any value in the Deployment.
Graded on the state of the system attested 20 Nov 2026
Command to start it
dsoxlab start k8s-configurer-par-configmap -
Rotate a leaked password and take it out of the manifest
The password of an application has leaked: it is written in clear text in its Deployment, applied with kubectl apply. Store the new password in a Secret, inject it both as an environment variable and as a mounted file, and make sure the old one no longer appears anywhere in the manifest.
Graded on the state of the system attested 20 Nov 2026
Command to start it
dsoxlab start ckad-secret-injection-protection -
Inject configuration and secrets into a Pod
Give an application its configuration through environment variables and through a mounted file, and its credentials through a Secret, without ever writing a password in the Pod manifest. Prove, from inside the container, that everything arrived.
Graded on the state of the system attested 13 Nov 2026
Command to start it
dsoxlab start ckad-configmap-secret-injection -
Isolate an application in a namespace
The inventaire application was created in default by mistake. Move it and its Service to the stock namespace, remove it from default, then from the caisse Pod of the caisse namespace reach it by its namespace-qualified name, record the Pod that answers, and record what the short name gives.
Graded on the state of the system attested 20 Nov 2026
Command to start it
dsoxlab start k8s-isoler-par-namespace -
Extract fields with JSONPath and custom-columns
In the extraction namespace, record the image that the Pod template of the web Deployment asks for, then write the list of the web Pods with the node each one runs on, once with JSONPath and once with custom-columns.
Graded on the state of the system attested 20 Nov 2026
Command to start it
dsoxlab start k8s-extraire-avec-kubectl -
Wire a ConfigMap, a Secret and a Service to a Deployment
In a dedicated namespace, run the storefront with three replicas, give it a configuration value from a ConfigMap and a password from a Secret without writing the password in the Deployment, expose it through a Service that answers, then update its image while keeping the previous ReplicaSet.
Pass mark 70% attested 11 Nov 2026
Command to start it
dsoxlab start k8s-challenge-relier-config-et-service -
Level 1 test: ship and update an application
From requirements that name no Kubernetes object, ship the shop's storefront in its team's own space, with three copies reachable at a stable address, fed by a configuration and a password kept outside the image, move it to the next version without downtime while keeping a way back, and repair a failing component after recording why it failed.
Pass mark 70% attested 12 Nov 2026
Open the guide (French) CKADKCNA
Command to start it
dsoxlab start k8s-epreuve-livrer-et-mettre-a-jour -
Explore the API with api-resources and explain
Find with api-resources the apiVersion and the kind of a CRD you have never seen, create an object of that type with the fields only explain reveals, add an HTTP readiness probe found field by field, and draw up the full inventory of a namespace, beyond kubectl get all.
Graded on the state of the system attested 20 Nov 2026
Command to start it
dsoxlab start k8s-explorer-l-api -
Write and validate a manifest
Repair a colleague's multi-document manifest (a ConfigMap, a Deployment and a Service) until the API server accepts it, every object names its namespace and the Service finds its Pods, then apply it to update the running old version of the Deployment in place, without recreating it.
Graded on the state of the system attested 20 Nov 2026
Command to start it
dsoxlab start k8s-ecrire-un-manifeste -
Create or apply: apply, server-side apply and prune
Apply a whole folder with its subfolders, stop an apply from overwriting the replicas chosen by an autoscaler, take over a field with server-side apply under a named field manager, and prune what left the folder without touching what never belonged to it.
Graded on the state of the system attested 11 Nov 2026
Command to start it
dsoxlab start k8s-creer-ou-appliquer -
Preview with diff, wait with wait
Move an application to its version 2 and run its migration Job, previewing each change with kubectl diff and waiting for the real end of the rollout, then write a deployment script that exits cleanly when nothing differs and stops before applying when kubectl diff fails, and waits for the Jobs of the folder, stopping at the first one that fails.
Graded on the state of the system attested 21 Nov 2026
Command to start it
dsoxlab start k8s-verifier-et-attendre -
One Kustomize base and two overlays, recette and production
Describe the catalogue application only once, in a Kustomize base with a generated ConfigMap, and deploy it into recette and production with overlays that change the replica count, prefix the names, add a palier label, move recette alone to version 2 and merge one value of the configuration in production. Leave the cluster matching the folder.
Graded on the state of the system attested 21 Nov 2026
Command to start it
dsoxlab start ckad-kustomize-overlays -
Apply and check your manifests, from a set of requirements
Without guidance, write the manifests of an application from requirements that never name the objects, find the API field asked for with explain, ship two variants from one Kustomize base, apply them declaratively, show the diff before upgrading production, and deliver with a script that waits for the application to be available.
Pass mark 70% attested 21 Nov 2026
Command to start it
dsoxlab start k8s-challenge-appliquer-et-verifier-ses-manifests -
Inspect a failed Helm release and restore it
The release vitrine (podinfo chart) failed twice when it was upgraded. Find the latest 6.14 version of the chart with a filtered search, name the failed revisions from the history, go back to the last healthy revision, not to the previous one, then make the chart's tests pass on it.
Graded on the state of the system attested 21 Nov 2026
Command to start it
dsoxlab start k8s-inspecter-et-restaurer-une-release-helm -
Install, upgrade and roll back with Helm 4
Install the team's chart in version 0.1.0, upgrade the release with the chart in version 0.2.0 and new values, then go back to the first revision. The release history shows the chart version of each revision.
Graded on the state of the system attested 21 Nov 2026
Command to start it
dsoxlab start ckad-helm-install-upgrade -
Override the values of a Helm chart without falling into the typing trap
The release catalogue (podinfo chart 6.16.0) carries two settings made by the operations team. Upgrade it to 6.17.0 without losing them, and set the interface message to 2026, which must stay a string although it looks like a number.
Graded on the state of the system attested 21 Nov 2026
Command to start it
dsoxlab start k8s-surcharger-les-values-d-un-chart-helm -
Pin an image by digest and pull from a private registry
Pin by its digest the image a Deployment runs on a mutable tag, record why a Pod stays in ImagePullBackOff before repairing anything, then let it pull from a private registry through a docker-registry Secret carried by its ServiceAccount.
Graded on the state of the system attested 21 Nov 2026
Command to start it
dsoxlab start k8s-gerer-les-images -
Ship an application with Helm and GitOps, from a built image
Without guidance, build an image and push it to the cluster registry, install it with Helm from a values file and pinned by digest, upgrade the release then bring it back to the revision asked for, and make Argo CD follow a Git repository until it is synchronised on a change you pushed.
Pass mark 70% attested 22 Nov 2026
Command to start it
dsoxlab start k8s-challenge-livrer-avec-helm-et-gitops -
Repair the gatekeeper of an application with an init container
An application already runs although its dependency does not answer: its init container only resolves a name. Diagnose the gatekeeper and the Service, recreate the Pod with a gatekeeper that waits for a real answer, then put the dependency in place and see the application start on its own.
Graded on the state of the system attested 21 Nov 2026
Command to start it
dsoxlab start ckad-init-container -
A native sidecar that tails the application logs
Have a second container read the logs an application writes to a file, with a native sidecar, declared as an init container with restartPolicy Always, and a shared volume. Prove that the sidecar really does pass the lines on.
Graded on the state of the system attested 13 Nov 2026
Command to start it
dsoxlab start ckad-multi-container-sidecar -
A Job with parallel completions, and a CronJob
Run a workload four times, two at a time, with a Job, and prove that the runs really did overlap. Then schedule a cleanup every five minutes with a CronJob that keeps a bounded history.
Graded on the state of the system attested 13 Nov 2026
Command to start it
dsoxlab start ckad-job-cronjob -
Run one-off and scheduled tasks with Jobs and CronJobs
Without guidance, run an indexed Job that processes each lot of a list once, schedule a CronJob with an imposed schedule, time zone, concurrency and history, start one of its runs by hand, and repair a failed Job.
Pass mark 80% attested 21 Nov 2026
Command to start it
dsoxlab start k8s-challenge-executer-et-planifier-des-taches -
Let one container read what another writes, and nothing else
Two containers in one Pod, one writing and one reading, and nothing shared between them. Give them a volume whose lifetime is the Pod's, and prove it both ways: what is written inside the volume crosses, what is written beside it does not.
Graded on the state of the system attested 13 Nov 2026
Command to start it
dsoxlab start ckad-volumes-partage-entre-conteneurs -
Compose a multi-container Pod: init container, native sidecar, shared volumes
Without guidance, compose a Deployment whose Pods prepare their page with an init container, serve it read-only, and pass on their access log through a native sidecar reading a bounded shared volume.
Pass mark 80% attested 21 Nov 2026
Command to start it
dsoxlab start k8s-challenge-composer-un-pod-multi-conteneurs -
Three probes on one Pod: startup, liveness, readiness
Fit an application with all three probes, with settings that make sense: a slow start tolerated, liveness watched, traffic that only arrives once the Pod is ready. Prove the probes act: the Pod is Ready only because they answer.
Graded on the state of the system attested 13 Nov 2026
Command to start it
dsoxlab start ckad-probes-all-types -
A two-container Pod with its resource budgets
Write by hand a Pod with two containers, each with its own requests and limits, and prove from inside each container that the memory limit is the one the kernel enforces.
Graded on the state of the system attested 13 Nov 2026
Command to start it
dsoxlab start ckad-pod-resources-labels -
Resize a Pod in place, without restarting it
Raise the CPU and the memory of a running Pod, without recreating it and without restarting its container, through the resize subresource. Prove that the kernel applies the new limit and that the container stayed the same.
Graded on the state of the system attested 13 Nov 2026
Command to start it
dsoxlab start ckad-in-place-pod-vertical-scaling -
A Pod blocked by a ConfigMap that does not exist
A Pod does not start and says nothing in its logs, because it has no container yet: its events are the ones that talk. Read the cause, create the missing resource with the expected content, and prove that the application serves.
Graded on the state of the system attested 13 Nov 2026
Command to start it
dsoxlab start ckad-troubleshoot-missing-configmap -
Ship a robust manifest from a set of requirements
Without guidance, ship an application from one Kustomize base into two variants, with an init container, a native sidecar, budgets and probes, schedule a CronJob, run a Job to completion, and repair a failing Pod after recording its cause.
Pass mark 70% attested 15 Nov 2026
Command to start it
dsoxlab start k8s-challenge-manifest-robuste -
Make an application 12-factor compliant on Kubernetes
The team delivered podinfo with its configuration hard-coded in its arguments, its state written on a volume of the Pod, and no clean shutdown, while a Redis runs next to it unused. Generate the configuration with a Kustomize configMapGenerator, move the state to Redis, add a preStop hook, then seed the cache with an administration Job.
Graded on the state of the system attested 16 Nov 2026
Command to start it
dsoxlab start k8s-rendre-une-application-conforme-12-facteurs -
Partition three tiers with ingress and egress NetworkPolicy
Frontend, backend, database: allow only the intended flows, in both directions, DNS included, and forbid everything else. Prove every rule with a real connection, the one that goes through and the one that is blocked.
Graded on the state of the system attested 13 Nov 2026
Command to start it
dsoxlab start ckad-networkpolicy-ingress-egress -
Use a custom resource, read its schema refusals, unblock it
Discover the API group of a CRD, create and modify custom resources, read the refusal of the API for an out-of-bounds value, and unblock a resource stuck in Terminating without touching the CRD.
Graded on the state of the system attested 12 Nov 2026
Open the guide (French) CKADCKA
Command to start it
dsoxlab start ckad-crd-ressource-personnalisee -
Level 2 test: deploy an application that keeps its data
From requirements that name no Kubernetes object, deploy the shop with its data: a reliable storefront shipped from a Kustomize base, a database whose replicas keep their identity and their volume, a scheduled backup, an agent on every node, and the requested custom resource.
Pass mark 70% attested 12 Nov 2026
Open the guide (French) CKADCKA
Command to start it
dsoxlab start k8s-epreuve-deployer-une-application -
Harden a Pod with a securityContext
Run a web server with no privilege: non-root user, no escalation, read-only root filesystem, every capability dropped. And still give it somewhere to write where it needs to, otherwise it will not start. Prove, from the inside, that the confinement holds and that the application serves.
Graded on the state of the system attested 26 Nov 2026
Command to start it
dsoxlab start ckad-security-context-hardened -
Grant read-only access to Pods with RBAC
Let a user read the Pods of a namespace and their logs, and nothing more: no creating, no deleting, no looking into the other namespaces. Prove both sides with kubectl auth can-i, what is allowed and what stays denied.
Graded on the state of the system attested 26 Nov 2026
Command to start it
dsoxlab start ckad-rbac-role-rolebinding -
Three Pods in CrashLoopBackOff, three causes
Three Pods restart in a loop for three different reasons: a command that does not exist, a missing environment variable, a memory limit set too low. Read for each one what kills it, fix it, and prove that all three hold.
Graded on the state of the system attested 26 Nov 2026
Command to start it
dsoxlab start ckad-troubleshoot-crashloop -
Capstone: ship the shop, from the specification alone
A full delivery, given as a specification rather than a walkthrough. Six requirements to satisfy in one namespace: configuration, secret, probes, identity, exposure and isolation. Nothing says which object to create, and the last test checks the only thing that matters: a frontend Pod reaches the shop, and a Pod that is not one does not.
Pass mark 66% attested 26 Nov 2026
Command to start it
dsoxlab start ckad-capstone-boutique -
CKAD mock exam: 17 tasks in 120 minutes
A timed mock exam in the CKAD format: seventeen tasks spread like the official domains, on one kubeadm cluster, each task on the host it names, reached by ssh, graded on the cluster's final state, no hint. Plan for 120 minutes.
Pass mark 66% attested 17 Nov 2026
Command to start it
dsoxlab start ckad-examen-blanc
CKS, Certified Kubernetes Security Specialist
39
-
Serve a site over HTTPS with its own certificate, not the controller's
The site already answers over HTTPS, which is exactly the trap: the Ingress controller serves its own default certificate to anyone who asks. Terminate TLS with a certificate that actually names the host.
Graded on the state of the system attested 17 Nov 2026
Command to start it
dsoxlab start cks-ingress-tls -
Deny everything, then reopen the strict minimum, DNS included
A namespace where everything talks to everything. Close it completely in both directions, then reopen exactly two things: the one flow the application needs, and name resolution, which a default-deny egress breaks in a way nothing warns you about.
Graded on the state of the system attested 13 Nov 2026
Command to start it
dsoxlab start cks-networkpolicy-default-deny -
Make a container immutable without bringing it down
A running Deployment can still be written to from the inside. Make its root filesystem read-only, drop every capability, forbid escalation, and keep the application serving: nginx needs a few writable paths, and finding them is the exercise.
Graded on the state of the system attested 26 Nov 2026
Command to start it
dsoxlab start cks-security-context-immutable -
Take cluster-admin away from a service account, without stopping its work
A ServiceAccount holds cluster-admin because it was quicker. Take that power back and give it exactly what its application needs, no more. The proof is not the manifest: it is what the API server answers when that account asks.
Graded on the state of the system attested 13 Nov 2026
Command to start it
dsoxlab start cks-rbac-least-privilege -
Issue certificates with cert-manager and an internal CA
With cert-manager, issue a self-signed certificate, build an internal certificate authority and sign a service certificate with it, then diagnose and repair a certificate that stays not ready.
Graded on the state of the system attested 13 Nov 2026
Command to start it
dsoxlab start k8s-emettre-un-certificat-avec-cert-manager -
Find and remove what an attacker left behind
In a namespace where a scheduled workload quietly recreates an attacker's access, list what is scheduled, who holds which rights and what changed recently, record the culprit, remove it without touching the legitimate application, and prove the access does not come back.
Graded on the state of the system attested 14 Nov 2026
Open the guide (French) CKSKCSA
Command to start it
dsoxlab start k8s-detecter-une-persistance -
Contain a denial of service inside its namespace
A workload with no limits runs in a test namespace. Cap that namespace with a quota and default values, prove that a creation beyond the quota is refused and that a container declaring nothing is completed, bound the running workload, and check that an application of another namespace keeps answering while it runs.
Graded on the state of the system attested 14 Nov 2026
Open the guide (French) CKSKCSA
Command to start it
dsoxlab start k8s-contenir-un-deni-de-service -
Detect and contain a persistence and a denial of service
Without guidance, find what an attacker left to keep their access, record it and remove it for good without harming the legitimate application, then cap the namespace where an abusive workload runs, and prove that the cluster refuses what exceeds the cap while another application keeps answering.
Pass mark 70% attested 14 Nov 2026
Open the guide (French) CKSKCSA
Command to start it
dsoxlab start k8s-challenge-contenir-une-attaque -
Close the API server profiler, without closing the API
The API server exposes its Go profiler to anyone who can reach it, and a kubeadm cluster leaves it on. Close it and drop the CBC cipher suites, then prove both halves: the profiler answers 404, and the cluster still works.
Graded on the state of the system attested 21 Nov 2026
Command to start it
dsoxlab start cks-api-server-hardening -
Bring down a CIS audit count, and check it with a second audit
kube-bench audits a worker against the CIS benchmark and fails two checks on a stock kubeadm cluster. Fix these two checks, which share one cause, then prove it the only honest way: run the audit again and count.
Graded on the state of the system attested 21 Nov 2026
Command to start it
dsoxlab start cks-cis-benchmark-remediate -
Remove from a worker node what listens without serving Kubernetes
An old server template left three services on the worker k8s-w2.lab, each listening on every interface: rpcbind, an FTP server, and a forgotten HTTP debug tool that serves /etc. Remove them for good, without touching what the node needs to stay a Kubernetes node.
Graded on the state of the system attested 17 Nov 2026
Command to start it
dsoxlab start cks-reduire-la-surface-du-noeud -
Restrict who can log into a worker node, and with what rights
The second worker k8s-w2.lab accepts SSH from every account, with a password, and root may log in. An on-call account holds full sudo rights twice over. Reserve SSH to a named group, by key only, without locking yourself out, and cut the on-call account down to the one command it needs.
Graded on the state of the system attested 17 Nov 2026
Command to start it
dsoxlab start cks-restreindre-l-acces-au-noeud -
Close a worker node to the network, except the flows Kubernetes needs
The worker k8s-w2.lab has no firewall: every listening port answers the whole network. Write an nftables input chain with a drop policy that lets through SSH from administration, the kubelet and the network plugin from the nodes and the Pods, and nothing else, then make it survive a reboot without erasing the rules of kube-proxy and Calico.
Graded on the state of the system attested 17 Nov 2026
Command to start it
dsoxlab start cks-fermer-l-acces-reseau-au-noeud -
Close the API server and the kubelet to anonymous clients without breaking kubeadm join
On the control plane, an anonymous client reads the cluster objects, the kubelet answers it and lets it do anything, and the NodeRestriction admission plugin is gone. Leave anonymous access open to health checks and to the discovery that kubeadm join needs, and to nothing else.
Graded on the state of the system attested 17 Nov 2026
Command to start it
dsoxlab start cks-restreindre-l-acces-anonyme -
Harden a worker node and the access to the API server, without breaking the cluster
Without guidance, take a worker node delivered from an old server template down to what Kubernetes needs: superfluous services removed, SSH reserved to one group by key, a contractor account stripped of its rights, a kubelet closed to anonymous clients, a firewall that survives a reboot. Then restrict anonymous access to the API server without breaking the health probes or kubeadm join.
Pass mark 70% attested 22 Nov 2026
Command to start it
dsoxlab start k8s-challenge-durcir-les-noeuds-et-l-acces-api -
Confine a Pod with an AppArmor profile
Load an AppArmor profile on the node, apply it to a container through the securityContext field, and prove that the confinement holds by watching a write the profile forbids fail.
Graded on the state of the system attested 13 Nov 2026
Command to start it
dsoxlab start cks-apparmor-confiner-un-pod -
Deny a system call to a container, and check it from the inside
A container that may call anything the kernel offers. Write a seccomp profile that refuses one family of system calls, apply it, and prove the confinement holds: the forbidden call fails from inside, and everything else still works.
Graded on the state of the system attested 13 Nov 2026
Command to start it
dsoxlab start cks-seccomp-profile -
Reject a privileged Pod at admission, with Pod Security Admission
A namespace that accepts anything, including a Pod that shares the host's PID namespace and runs as root. Turn on the restricted standard so the cluster refuses it at admission, and prove the refusal without creating anything: a server-side dry run goes through admission and writes nothing.
Graded on the state of the system attested 26 Nov 2026
Command to start it
dsoxlab start cks-pod-security-admission -
Take over a privileged Pod in production, without stopping its work
A Pod runs with the host's process namespace, as root, privileged, from a floating tag. Rebuild it without any of that, and prove the difference where it is visible: from inside, the container no longer sees the host.
Graded on the state of the system attested 26 Nov 2026
Command to start it
dsoxlab start cks-secure-existing-pod -
Have the cluster itself reject an unpinned image, with no webhook
A namespace accepts any image, tag and all. Make the API server refuse the ones that are not pinned by digest, with a policy it evaluates itself: no webhook, no controller, nothing to keep running.
Graded on the state of the system attested 13 Nov 2026
Command to start it
dsoxlab start cks-validating-admission-policy -
Unblock a namespace, then validate and modify at admission without a webhook
No Pod can be created in the ateliers namespace any more. Find the webhook that blocks it and remove it, then have the API server itself add a default label and refuse privileged containers, in this namespace only.
Graded on the state of the system attested 23 Nov 2026
Command to start it
dsoxlab start k8s-valider-et-modifier-a-l-admission -
Install Gatekeeper, enforce a rule and read its audit
Install Gatekeeper, then make it refuse in the entrepot namespace every image that does not come from the registry the team allows, and let its audit find the Pod that was already running from another registry.
Graded on the state of the system attested 23 Nov 2026
Command to start it
dsoxlab start k8s-imposer-des-regles-avec-gatekeeper -
Enforce an admission rule and check the refusal, on your own and without hints
Without guidance, make the cluster refuse what breaks a security rule: the restricted Pod Security Standard on one namespace, a privileged Pod rebuilt without any of its flaws on another, and a native admission policy that refuses images designated by a tag on a third, without touching the rest.
Pass mark 70% attested 14 Nov 2026
Command to start it
dsoxlab start k8s-challenge-faire-refuser-par-admission -
Require mTLS in a mesh, and check it with a client left outside
A service mesh accepts plain traffic from anyone, inside the mesh or out. Require mutual TLS, and prove it the only way that counts: a Pod with a sidecar still reaches the service, a Pod without one no longer does.
Graded on the state of the system attested 13 Nov 2026
Command to start it
dsoxlab start cks-istio-mtls-lockdown -
Pin an image by digest, and check the tag is not enough
A Deployment that trusts a mutable tag. Pin it to the immutable digest of the image it actually runs, and prove the pin holds: the declared digest must match what the runtime resolved, not just look like one.
Graded on the state of the system attested 13 Nov 2026
Command to start it
dsoxlab start cks-image-pinned-digest -
Fix a Dockerfile static analysis refuses, without changing the application
A Dockerfile that builds and runs, and that static analysis rejects on five counts. Fix them all without changing what the image does, and prove it by running the analysis again: the five findings must be gone by their identifiers, not by a count that a new rule would break.
Graded on the state of the system attested 26 Nov 2026
Command to start it
dsoxlab start cks-dockerfile-static-analysis -
Sign an image, and check the signature by having another one refused
A local registry holds two images, neither signed. Sign one with cosign, publish the public key, and prove the chain works: the same key must accept the signed image and refuse the other. A verification that accepts everything proves nothing.
Graded on the state of the system attested 13 Nov 2026
Command to start it
dsoxlab start cks-cosign-verify-image -
Replace an image riddled with flaws, and check it with a second scan
A Deployment runs an image three years old. Scan it, pick a replacement, and prove the choice: the test scans both and demands strictly fewer critical findings than the original, which no fixed threshold could measure honestly.
Graded on the state of the system attested 13 Nov 2026
Command to start it
dsoxlab start cks-image-scanning-trivy -
Encrypt Secrets at rest in etcd and limit who reads them
The API server writes Secrets to etcd in clear text, and a ServiceAccount reads every Secret of its namespace. Encrypt Secrets at rest with secretbox, rewrite the ones already there, and reduce the ServiceAccount to the only Secret it needs.
Graded on the state of the system attested 23 Nov 2026
Command to start it
dsoxlab start k8s-chiffrer-les-secrets-au-repos -
Let only verified images in, on your own and without hints
Without guidance, pin a Deployment to its digest, clear a Dockerfile of its static analysis findings, sign an image and publish its public key, replace a vulnerable image with one a new scan proves less exposed, and make the cluster refuse at creation any image whose signature does not verify.
Pass mark 70% attested 14 Nov 2026
Command to start it
dsoxlab start k8s-challenge-livrer-une-image-verifiee -
Record who reads Secrets, and only the metadata of everything else
The cluster keeps no trace of who reads what. Give the API server an audit policy with two levels, full bodies for Secrets and metadata for everything else, and prove it works by reading the log the cluster has just written.
Graded on the state of the system attested 13 Nov 2026
Command to start it
dsoxlab start cks-audit-log-policy -
Fix a cluster's CIS findings, on your own and without hints
Without guidance, harden the API server of a kubeadm cluster, fix the finding the CIS audit holds against three control plane components, prove it by running kube-bench again, then give the API server a two-level audit policy and show the trace it writes.
Pass mark 70% attested 14 Nov 2026
Command to start it
dsoxlab start k8s-challenge-durcir-le-plan-de-controle -
Make Falco raise an alert on a shell opened in a protected namespace
Falco runs on the control plane with its shipped rules only. Write the rule the security team asks for: an alert of priority CRITICAL, under an exact name, as soon as a shell starts in a container of the namespace paiements, and nowhere else. The shipped rules must stay untouched.
Graded on the state of the system attested 16 Nov 2026
Command to start it
dsoxlab start cks-falco-detecter-un-shell -
Isolate a Pod from the host kernel, and check it by reading its kernel version
The node offers a second container runtime that runs an application kernel of its own. Put a Pod inside it, and prove the isolation the only way that cannot be faked: from inside, the kernel version is no longer the node's.
Graded on the state of the system attested 13 Nov 2026
Command to start it
dsoxlab start cks-runtime-sandbox-gvisor -
Confine a Pod and detect abnormal activity, on your own and without hints
Without guidance, confine Pods against the kernel with AppArmor, seccomp and a sandbox runtime, require mutual TLS in a mesh, close a namespace by default while keeping its application flow and DNS, and make Falco raise an alert when a shell opens in the protected namespace, and only there.
Pass mark 70% attested 15 Nov 2026
Command to start it
dsoxlab start k8s-challenge-confiner-et-detecter -
Observe a sensitive file being read with Tetragon, then block it
An API key mounted from a Secret is read by one of the Pods of the namespace comptes. Make Tetragon see these reads, find which Pod and which binary read the key from its events, then switch the policy to blocking: the read is killed, and nothing else is.
Graded on the state of the system attested 21 Nov 2026
Command to start it
dsoxlab start k8s-observer-et-bloquer-avec-tetragon -
Level 5 test: secure a cluster
From a weak inherited state and requirements that name no Kubernetes object, secure the cluster hosting the shop: harden its control plane, trace Secret reads, have the cluster refuse what breaks a rule, take back a privileged Pod, confine workloads against the kernel, require mutual TLS and close the network by default, detect a network tool, and let in only a pinned, signed and scanned image, while the shop keeps answering.
Pass mark 70% attested 18 Nov 2026
Command to start it
dsoxlab start k8s-epreuve-securiser-un-cluster -
Capstone: open an enclave for a team you do not trust
An outside team needs room in your cluster. Give them one that stays safe even if they are not: the cluster itself must refuse what they should not deploy, their identity must be able to do almost nothing, and nothing outside the enclave may reach what runs inside it.
Pass mark 66% attested 13 Nov 2026
Command to start it
dsoxlab start cks-capstone-enclave -
CKS mock exam: 16 tasks in 120 minutes
A timed mock exam in the CKS format: sixteen tasks spread like the six official domains, on one kubeadm cluster, each task on the host it names, reached by ssh, graded on the cluster's final state, no hint. Plan for 120 minutes.
Pass mark 67% attested 17 Nov 2026
Command to start it
dsoxlab start cks-examen-blanc
Advanced networking (CKNE)
15
-
Install Cilium without kube-proxy
Initialise a kubeadm cluster without kube-proxy, join two workers, install Cilium 1.20.5 with Helm as the kube-proxy replacement on a chosen Pod address pool, then prove that a Service is served by Cilium and not by iptables rules.
Graded on the state of the system attested 18 Nov 2026
Command to start it
dsoxlab start k8s-installer-cilium-sans-kube-proxy -
Capture the traffic of a Pod and name the cause of each failure
Three client Pods of the namespace boutique fail to reach their service, each one in a different way, and their logs only say "failed". Find the interface of each Pod on its node, capture its traffic with tcpdump (on the host interface, inside the Pod network namespace with nsenter, or from an ephemeral container with kubectl debug), bring the captures back to the control plane, and name the cause of each failure from the packets: refused, dropped or DNS. Nothing is to be repaired.
Graded on the state of the system attested 16 Nov 2026
Command to start it
dsoxlab start k8s-capturer-le-trafic-d-un-pod -
Attach a second network interface to a Pod with Multus
On a Cilium cluster without kube-proxy, let Cilium share the CNI configuration, install Multus 4.3.2 in thick mode, describe a macvlan network with a NetworkAttachmentDefinition, give two Pods on two nodes a second interface each, and prove an exchange over that second network.
Graded on the state of the system attested 18 Nov 2026
Command to start it
dsoxlab start k8s-attacher-une-seconde-interface -
Audit network flows with Hubble
Find with Hubble the flow a NetworkPolicy refuses and record it, give the Hubble drop metric the context that makes it name the Pod, and log only the refused flows to a file on the node, without lifting the refusal.
Graded on the state of the system attested 18 Nov 2026
Command to start it
dsoxlab start k8s-auditer-les-flux-avec-hubble -
Find, count and log refused flows with Hubble
Without guidance, find with Hubble the flow an egress policy refuses and on which node, make the drop metric name its source and destination, and log the refusals of one namespace only to a file on the node, without lifting the refusal.
Pass mark 70% attested 21 Nov 2026
Command to start it
dsoxlab start k8s-challenge-retrouver-les-flux-refuses -
Announce Pods and Services to a router with BGP
On a Cilium cluster without kube-proxy, turn on the BGP control plane, peer the three nodes with an external FRR router, announce the Pod networks and the LoadBalancer address of a Service, and reach that Service from the router through the route it learnt.
Graded on the state of the system attested 18 Nov 2026
Command to start it
dsoxlab start k8s-annoncer-un-service-en-bgp -
Send a Pod's traffic out through an egress gateway
On a Cilium cluster without kube-proxy, turn on the egress gateway with the BPF masquerading it requires, designate a gateway node, and write a policy that makes one Pod, and only that one, reach an external server through that node.
Graded on the state of the system attested 18 Nov 2026
Command to start it
dsoxlab start k8s-faire-sortir-le-trafic-par-une-passerelle -
Repair, open, route out and audit the flows of a Cilium cluster, on your own and without hints
Without guidance, on a Cilium cluster without kube-proxy: bring back a Service that serves nobody without reinstalling kube-proxy, open a single flow between two namespaces, route the outbound traffic of a namespace through a chosen exit node, and name the flow a policy still refuses, as Hubble records it.
Pass mark 70% attested 18 Nov 2026
Command to start it
dsoxlab start k8s-challenge-reseau-avance -
Connect two clusters with Cilium ClusterMesh
Two single-node Cilium clusters share the same certificate authority. Connect them with ClusterMesh, make a Service global on both sides, and prove that a Pod of the first cluster reaches the backends of both.
Graded on the state of the system attested 18 Nov 2026
Command to start it
dsoxlab start k8s-relier-deux-clusters -
Serve an Istio Gateway over HTTPS with a cert-manager certificate
On a cluster running Istio in ambient mode, request a certificate from cert-manager in the namespace of the Gateway, declare an HTTPS listener that presents it, attach a route, and prove that the listener serves the issued certificate, signed by the internal CA, to a real HTTPS client.
Graded on the state of the system attested 15 Nov 2026
Command to start it
dsoxlab start k8s-servir-une-gateway-en-https -
Trace a slow request through the Istio mesh
On a cluster running Istio in ambient mode, send the traces of a waypoint to an OpenTelemetry collector and Jaeger, find why no span arrives, make the application forward the trace context, and name the slow service from a single trace.
Graded on the state of the system attested 18 Nov 2026
Command to start it
dsoxlab start k8s-tracer-une-requete-lente -
Route inference requests by replica load with the Gateway API Inference Extension
Behind an Istio Gateway, group three replicas of a simulated model server in an InferencePool driven by an endpoint picker, route completion requests to it, and prove that the requests avoid the saturated replica that a plain Service would keep feeding.
Graded on the state of the system attested 15 Nov 2026
Command to start it
dsoxlab start k8s-router-des-requetes-d-inference -
Serve a Gateway and filter at L7 with Cilium
On a Cilium cluster without kube-proxy, turn on Cilium's Gateway API, serve an application through a Gateway, then write a policy that lets clients read it and refuses writes at the HTTP level, without cutting the Gateway.
Graded on the state of the system attested 18 Nov 2026
Command to start it
dsoxlab start k8s-filtrer-en-l7-avec-cilium -
Level 6 test: expose and protect a service on Cilium
On the Cilium cluster, expose the shop's vitrine over HTTPS through a Gateway served by Cilium, let clients read it without writing, cut what has no business there, encrypt the traffic between nodes, and name from Hubble the request your policy refuses.
Pass mark 70% attested 18 Nov 2026
Command to start it
dsoxlab start k8s-epreuve-reseau-avance -
Capstone: link two sites, announce a Service to the network and serve it over HTTPS
Two sites, two clusters, one shop. Make the shop answer from both sites and survive the loss of one, give the network team's router an address it learns by itself, and serve the shop over HTTPS under its public name with a certificate from the internal authority, plain HTTP being redirected.
Pass mark 70% attested 18 Nov 2026
Command to start it
dsoxlab start ckne-capstone-relier-deux-sites
GitHub Actions
GitHub Actions
Add this catalogue dsoxlab catalog add https://github.com/stephrobert/github-actions-training
Writing your first workflow
1
-
First workflow: the tests run on every push, and a broken test turns the pipeline red
A small Python library with nine tests that nobody runs before merging. Write the workflow that runs them on every push and pull request, with minimal permissions and pinned actions, and prove it by breaking a test.
Graded on the state of the system attested 19 Oct 2026
Command to start it
dsoxlab start fondations-premier-workflow
Python, automation
Python, automation
Add this catalogue dsoxlab catalog add https://github.com/stephrobert/python-dsoxlab-training
Automation: a security tool, step by step
7
-
Read a scanner report: count the vulnerabilities by severity
A scanner exports its findings as JSON and nobody reads the file. Write version 1 of security_check.py: it reads the report, prints how many findings there are per severity, and refuses a missing file or broken JSON in one clear line, with exit code 2.
Graded on the state of the system attested 19 Oct 2026
Command to start it
dsoxlab start automatisation-lire-un-rapport -
Query the OSV API: what is known about each package of the report
The report says which findings the scanner saw; the OSV database says what is known about each package. Add --osv to security_check.py: one request per package, a maximum delay, and an API outage reported in one line with exit code 2, never a hang or a traceback.
Graded on the state of the system attested 19 Oct 2026
Command to start it
dsoxlab start automatisation-interroger-osv -
Read a real Trivy report: nested results, missing keys and duplicates
Trivy does not export a flat list: it nests vulnerabilities under each scanned target, omits the key when a target is clean, and repeats a flaw found in two files. Teach security_check.py to read this real format and count each vulnerability once.
Graded on the state of the system attested 19 Oct 2026
Command to start it
dsoxlab start automatisation-rapport-trivy -
An exit code a pipeline can act on: --fail-on with Click
A pipeline does not read what a tool prints, it reads its exit code. Move security_check.py to Click and add --fail-on: 0 when nothing reaches the threshold, 1 when it is reached, 2 for unusable input. Three codes a CI job can tell apart.
Graded on the state of the system attested 19 Oct 2026
Command to start it
dsoxlab start automatisation-code-de-sortie -
Test your own tool: a pytest suite that catches four real bugs
A tool that decides whether a pipeline stops must not change behaviour unnoticed. Write the pytest suite of security_check.py. It is graded on what it catches: it must pass on the correct tool and fail on four mutants, each carrying one realistic bug.
Graded on the state of the system attested 19 Oct 2026
Command to start it
dsoxlab start automatisation-tester-son-outil -
A security gate in the pipeline: security_check.py in GitHub Actions
The tool is finished and tested; now it must guard the branch. Write the GitHub Actions workflow that runs the tool's tests, then applies the CRITICAL threshold to the scanner report, on every push and pull request, with read-only permissions and pinned actions. act plays it locally.
Graded on the state of the system attested 19 Oct 2026
Command to start it
dsoxlab start automatisation-dans-la-ci -
Read an SBOM: cross a CycloneDX inventory with the OSV database
An SBOM lists what you ship, not what is vulnerable in it. Teach security_check.py to read a real CycloneDX SBOM produced by syft, query OSV for each PyPI component, turn every known vulnerability into a finding with the severity of its GitHub advisory, and apply the same threshold.
Graded on the state of the system attested 19 Oct 2026
Command to start it
dsoxlab start automatisation-lire-un-sbom
DevSecOps, the notes-api common thread
DevSecOps, the notes-api common thread
Add this catalogue dsoxlab catalog add https://github.com/stephrobert/devsecops-dsoxlab-training
The notes-api common thread, V0 to V11
13
-
V0, a minimal pipeline: notes-api tested on every push
The common thread of the DevSecOps course starts here. notes-api, a small Flask service, has tests but no pipeline. Write the GitHub Actions workflow that installs the locked dependencies and runs the tests on every push and pull request. act plays it locally.
Graded on the state of the system attested 19 Oct 2026
Command to start it
dsoxlab start capstone-v00-pipeline-minimal -
V1, a threat model: STRIDE on notes-api, checked by the pipeline
notes-api now has a pipeline, but nobody wrote down what can go wrong. Write its STRIDE threat model, confront it with the real routes of the code, and make the pipeline refuse a model left incomplete. The SQL injection the code carries must be named, and stay open until the next version fixes it.
Graded on the state of the system attested 19 Oct 2026
Command to start it
dsoxlab start capstone-v01-modele-de-menace -
V2, blocking secret scanning and SAST: two gates, and the injection fixed
notes-api's threat model names a SQL injection that is still open. Add two blocking gates to the pipeline, a secret scanner and a static analysis, then fix the injection they would stop, prove the fix with a regression test, and update the threat model. An injected secret or a new concatenated query must turn the pipeline red.
Graded on the state of the system attested 19 Oct 2026
Command to start it
dsoxlab start capstone-v02-secrets-et-sast -
V3, dependency scanning and triage: fix what can be fixed, date what cannot
notes-api's lock carries eight known vulnerabilities, and its pipeline sees none of them. Add a blocking dependency scan, upgrade the packages that have a fixed version, and triage the one that has no fix: a written reason and an expiry date in osv-scanner.toml. The vulnerable lock, or an expired exception, must turn the pipeline red.
Graded on the state of the system attested 19 Oct 2026
Command to start it
dsoxlab start capstone-v03-sca-et-triage -
V4, an identity without a secret: OIDC instead of a stored key
notes-api is published by a deploy job that holds a long-lived AWS access key in the repository secrets. Replace it with an OIDC exchange: only the deploy job may request a token, only a push on main deploys, and the role's trust policy accepts a token from main of acme/notes-api and nothing else. The IAM user and its key leave the infrastructure code.
Graded on the state of the system attested 19 Oct 2026
Command to start it
dsoxlab start capstone-v04-identite-sans-secret -
V5, a hardened pipeline: workflows audited, pull requests contained
A new workflow welcomes each pull request: it runs on pull_request_target, checks out the proposed code and runs it with a write token, and pastes the title into a shell script. Add an audit of every workflow to the pipeline, zizmor for security and actionlint for syntax, both blocking; rewrite the welcome workflow so it executes nothing from the pull request; and require the security team's review on the workflows, the infrastructure and the security decisions with CODEOWNERS.
Graded on the state of the system attested 19 Oct 2026
Command to start it
dsoxlab start capstone-v05-pipeline-durci -
V6, the image and the infrastructure: what you ship besides the code
notes-api ships an image that runs as root, built from an unpinned base with versions copied by hand, and an infrastructure that opens SSH to the world and leaves its buckets without a public access block. Add a blocking Trivy analysis of the configuration and of the built image to the pipeline, then harden the Dockerfile (pinned base, locked dependencies, no dev tools, unprivileged user) and the Terraform until the gates pass.
Graded on the state of the system attested 19 Oct 2026
Command to start it
dsoxlab start capstone-v06-image-et-iac -
V7, SBOM and provenance: know what ships, prove where it comes from
notes-api publishes an archive that nobody can trace: no inventory of what the image carries, no proof of which pipeline built it. Produce the SBOM of the built image and confront it with uv.lock using the team's tool, so that a package installed outside the lock turns the pipeline red; attest the provenance of the published archive from the deploy job; and write the check that refuses to deploy an archive not built by ci.yml from main.
Graded on the state of the system attested 19 Oct 2026
Command to start it
dsoxlab start capstone-v07-sbom-et-provenance -
V8, admission: the cluster refuses what the platform did not sign
notes-api now runs in a Kubernetes cluster, and the cluster starts any image a manifest names. Write the Kyverno admission policies of the notes-api namespace: only images from the internal registry, signed with the platform key, are admitted; an unsigned image, an image signed with another key, or an image from another registry is refused, a Deployment included, without blocking the rest of the cluster.
Graded on the state of the system attested 19 Oct 2026
Command to start it
dsoxlab start capstone-v08-admission-signee -
V9, a contained runtime: restricted pods and closed network
notes-api runs in its namespace with default settings: a process that may escalate its privileges, keeps its capabilities, mounts an API token, and a pod that can reach any other pod. Enforce the restricted Pod Security Standard on the namespace, harden the Deployment until it passes it, and write the network policies that only let the ingress controller in and DNS out. The checks build your image and measure the real traffic.
Graded on the state of the system attested 19 Oct 2026
Command to start it
dsoxlab start capstone-v09-runtime-cloisonne -
V9b, runtime detection: Falco watches notes-api on a real machine
V9 closed the pod; it does not say when someone gets in anyway. On an Ubuntu machine, notes-api runs in Docker under Falco, with its modern eBPF probe. Write the Falco rules of notes-api: a shell opened in its container, and a write into its code, must each raise an alert that names the container and the command; the application's normal activity and a shell in another container must raise none. The rules must survive a restart.
Graded on the state of the system attested 19 Oct 2026
Command to start it
dsoxlab start capstone-v09b-detection-falco -
V10, VEX and dated exceptions: every accepted finding is written down
The team raises the bar to MEDIUM. Three configuration findings come up, and pip 25.0.1 of the base image carries vulnerabilities that the scanners of the released images keep reporting. Fix what can be fixed, remove pip from the image, accept the rest as dated exceptions with their reason, and publish a VEX document that tells the operators of the previous releases that pip does not affect notes-api. An expired exception turns the pipeline red again.
Graded on the state of the system attested 19 Oct 2026
Command to start it
dsoxlab start capstone-v10-vex-et-exceptions -
V11, measuring reliability: an SLO that pages, a runbook, the DORA metrics
notes-api is secured end to end, but nothing tells the team it is down before its users do. Write the availability SLO as a Prometheus alert that pages when the error budget burns 14.4 times too fast, with its unit tests; the runbook the alert links to; and the script that computes the four DORA metrics from the deployment and incident journals. The pipeline checks the alert and recomputes the metrics on every pull request.
Graded on the state of the system attested 19 Oct 2026
Command to start it
dsoxlab start capstone-v11-slo-et-dora
Cloud, practising without an account
Cloud, practising without an account
Add this catalogue dsoxlab catalog add https://github.com/stephrobert/cloud-dsoxlab-training
Practising without an account
5
-
Challenge 1: an architecture on a tight budget
An environment is already deployed on the feint emulator, drawn at random. Read it with the official scw CLI, cost it on the dated price grid provided, say whether it fits the budget and name what is billed for nothing. No procedure: graded on the estimate, recomputed from the real state.
Graded on the state of the system attested 13 Nov 2026
Command to start it
dsoxlab start pratiquer-challenge-budget-contraint -
Estimate a cloud architecture's monthly cost
Calculate a monthly estimate from an architecture brief and a dated, synthetic price grid, including compute, storage, requests and egress.
Graded on the state of the system attested 13 Nov 2026
Command to start it
dsoxlab start estimer-cout-mensuel -
Choose a managed data service
Select a data service for a transactional workload, justify managed versus self-managed operation, and specify private access, recovery and failover.
Graded on the state of the system attested 13 Nov 2026
Command to start it
dsoxlab start choisir-service-donnees -
Design an elastic application tier
Document the stateless and operational prerequisites for horizontal scaling, then prove the planned capacity still meets peak demand after one instance is lost.
Graded on the state of the system attested 13 Nov 2026
Command to start it
dsoxlab start concevoir-elasticite -
Choose a cloud service and deployment model
Select a service model and deployment model for a workload, then state the responsibilities that remain with the provider and the team.
Graded on the state of the system attested 13 Nov 2026
Command to start it
dsoxlab start pratiquer-choisir-modele-cloud
Bootstrapping a machine
1
-
A first clean VM: booted by cloud-init, with no public address
Write the user-data of a first machine, boot an Incus virtual machine with it on a private network, and prove from the machine itself that the user, the packages and the file came from cloud-init alone. Then destroy it.
Graded on the state of the system attested 13 Nov 2026
Command to start it
dsoxlab start amorcer-premiere-vm-propre
Cloud networking
2
-
Private network, and first instances with no public address: scw on Feint
With the official scw CLI plugged into the feint emulator, build a regional VPC and Private Network, two instances with no public IP in two zones, one private NIC per zone, and a Public Gateway that pushes the default route. Graded on the state feint holds, never on the commands typed.
Graded on the state of the system attested 13 Nov 2026
Command to start it
dsoxlab start reseau-prive-scaleway -
Private network, and first instances with no public address: octl on Feint
With the official octl CLI plugged into the feint emulator, build a regional Net with one subnet per Subregion, two VMs with no public IP in two Subregions, an Internet Service, a NAT Service and the two route tables that send private traffic out through the NAT. Graded on the state feint holds.
Graded on the state of the system attested 13 Nov 2026
Command to start it
dsoxlab start reseau-prive-outscale
Cloud architecture decisions
5
-
Decide on a target cloud architecture
Compare two complete cloud architecture options against six explicit axes, select the option that meets the hard requirements, and record the decision and accepted risk as an ADR.
Graded on the state of the system attested 13 Nov 2026
Command to start it
dsoxlab start concevoir-architecture-cible -
Design a cloud identity and access model
Design provider-neutral human identity, access lifecycle, separation of duties, emergency access and audit-log requirements for a cloud environment.
Graded on the state of the system attested 13 Nov 2026
Command to start it
dsoxlab start concevoir-modele-acces -
Turn architecture findings into a prioritised action plan
Write verifiable architecture recommendations, rank them by risk and effort, and schedule the work within the team's capacity and dependencies.
Graded on the state of the system attested 13 Nov 2026
Command to start it
dsoxlab start concevoir-recommander-evolutions-architecture -
Defend a cloud architecture review with evidence
Review a customer-portal architecture against six explicit axes, support every score with evidence, rank the main risks, and record decisions and accountable actions.
Graded on the state of the system attested 13 Nov 2026
Command to start it
dsoxlab start defendre-revue-architecture -
Choose a compute model and size it from measurements
Select a compute model for a continuously running workload, then size a compatible machine from a week's p95 CPU and memory measurements.
Graded on the state of the system attested 13 Nov 2026
Command to start it
dsoxlab start choisir-modele-calcul
CI/CD, the model before the tool
CI/CD, the model before the tool
Add this catalogue dsoxlab catalog add https://github.com/stephrobert/cicd-dsoxlab-training
A first CI, for Development for Ops
1
-
certcheck's CI: six stages, a red run, a fix
Read the pipeline provided with certcheck, a small Python tool: fetch the code, prepare Python, install the dependencies, check quality, run the tests, build the package. Repair main, which is red at the quality stage, then make a test fail and the formatting fail in a pull request, read each red run, reproduce it locally and fix it.
Graded on the state of the system attested 14 Oct 2026
Command to start it
dsoxlab start ci-certcheck
The model before the tool
3
-
Stages in the repository, a pipeline that orchestrates them
Run lint, tests and build as make targets, write the pipeline that only calls them on a push to main and on a pull request, watch it go green, then red on a broken test, and reproduce the failure locally.
Graded on the state of the system attested 31 Oct 2026
Command to start it
dsoxlab start etapes-et-declencheurs -
Build once, publish, find it again by its digest
Publish the artifact the pipeline has just built and tested to the forge registry, on a version tag only, with a dedicated token kept as a secret; then find the published version again and check it by its SHA-256 digest.
Graded on the state of the system attested 14 Oct 2026
Command to start it
dsoxlab start artefacts -
Promote the same artifact from staging to production, then roll back
Write the on-demand deployment pipeline, deploy a published version to staging, promote the very same artifact to production without rebuilding it, then roll production back to the previous version; each environment keeps its own configuration.
Graded on the state of the system attested 31 Oct 2026
Command to start it
dsoxlab start environnements-promotion
Level exam
1
-
Level exam: repair a broken delivery chain
A repository whose pipeline lies: a failing test is ignored, the steps cannot be replayed locally, a secret leaks into the logs, every branch publishes, and deployment rebuilds the artifact. Make the chain honest and green, publish a corrected version, promote the very same artifact to production, and list the risks you found.
Graded on the state of the system attested 31 Oct 2026
Command to start it
dsoxlab start level-exams-chaine
Development for Ops
Development for Ops
Add this catalogue dsoxlab catalog add https://github.com/stephrobert/dev-pour-ops-dsoxlab-training
The common thread: read, modify, test and review a small tool
6
-
Read and modify a small Python script: the inherited certcheck
A small inherited Python script checks certificate expiry every night, and nobody on the team wrote it. Say what it does, find its inputs and the function that decides, read what it prints and its exit code, then make two simple changes: an inclusive threshold, and an expired status.
Graded on the state of the system attested 24 Oct 2026
Command to start it
dsoxlab start lire-du-code -
Understand a Python tool, then modify it: certcheck and its contract
certcheck has become a Python project: a package in src layout, declared in pyproject.toml, run by bin/certcheck. Find where the command is declared, where the decision lives, which file cron runs and which exit codes it returns, then close two gaps with its contract: read the threshold from CERTCHECK_DAYS, and write errors on stderr.
Graded on the state of the system attested 24 Oct 2026
Command to start it
dsoxlab start script-en-outil -
Dependencies: certcheck installs elsewhere too
A colleague moved certcheck to the cryptography and requests libraries, installed them by hand in his virtual environment, and declared nothing: "works on my machine". Step by step: declare both dependencies, pin their versions, note the Python version, and prove that a fresh environment installs the tool from the project files alone. Needs network access to PyPI.
Graded on the state of the system attested 24 Oct 2026
Command to start it
dsoxlab start dependances-reproductibles -
Use the tests: a red test, read, fixed, and one more test
certcheck has four tests, and one of them is red. Run the suite, read which test fails and what its assertion compares, fix the code (not the test), run it again until green, then add one test by copying a model: it must catch a new bug that the four tests let through.
Graded on the state of the system attested 24 Oct 2026
Command to start it
dsoxlab start tester-une-automatisation -
Debug step by step: the certificate certcheck cannot read
A ticket says certcheck reports vpn-01 as unreadable while openssl reads its certificate fine. Guided step by step: reproduce the bug with a test that fails, look at the faulty value with print or pdb, fix it without breaking the rest of the contract, keep the test, and write down what you saw, the cause and the fix.
Graded on the state of the system attested 24 Oct 2026
Command to start it
dsoxlab start deboguer -
Review a pull request: four defects in certcheck #42
A colleague proposes pull request #42 on certcheck: purging old reports and notifying the chat. Its tests are green. Read the diff as it would be merged, find at least three of its four defects (swallowed error, printed secret, dangerous path, missing test), comment each with a concrete fix, decide, then version a ruff configuration and make ruff check pass.
Graded on the state of the system attested 24 Oct 2026
Command to start it
dsoxlab start relire-une-automatisation
Going further
7
-
Normalize JSON and YAML service inventories
Build a deterministic Go converter for JSON and YAML service inventories. Normalize dates and keys, reject invalid records, and never leave a partial output behind when an input is invalid.
Graded on the state of the system attested 24 Oct 2026
Command to start it
dsoxlab start data-json-yaml -
Enforce a deployment contract with JSON Schema
Parse JSON strictly, then write a JSON Schema for a deployment document. Require fields and exact types, constrain values, reject unknown properties, and report invalid data with a useful JSON path.
Graded on the state of the system attested 24 Oct 2026
Command to start it
dsoxlab start json-schema -
Validate a YAML service policy before deployment
Build a validator that separates YAML syntax errors, schema violations, and operational policy errors. Return clear diagnostics and a non-zero status so CI can stop an unsafe deployment.
Graded on the state of the system attested 24 Oct 2026
Command to start it
dsoxlab start yaml-validation -
Build a small, predictable Go CLI
Implement a Go command-line tool with subcommands, help, clear errors, and configuration loaded from JSON with environment-variable overrides. Test the commands and build one standalone executable.
Graded on the state of the system attested 24 Oct 2026
Command to start it
dsoxlab start go-cli -
Call an API with requests: certcheck opens its ticket
certcheck must open a ticket on the forge when certificates are due. Step by step, with the requests library declared and pinned in the project: the token in the Authorization header and never in the URL, a timeout on each request, an HTTP error turned into exit code 3 with a clear message, the ticket created with the right title, and no duplicate when it is already open. Graded on the requests received by a fake forge.
Graded on the state of the system attested 24 Oct 2026
Command to start it
dsoxlab start appeler-une-api -
Ship a tool: certcheck 1.0.0, versioned and installable
certcheck declares its dependencies; it now has to be shipped, without publishing anything. Step by step: version 1.0.0 written once in pyproject.toml and shown by --version, a CHANGELOG section for 1.0.0, a Git tag v1.0.0, then proof that a fresh environment installs the tool, from the working directory and from a clone of the tag. Needs network access to PyPI.
Graded on the state of the system attested 24 Oct 2026
Command to start it
dsoxlab start livrer-un-outil -
Challenge: take over an operations tool
You inherit certcheck.sh, a Bash script that counts a missing certificate as "0 days" and always exits 0, its written contract, and a colleague's pull request to review. Replace it with the Python project whose skeleton is provided (pyproject.toml, uv.lock, a package under src/ with functions to write): an implementation that honours the contract, its own pytest suite that catches the inherited bug, an installable package, a version recorded in the CHANGELOG and tagged in Git, and the review. Graded on the contract with hidden tests, without hints.
Pass mark 70% attested 24 Oct 2026
Command to start it
dsoxlab start level-exams-outil
Level exams
1
-
Exam: step in on a small operations tool
A small Python operations tool, a recent change that introduced a defect, and a red CI run. Clone the repository, read the code and say what it does, read the CI log to find the failing step, find the file holding the defect, make a limited fix, then get the tests, the quality checks and the CI steps back to green. Graded as a black box, without hints.
Pass mark 70% attested 24 Oct 2026
Command to start it
dsoxlab start level-exams-intervenir
MLOps, reproduce, ship and operate a model
MLOps, reproduce, ship and operate a model
Add this catalogue dsoxlab catalog add https://github.com/stephrobert/mlops-dsoxlab-training
Level 1: reproduce
6
-
Make a training run reproducible
A colleague's training script gives different metrics on every run, and nobody knows which library versions it needs. Find where the variation comes from, pin it, and prove it: two trainings give the same metrics. Graded on the real state of the project (versioned files, lock, data fingerprint, metrics), never on the commands typed.
Graded on the state of the system attested 19 Oct 2026
Command to start it
dsoxlab start m1-projet-reproductible -
Get back the exact version of a dataset
The dataset was regenerated last week and nobody kept the previous one: the model trained on it can no longer be rebuilt. Put the data under DVC with an S3 remote (Garage), keep two versions, and prove a clean clone gets the exact bytes back, in any version. Graded on the Git repository, the bucket content and file fingerprints, never on the commands typed.
Graded on the state of the system attested 19 Oct 2026
Command to start it
dsoxlab start m1-dvc-donnees -
Replay a training with a DVC pipeline
Data generation and training are two scripts run by hand, in an order nobody wrote down. Describe them as a DVC pipeline, replay it on a clean clone and get the same metrics, then check that changing one parameter only replays the stage it touches. Graded on dvc.yaml, the bucket, the metrics and what DVC really reruns, never on the commands typed.
Graded on the state of the system attested 19 Oct 2026
Command to start it
dsoxlab start m1-dvc-pipeline -
Find which run produced a model with an MLflow server
A training script keeps no trace of its attempts. Plug it into an MLflow server backed by PostgreSQL and the S3 bucket of the stack, log parameters, metrics, the model, the Git commit and the data fingerprint, then find the run that produced the model of a given version. Graded on the runs stored on the server, the model files in the bucket and the rows in PostgreSQL, never on the commands typed.
Graded on the state of the system attested 19 Oct 2026
Command to start it
dsoxlab start m1-mlflow-serveur -
Designate a model by alias in the MLflow registry
Two trainings leave two models identified by opaque ids. Register them in the MLflow registry, point the aliases champion and challenger at the right versions, then load a model by alias with no path in the code. Graded on the versions and aliases held by the server, their lineage back to the runs, and a script that really loads the model, never on the commands typed.
Graded on the state of the system attested 19 Oct 2026
Command to start it
dsoxlab start m1-registre-alias -
Refuse a worse model and broken data with pytest
A model is promoted because its metric looks fine, on data nobody checked. Write a pytest suite that checks the data (schema, bounds) and the model (a metric threshold read from a versioned file, a comparison with the champion), and that fails on a broken dataset and on a worse model. Graded by replaying your suite on datasets and models the check builds itself, never on the commands typed.
Graded on the state of the system attested 19 Oct 2026
Command to start it
dsoxlab start m1-tests-modele
Level exams
1
-
Exam: make a model reproducible and traceable
You receive the starting repository of the thread: a data generator, a training script and its parameters, and nothing else. Deliver a model anyone can rebuild and trace: versioned data in the S3 store, a pipeline that replays to the same metric on a fresh clone, a run on the MLflow server that carries the commit and the data fingerprint, the model registered with the alias challenger, and a pytest suite that refuses the two broken datasets provided, a model above the metric threshold and a candidate worse than the champion. Graded as a black box on the state of the repository and of the servers, without hints.
Pass mark 70% attested 19 Oct 2026
Command to start it
dsoxlab start e1-reproduire
Databases, administering PostgreSQL
Databases, administering PostgreSQL
Add this catalogue dsoxlab catalog add https://github.com/stephrobert/bdd-dsoxlab-training
PostgreSQL, level 1: put a safe database into service
5
-
Install PostgreSQL 18 from the PGDG repository
Put a PostgreSQL 18 instance into service on a bare Debian 13 machine, from the project's own package repository and not from the distribution's. Graded on what the machine really runs: the repository and its key, the installed version, the cluster that starts at boot, the data checksums and the addresses the server listens on.
Graded on the state of the system attested 20 Oct 2026
Command to start it
dsoxlab start pg-01-installer -
Drive a PostgreSQL instance with psql, over both socket and TCP
Connect to a running instance two ways, read its real settings and catalog, and create the objects a service needs. Graded on the machine's state: the listening addresses, a `.pgpass` whose permissions psql will actually honour, a password-free TCP connection, the objects really present in the catalog, and a report whose values are compared with what the server answers.
Graded on the state of the system attested 20 Oct 2026
Command to start it
dsoxlab start pg-02-psql-admin -
Configure memory, connections and logs, and know what reloads
Set the parameters an exploitable instance needs, then apply them without cutting a single session. Graded on what the server really answers: the reloadable parameters must be EFFECTIVE and not merely written, the postmaster-context one must be written and still pending, and the server must not have been restarted. A reload never reports a parameter that stayed without effect: only `pending_restart` says so.
Graded on the state of the system attested 21 Oct 2026
Command to start it
dsoxlab start pg-03-configurer -
Refuse cleartext connections and apply least privilege
Put a dedicated certificate in place, make the server REFUSE an unencrypted network connection, and cut the application's rights down to what it needs. Graded on behaviour, not on files: a cleartext connection must fail and an encrypted one must succeed, and the privileges are read from the catalog. On Debian `ssl = on` is already set, so turning it on proves nothing: what counts is that `host` becomes `hostssl`.
Graded on the state of the system attested 20 Oct 2026
Command to start it
dsoxlab start pg-04-securiser -
Back up a database logically, and prove the backup restores
Produce a custom-format dump, capture the cluster-global roles that `pg_dump` leaves out, then restore into a verification database and compare it with the original. Graded on the restored content, not on a file's existence: an untested backup is not a backup.
Graded on the state of the system attested 20 Oct 2026
Command to start it
dsoxlab start pg-05-sauvegarder
PostgreSQL, level 2: protect and run
3
-
Make the server observable, read a plan, and reclaim dead space
Load `pg_stat_statements`, then fix a query the planner reads sequentially, and reclaim the space deletions left dead. Graded on the PLANNER's answer and on the table's state, never on the presence of an index: an index the planner ignores fixes nothing, and that is the most common case.
Graded on the state of the system attested 20 Oct 2026
Command to start it
dsoxlab start pg-06-observer -
Take a physical backup, archive the WAL continuously, and verify both
Set up continuous WAL archiving, take a physical backup, and prove both hold: files in the archive, a counter that moved, no archiving failure, and a backup that `pg_verifybackup` declares valid. Graded on the result, never on the configuration: archiving only fires when a WAL segment is complete, so a correctly configured idle server archives nothing.
Graded on the state of the system attested 20 Oct 2026
Command to start it
dsoxlab start pg-07-archiver -
Recover a dropped table by restoring to a point in time
A DROP TABLE wiped the production data. Restore the cluster to the instant just before it, from the physical backup and the archived WAL. Graded on the TIMELINE as much as on the data: a completed recovery promotes the cluster and increments its timeline, so recreating the table by hand leaves it at 1 and does not pass.
Pass mark 80% attested 20 Oct 2026
Command to start it
dsoxlab start pg-08-restaurer-pitr
PostgreSQL, level 3: replicate and make available
1
-
Stream a standby from a primary, and prove the data flows
Build a streaming standby on a second machine: a dedicated replication role that is not a superuser, a physical slot that keeps the WAL, an access rule, and a base copy. Graded on the flow itself: a row written on the primary must be readable on the standby. A correct configuration that streams nothing does not pass.
Graded on the state of the system attested 20 Oct 2026
Command to start it
dsoxlab start pg-09-repliquer
MySQL, level 1: put a safe instance into service
6
-
Install MySQL 8.4 LTS, and close the door the packages leave open
Install MySQL 8.4 LTS from the Oracle repository, with its key checked, then restrict what it listens on. Graded on the REAL listening state read with `ss`, not on a configuration file: the Oracle packages ship no `bind-address` at all, the variable defaults to `*`, and `bind-address` alone does not restrict port 33060, which has its own variable.
Graded on the state of the system attested 20 Oct 2026
Command to start it
dsoxlab start mysql-01-installer -
Drive MySQL from the client, without a password on the command line
Store the credentials in a login path, create the application's objects, turn the Performance Schema back on, and install MySQL Shell. Graded on a connection that really works with no password typed and no terminal, on the catalog, and on a startup variable that a `SET` cannot change.
Graded on the state of the system attested 21 Oct 2026
Command to start it
dsoxlab start mysql-02-client-admin -
Configure memory, connections and the slow log, so it survives a restart
Raise the InnoDB buffer pool and the connection ceiling, turn the slow query log on, and make all of it survive a restart. Graded on a RESTART, because nothing else proves the round trip: `SET PERSIST` and `SET GLOBAL` report the same source on a running server, measured. And the slow log is graded on a slow query actually landing in it.
Graded on the state of the system attested 20 Oct 2026
Command to start it
dsoxlab start mysql-03-configurer -
Grant through roles, activate them, and refuse an unencrypted login
Build two privilege roles, give one to an application account, ACTIVATE it, and force TLS on that account. Graded on behaviour: an unencrypted connection must be refused, an encrypted one must work, and the account must read what it is allowed to and nothing more. A role granted but not activated grants nothing, and no catalog table says so.
Graded on the state of the system attested 20 Oct 2026
Command to start it
dsoxlab start mysql-04-securiser -
Produce a logical backup that is complete, and prove it by restoring it
Dump the `appli` database, restore it into a fresh one, and prove the copy is usable: same rows, the stored procedure CALLABLE, the trigger firing. Graded on the restored server and on the dump file, never on a command line. The trap is measured: `mysqldump` reports `routines FALSE`, so a dump taken without `--routines` silently omits stored procedures, and the restore still succeeds with exit code 0.
Graded on the state of the system attested 20 Oct 2026
Command to start it
dsoxlab start mysql-05-sauvegarder -
Level 1 exam: take over an instance left wide open
An instance in service, inherited as is: listening on every interface, one account that can do everything, no tuning, no backup. Bring it to a state you would accept on call, and prove it. Ten graded tasks, 100 points, 70 to pass. Nothing is explained a second time: the level's five labs taught it, this exam measures it. Graded on the real state, after a restart.
Pass mark 70% attested 20 Oct 2026
Command to start it
dsoxlab start mysql-epreuve-n1
MySQL, level 2: operate what is in service
1
-
Make the plan stop reading the table whole, and reclaim what a purge did not free
A table of events has been purged of nine rows out of ten, and it still occupies what it occupied before. A query that filters it reads it whole, although an index exists. Graded on the EXECUTION PLAN and on the size the table really occupies, never on a command: measured on MySQL 8.4, adding an index changes the plan without reclaiming a single byte, and a `DELETE` reclaims nothing at all.
Graded on the state of the system attested 20 Oct 2026
Command to start it
dsoxlab start mysql-06-observer
MySQL, level 3: replicate and make available
1
-
Replicate with GTID, and prove a row written on the source arrives
Put a GTID replication in service between two servers, make the replica refuse any direct write, and prove that a row written on the source arrives. Graded on the state tables of the Performance Schema and on a row that really travels, never on `SHOW REPLICA STATUS`. Two traps are measured: `gtid_mode` refuses to go from OFF to ON in one step, and the default authentication plugin blocks the replica's connection with error 2061.
Graded on the state of the system attested 21 Oct 2026
Command to start it
dsoxlab start mysql-07-repliquer
Artifact repositories: host, secure, sign and serve the packages and images your deployments depend on
Artifact repositories: host, secure, sign and serve the packages and images your deployments depend on
Add this catalogue dsoxlab catalog add https://github.com/stephrobert/artefacts-dsoxlab-training
Level 1: put a repository into service
5
-
Put Pulp into service, and prove the API answers
Install Pulp in a container on depot.lab, set the admin password, configure the CLI and check that the instance advertises the right public URL.
Graded on the state of the system
Command to start it
dsoxlab start pulp-01-installer -
Proxy PyPI, and prove the cache serves when the source goes down
Create a PyPI remote, sync a package, distribute it, install it from client.lab, then prove the repository still serves once access to PyPI is cut.
Graded on the state of the system
Command to start it
dsoxlab start pulp-02-proxy -
Publish your own package, and install it from another machine
Build a package, upload it to Pulp, publish and distribute it, then install it from client.lab, where it exists nowhere else.
Graded on the state of the system
Command to start it
dsoxlab start pulp-03-publier -
Serve container images, and prove they come from your registry
Turn Pulp into an OCI registry with a pull-through cache, pull an image from client.lab through it, and check the image really came from the repository.
Graded on the state of the system
Command to start it
dsoxlab start pulp-04-registre -
Level 1 exam: the repository nobody documented
A Pulp instance in service, inherited as is: every build still reaches the public internet, in-house packages travel by email, and images come straight from Docker Hub. Put the three chains in place and prove each one serves. Seven graded tasks, 100 points, 70 to pass. Nothing is explained a second time: the level's four labs taught it, this exam measures it. Graded on the real state of the instance, from a client that is not the repository.
Pass mark 70%
Command to start it
dsoxlab start artefacts-epreuve-n1
Level 2: turn it into a service you can trust
4
-
Grant a targeted role, and prove it opens one door only
Create a limited account on Pulp, grant it the right to create file repositories, and prove it can do exactly that and nothing more.
Graded on the state of the system
Command to start it
dsoxlab start pulp-05-securiser -
Sign an image, and prove verification refuses an unsigned one
Generate a Cosign key pair, sign an image hosted by Pulp, verify it, and prove that an unsigned image fails the same verification.
Graded on the state of the system
Command to start it
dsoxlab start pulp-06-signer -
Serve with no Internet, and prove the cut is real
Cut the repository's outbound access, serve a client anyway, and prove the isolation is real rather than assumed.
Graded on the state of the system
Command to start it
dsoxlab start pulp-07-air-gap -
Back up a repository, and prove the restore serves
Export a repository, move the backup off the machine, import it into an empty repository and serve a client from what was restored.
Graded on the state of the system
Command to start it
dsoxlab start pulp-08-sauvegarder
Nexus option
2
-
Proxy a public index with Nexus, and prove the group's order
Put Nexus into service, proxy PyPI through it, prove the cache filled, and prove the group repository serves its members in the declared order.
Graded on the state of the system
Command to start it
dsoxlab start nexus-01-proxy -
Host a container registry on Nexus, port and realm included
Create a hosted Docker repository on Nexus, expose its connector on a dedicated port, activate the token realm, and push an image to it.
Graded on the state of the system
Command to start it
dsoxlab start nexus-02-registre
GitLab CI/CD
GitLab CI/CD
Add this catalogue dsoxlab catalog add https://github.com/stephrobert/gitlab-ci-dsoxlab-training
Write a pipeline and read its failures
8
-
Your first pipeline, green, on your own GitLab
Push the FastAPI project to the lab GitLab, write the pipeline that lints, tests and builds it, and get it green. Graded on the pipeline the server really ran, read from the API, never on the file you wrote.
Graded on the state of the system attested 22 Oct 2026
Open the guide (French) GL-CICD-ASSOCIATE
Command to start it
dsoxlab start gl-01-premier-pipeline -
Read a failure and fix it
Diagnose a red pipeline from GitLab's own messages: one configuration error that stops any job from running, then two code errors only a job log reveals. Graded on the three fixes, read from the API, never on the commands typed.
Graded on the state of the system attested 22 Oct 2026
Open the guide (French) GL-CICD-ASSOCIATE
Command to start it
dsoxlab start gl-02-lire-un-echec -
The right image for each job
Three jobs share one heavy Python image, and the build job runs docker build from it, which cannot work. Pick an image that matches what each job does, and give the build job a Docker daemon. Graded on the job logs, never on the file.
Graded on the state of the system attested 22 Oct 2026
Open the guide (French) GL-CICD-ASSOCIATE
Command to start it
dsoxlab start gl-03-images-et-runners -
Cache the dependencies, keep the test report
The pipeline is green but wasteful: every job downloads its dependencies again, and the test results vanish with the job. Add a cache keyed on the dependency file, and publish the JUnit report so GitLab reads it. Graded on the job logs and the pipeline test report.
Graded on the state of the system attested 22 Oct 2026
Open the guide (French) GL-CICD-ASSOCIATE
Command to start it
dsoxlab start gl-04-artifacts-et-cache -
Get the secret out of the repository
A database password sits in plain text in two places, and a job prints it in its log. Take it out of the repository, declare it as a masked and protected CI/CD variable, and prove it no longer leaks. Graded on the repository, the variables and the job logs.
Graded on the state of the system attested 22 Oct 2026
Open the guide (French) GL-CICD-ASSOCIATE
Command to start it
dsoxlab start gl-05-sortir-les-secrets -
Decide when the pipeline runs, and who deploys
Every job runs on every push, on every branch, and nothing is ever deployed. Decide when a pipeline is born, which jobs join it, and which deployment waits for a human. Graded on the pipeline left on the forge.
Graded on the state of the system attested 22 Oct 2026
Command to start it
dsoxlab start gl-06-controler-execution -
Validate before you push
GitLab refuses the pipeline, and the refusal hides a second fault. A third one it accepts without complaint. Find all three without pushing to see, then prove the pipeline runs. Graded on the configuration GitLab accepted and on the jobs that ran.
Graded on the state of the system attested 22 Oct 2026
Open the guide (French) GL-CICD-ASSOCIATE
Command to start it
dsoxlab start gl-07-valider-avant-de-pousser -
Level exam: a pipeline that tells the truth
The pipeline is green and it lies. A test job is allowed to fail, its report is unreadable, a token sits in plain text in the configuration, and production deploys from any branch. Four defects, none of them named. Make the pipeline tell the truth, graded on what the forge shows.
Graded on the state of the system attested 22 Oct 2026
Open the guide (French) GL-CICD-ASSOCIATE
Command to start it
dsoxlab start gl-ep1-un-pipeline-qui-dit-vrai
Deliver
5
-
Start a pipeline without a push
The pipeline only knows how to be born from a push. Make it accept a schedule, an API call and a trigger token, and reserve one job to a single source. Graded on the schedules, the trigger tokens, and the pipelines that actually ran.
Graded on the state of the system attested 22 Oct 2026
Command to start it
dsoxlab start gl-08-declencher-autrement -
Publish the image, and keep it traceable
The pipeline builds an image and throws it away. Publish it to the project registry under a tag that names the commit, from the pipeline itself. Graded on the registry, on the tag, and on the job log that pushed it.
Graded on the state of the system attested 22 Oct 2026
Open the guide (French) GL-CICD-ASSOCIATE
Command to start it
dsoxlab start gl-09-publier-au-registre -
Make the pipeline say what it covers
The tests run and say nothing about how much code they go through. Print the coverage, let GitLab fish it out of the log, and publish a report that shows the uncovered lines in a merge request. Graded on what reached GitLab, not on the file.
Graded on the state of the system attested 22 Oct 2026
Open the guide (French) GL-CICD-ASSOCIATE
Command to start it
dsoxlab start gl-10-rapports-de-qualite -
Two silent failures: nothing runs, nothing complains
Push, and nothing happens: no pipeline at all. Fix that, and a job hangs forever without failing. Diagnose two failures that produce no error message, then prove the pipeline runs. Graded on the pipeline left on the forge.
Graded on the state of the system attested 22 Oct 2026
Open the guide (French) GL-CICD-ASSOCIATE
Command to start it
dsoxlab start gl-11-diagnostiquer-un-job-bloque -
Level exam: a delivery you can trace
The chain claims to deliver and leaves no trace: GitLab knows of no environment, the image never leaves the runner, one job waits forever for a runner that does not exist, and production ships with nobody deciding. Four defects, none of them named. Make the delivery traceable, graded on what the forge shows.
Graded on the state of the system attested 22 Oct 2026
Open the guide (French) GL-CICD-ASSOCIATE
Command to start it
dsoxlab start gl-ep2-une-livraison-tracable
Industrialise
9
-
A cache that is never found, and jobs that wait for nothing
The pipeline works and wastes time twice: its cache key changes on every commit, so the cache is never read, and its jobs queue behind stages that do not concern them. Graded on a restored cache and on two jobs overlapping in time.
Graded on the state of the system attested 22 Oct 2026
Open the guide (French) GL-CICD-ASSOCIATE
Command to start it
dsoxlab start gl-12-accelerer-le-pipeline -
Stop repeating the pipeline, without changing what it does
Two jobs declare the same image and the same cache, word for word. Factor them with a hidden job and a YAML anchor, and keep the behaviour exactly as it was. The only lab graded on the file, because resolved factorisation leaves no trace in the state.
Graded on the state of the system attested 22 Oct 2026
Open the guide (French) GL-CICD-ASSOCIATE
Command to start it
dsoxlab start gl-13-factoriser-le-yaml -
One orchestrator, one file per stage
The pipeline is clean and eighty lines long: every change means rereading all of it to find the three lines that matter. Split the jobs into included files and keep an orchestrator that answers two questions. Graded on the inclusions GitLab reports.
Graded on the state of the system attested 22 Oct 2026
Command to start it
dsoxlab start gl-14-externaliser-les-jobs -
Test more than one combination at a time
The tests run on one Python version, so nothing says whether the code still works on the one half of production uses. Build a matrix, make it vary something real, and tie the build to all of its combinations. Graded on the jobs GitLab instantiated.
Graded on the state of the system attested 22 Oct 2026
Command to start it
dsoxlab start gl-15-une-matrice-de-tests -
A pipeline that writes its own jobs
Every job is written in advance, so the pipeline cannot decide at run time that it needs one more. Generate a child pipeline during the run, trigger it, and make the parent wait for its result. Graded on the child GitLab actually ran.
Graded on the state of the system attested 22 Oct 2026
Command to start it
dsoxlab start gl-16-un-pipeline-enfant -
One change, one pipeline
A branch carrying an open merge request runs two pipelines for the same commit: the machine does everything twice and the merge request shows two results. Make the workflow merge-request-first, and keep the right one. Graded by counting the pipelines on one commit.
Graded on the state of the system attested 22 Oct 2026
Command to start it
dsoxlab start gl-17-un-seul-pipeline-par-changement -
Reliable without hiding failures
The pipeline is broken before it even starts: a job sits in a stage that `stages:` does not declare, so no job runs at all. Repair it, then make it reliable: a retry that only covers infrastructure failures, explicit timeouts, and a lock so two deployments never run at once. Graded on the locks the forge really created and on the shape of the merged configuration.
Graded on the state of the system attested 22 Oct 2026
Open the guide (French) GL-CICD-ASSOCIATE
Command to start it
dsoxlab start gl-18-fiabiliser-sans-masquer -
Rebuild the whole pipeline
The repository has no pipeline at all: not a single CI file. Rebuild one that lints, tests on a matrix with reported results, triggers a dynamic child pipeline, publishes the image to the registry and deploys safely, in five stages and several included files. No step-by-step guide: a specification, and the state the forge has to show at the end.
Graded on the state of the system attested 22 Oct 2026
Open the guide (French) GL-CICD-ASSOCIATE
Command to start it
dsoxlab start gl-19-reconstruire-tout-le-pipeline -
Level exam: a pipeline to industrialise
The pipeline is green, yet it was only half industrialised: the same boilerplate is copied three times, the tests run one after the other in a single job, a child pipeline is generated but never used, retries replay every failure and the deployment has no lock and no time limit. Five defects, none of them named. Industrialise it, graded on the state the forge reports through its API. No Premium feature is needed.
Graded on the state of the system attested 22 Oct 2026
Open the guide (French) GL-CICD-ASSOCIATE
Command to start it
dsoxlab start gl-ep4-un-pipeline-a-industrialiser
Secure and tool
7
-
Turn the scanners on, and read what they say
The pipeline tests the application and publishes nothing about its security: no scanner runs, and a GitLab token sits hard-coded in `app/config.py`. Turn SAST and Secret Detection on, read the JSON reports they produce, remove the token and prove with a new scan that it is gone. Grading is taken on the reports the forge really holds, not on the file you wrote.
Graded on the state of the system attested 22 Oct 2026
Open the guide (French) GL-CICD-ASSOCIATE
Command to start it
dsoxlab start gl-21-activer-les-scanners -
Scan the image, and stop shipping a critical flaw
A pipeline builds and publishes its image without anyone looking at it, and a critical vulnerability has reached production. Add a job that scans the published image with Trivy, keep its JSON report as an artifact even when the job fails, make the pipeline fail on a critical vulnerability before any deployment, then rule out in `.trivyignore` the single finding the security team triaged, with its reason written next to it. Graded on what the forge saw: the report kept, the registry image at the commit tag, a pipeline that really failed with no deployment at all, and a single justified exception, absent from the latest report.
Graded on the state of the system attested 22 Oct 2026
Open the guide (French) GL-CICD-ASSOCIATE
Command to start it
dsoxlab start gl-22-scanner-les-images -
Sign the image, and refuse the ones that are not
A pipeline publishes its image and says nothing about it, and an unsigned image sits in the same registry. Inventory the image with Syft (CycloneDX SBOM kept as an artifact), sign it by digest with cosign, attach a signed provenance attestation, then add a verification job that fails on an unsigned image before the deployment, and prove it. Graded on what the forge and the registry saw: the SBOM artifact, a signature and an attestation that cosign verifies itself, and a pipeline that really failed on the unsigned image.
Graded on the state of the system attested 22 Oct 2026
Command to start it
dsoxlab start gl-23-supply-chain-tracable -
Secrets renewed without breaking the pipeline
A green pipeline uses an unprotected, unmasked service token and rewrites an SSH key by hand. Protect and mask the token, turn the key into a file-type variable and adapt the job, then renew the token without interrupting the service: the new one first, proved by a pipeline, and only then the revocation of the old one. Graded on the state the forge holds: variable settings, revoked and active access tokens, executed jobs and their logs.
Graded on the state of the system attested 22 Oct 2026
Open the guide (French) GL-CICD-ASSOCIATE
Command to start it
dsoxlab start gl-20-secrets-avances -
Protect what merges, and what deploys
A green pipeline deploys to production from a project with no lock at all: anyone can push to main, create a release tag, and merge without a green pipeline. Protect the main branch and the release tags, then require a successful pipeline and resolved discussions before any merge, and prove the locks still let a legitimate deployment through. Graded on the settings the forge holds, read from its API, never on a file. The approval rule and the protected environment are Premium features and are not part of the lab.
Graded on the state of the system attested 22 Oct 2026
Command to start it
dsoxlab start gl-24-proteger-les-merges -
Harden the runner, and close what was wide open
A pipeline runs on a runner that is wide open: its jobs are privileged, any image runs on it, and the container keeps every Linux capability. The pipeline replays two attacks against that runner, and both succeed. Harden the runner configuration (no privileged mode, a list of allowed images, capabilities dropped), then run the pipeline again and prove the two attacks are now blocked while the legitimate job still passes. Graded on the runner configuration and on what the job logs show, never on a file in the repository. Docker-in-Docker no longer works on a hardened runner: the lab says so, and does not practise the workaround.
Graded on the state of the system attested 22 Oct 2026
Open the guide (French) GL-CICD-ASSOCIATE
Command to start it
dsoxlab start gl-25-durcir-le-pipeline -
Level exam: a pipeline you can audit
The pipeline is green and the production deployment works, but nobody could vouch for the chain: a deployment secret travels to every branch and to the logs, anyone with push rights can rewrite main, a merge needs no green pipeline, the images are not pinned, and no scanner has ever run. Five defects, none of them named. Make the pipeline auditable, graded on the state the forge reports through its API. No Premium feature is needed.
Graded on the state of the system attested 22 Oct 2026
Open the guide (French) GL-CICD-ASSOCIATE
Command to start it
dsoxlab start gl-ep3-un-pipeline-qu-on-peut-auditer
Publish a web service: a reverse proxy in front of your services, with automatic certificates
Publish a web service: a reverse proxy in front of your services, with automatic certificates
Add this catalogue dsoxlab catalog add https://github.com/stephrobert/publier-service-dsoxlab-training
Foundations: understand and diagnose a published service
17
-
Identify the service behind a web response
Receive a small catalogue application and write its service sheet: process, user, listening port and dependency, each one checked against the running system. Tell a technical HTTP 200 from a business function that is down.
Graded on the state of the system attested 26 Oct 2026
Command to start it
dsoxlab start pub-socle-service -
Read and explain an HTTP exchange
Run an acceptance test of a small order API: check what the backend really received, what a redirect does to a POST, how errors are read, and send an order without duplicating it when the response is lost.
Graded on the state of the system attested 26 Oct 2026
Command to start it
dsoxlab start pub-socle-http -
Diagnose and switch a DNS record safely
Move a site from one version to another by changing its DNS records: find which server is authoritative and which one only caches, read a TTL, notice the forgotten AAAA record, then switch over and back without waiting for caches.
Graded on the state of the system attested 26 Oct 2026
Command to start it
dsoxlab start pub-socle-dns -
Obtain a certificate automatically with ACME
Run Pebble, a test ACME server, and obtain a certificate from it with lego through the HTTP-01 challenge. Graded on the certificate itself: who issued it, for which name, and whether the validation really took place.
Graded on the state of the system attested 26 Oct 2026
Command to start it
dsoxlab start pub-acme-pebble -
Close the paths that bypass the entry point
Receive a publication that answers but exposes too many ports: write its flow matrix, then close every path to the backend and the administration so that only the entry point stays reachable from the client.
Graded on the state of the system attested 26 Oct 2026
Command to start it
dsoxlab start pub-socle-exposition -
Separate the resolved name, the certificate and the HTTP route
Observe two names published over TLS on the same address: TLS picks a certificate from the SNI, HTTP then picks the application from the Host header, and the two decisions do not have to agree. Write down what you find, then close the path that lets an unknown name reach an application by accident.
Graded on the state of the system attested 26 Oct 2026
Command to start it
dsoxlab start pub-socle-dns-http-tls -
Define the responsibilities and the trust of a proxy chain
Walk a request through two chained reverse proxies to a backend application: work out which hop terminates TLS and which one relays in plain HTTP, keep a legitimate client's real origin and identity intact, then close every path that lets a forged header or a direct connection grant a privilege it was never given.
Graded on the state of the system attested 26 Oct 2026
Command to start it
dsoxlab start pub-socle-reverse-proxy -
Check a TLS identity and its chain of trust
Receive several TLS endpoints and decide, with an explicitly given trust store, which ones really prove their identity: a wrong name, a broken chain, and an expired certificate must all be refused and their cause correctly identified.
Graded on the state of the system attested 26 Oct 2026
Command to start it
dsoxlab start pub-socle-tls -
Fix a session, its cookie, and its origins behind a proxy
Fix the configuration of a small application running behind a TLS entry point: a login that redirects forever instead of landing on the account page, a session cookie scoped to a domain that no browser will ever accept, a cross-origin policy that answers yes to every origin, and an identity header the entry point still repeats from the client instead of deciding it from a validated session. An automated browser is provided to observe every one of these from where it actually matters: inside a real browser, not just a curl header.
Graded on the state of the system attested 26 Oct 2026
Command to start it
dsoxlab start pub-socle-application -
Observe a WebSocket and an event stream
A notification service exposes a WebSocket and a Server-Sent Events stream, both run honestly through a single configuration with four injected mistakes: an echo delay that makes every WebSocket round trip look broken, an SSE buffer that holds every event until the stream itself ends, a heartbeat interval that never actually fires, and a backend failure that the stream neither closes nor explains. A protocol-aware measuring client is provided to observe each of these the way they actually happen: by timing, not by reading a final body.
Graded on the state of the system attested 26 Oct 2026
Command to start it
dsoxlab start pub-socle-flux-longs -
Measure a backend outage, removal and return
Two identical backends run behind a provided, opaque load balancer, with configurable probes and thresholds, no specific product to learn. The shipped configuration ships three mistakes at once: the balancer never actually alternates between the two healthy backends, its failure probe is far too slow and tolerant to remove a sick backend within any reasonable window, and the same is true for bringing it back once healthy. The balancer itself is also the only entry point: stopping it proves, honestly, what a single load balancer instance cannot survive.
Graded on the state of the system attested 26 Oct 2026
Command to start it
dsoxlab start pub-socle-disponibilite -
Define an SLI and an alert seen from the client
A business route answers through a log pipeline and a metrics exporter that are themselves healthy, yet the route is failing. Define what counts as a valid event and a success, tune an alert so it fires on the real outage and recovers after the fix, correlate one request to its backend and duration, and teach the system to tell apart no traffic, lost collection, and a real failure.
Graded on the state of the system attested 26 Oct 2026
Command to start it
dsoxlab start pub-socle-observabilite -
Hand over a release and prove it can be restored
Receive a publication two different ways: as a client who must check it independently, DNS included, and as the operator who must survive losing the active configuration and state. Write and run an acceptance matrix, restore from backup after a simulated loss, roll a bad release back while respecting a cache, and state plainly what is still simulated.
Graded on the state of the system attested 26 Oct 2026
Command to start it
dsoxlab start pub-socle-mise-en-service -
Diagnose a publication, layer by layer
Inherit a published service with one fault drawn at random among DNS, transport, TLS, route, and backend, plus background noise unrelated to it. Form a hypothesis, confirm it with a targeted test, name the actual faulty layer and component, repair it, and prove no protection was removed along the way.
Graded on the state of the system attested 31 Oct 2026
Command to start it
dsoxlab start pub-socle-depannage -
Write and test a web service access policy
Turn a business requirement into a policy of access, trust, limits and log retention, then prove it refuses what it must without breaking what must keep working.
Graded on the state of the system attested 26 Oct 2026
Command to start it
dsoxlab start pub-socle-securite -
Measure the effects of a cache and of retries
Fix a supplied cache and timeout policy that makes answers faster but can mix two users up, duplicate an order, and let a dead backend hold every caller.
Graded on the state of the system attested 26 Oct 2026
Command to start it
dsoxlab start pub-socle-cache-delais -
Socle assessment: design and hand over a service
With no template to copy, deliver the architecture dossier and the acceptance recipe for a service that is already running, then diagnose and fix an unannounced incident, and prove your recovery plan on the lab itself: configuration, data, and trust. No reverse-proxy-specific syntax required.
Graded on the state of the system attested 31 Oct 2026
Command to start it
dsoxlab start pub-epreuve-socle
Traefik: publish, protect and operate a reverse proxy
17
-
Trace a request through Traefik's routing model
Read a partially miswired Traefik configuration, correct its router and service associations across the file and Docker providers, and prove that an unplanned hostname reaches no application.
Graded on the state of the system attested 26 Oct 2026
Command to start it
dsoxlab start pub-traefik-modele -
Install Traefik and master its entry-point lifecycle
Install a verifiable Traefik under systemd, closed by default, reject an invalid dynamic configuration with a usable diagnostic, and prove the entry point survives a reboot.
Graded on the state of the system attested 26 Oct 2026
Command to start it
dsoxlab start pub-traefik-installation -
Publish two containers behind Traefik, with the Docker provider
Put Traefik in front of two instances of a web service, discovered through Docker labels: nothing exposed by default, no backend port published, and one instance that can disappear with measured failover. Graded on what a client sees and on what the machine really publishes.
Graded on the state of the system attested 26 Oct 2026
Command to start it
dsoxlab start pub-traefik-docker -
Publish a systemd service with Traefik's file provider
Route requests through Traefik to a host service managed by systemd, then add or change the route dynamically without restarting Traefik.
Graded on the state of the system attested 26 Oct 2026
Command to start it
dsoxlab start pub-traefik-fichier -
Resolve routing priorities and collisions
Fix explicit priority conflicts between host and path routers, scope a sensitive application correctly, qualify a cross-provider service and middleware, and prove a later dynamic change does not break existing routes.
Graded on the state of the system attested 26 Oct 2026
Command to start it
dsoxlab start pub-traefik-routage -
Configure HTTPS, ACME renewal, and modern TLS in Traefik
Configure automatic ACME certificates through Traefik, protect the ACME storage, redirect HTTP to HTTPS, reject obsolete TLS versions, and prove automatic renewal using the certificate served to a client.
Graded on the state of the system attested 26 Oct 2026
Command to start it
dsoxlab start pub-traefik-acme -
Keep a containerized web service available after a Docker restart
Configure a containerized web service to restart automatically with Docker and verify that the real HTTP endpoint recovers after the daemon restarts.
Graded on the state of the system attested 26 Oct 2026
Command to start it
dsoxlab start pub-traefik-restart-recovery -
Level 1 challenge: publish two services and recover from a restart
Publish two HTTPS services with automatically renewed certificates, deny external access to backends and administration, and recover after a Docker restart under a 60-minute time limit.
Graded on the state of the system attested 26 Oct 2026
Command to start it
dsoxlab start pub-epreuve-niveau-un -
Compose and verify Traefik middlewares
Transform paths, redirect legacy URLs, and return compressed responses with security headers through the Traefik entry point.
Graded on the state of the system attested 26 Oct 2026
Command to start it
dsoxlab start pub-traefik-middlewares -
Protect the Traefik entry point
Protect Traefik administration with authenticated HTTPS, secure its Docker API access through a restricted socket proxy, enforce security headers, and rate-limit requests.
Graded on the state of the system attested 26 Oct 2026
Command to start it
dsoxlab start pub-traefik-protection -
Verify backend TLS and client certificates
Protect a route with client certificate authentication, verify the backend's own certificate instead of disabling verification, resist forged forwarding headers, and survive a controlled certificate rotation.
Graded on the state of the system attested 26 Oct 2026
Command to start it
dsoxlab start pub-traefik-mtls -
Bound delays and keep long-lived flows alive
Bound the proxy's wait on a slow or dead backend without cutting legitimate slowness short, keep WebSocket and SSE flows open across an idle period, remove a sick backend from rotation without penalizing healthy ones, and make sure a retry policy never duplicates a non-idempotent business action.
Graded on the state of the system attested 26 Oct 2026
Command to start it
dsoxlab start pub-traefik-flux-delais -
Observe Traefik with JSON access logs and Prometheus
Filter Traefik access logs as JSON, expose Prometheus metrics locally, and configure an alert that fires on real HTTP 5xx responses.
Graded on the state of the system attested 26 Oct 2026
Command to start it
dsoxlab start pub-traefik-observabilite -
Troubleshoot Traefik routing and TLS failures
Diagnose and repair injected 404, 502, 504, certificate, and redirect-loop failures by correlating HTTP responses with Traefik logs.
Graded on the state of the system attested 26 Oct 2026
Command to start it
dsoxlab start pub-traefik-depannage -
Upgrade Traefik and verify a rollback
Upgrade the running Traefik proxy from v3.7.6 to v3.7.15, verify its live configuration, and prove that the previous version can be restored.
Graded on the state of the system attested 26 Oct 2026
Command to start it
dsoxlab start pub-traefik-mise-a-jour -
Level 2 challenge: protect, observe and troubleshoot
Protect and observe a supplied Traefik stack, diagnose an unknown outage from its logs and live responses, and justify the repair in a report.
Graded on the state of the system attested 26 Oct 2026
Command to start it
dsoxlab start pub-epreuve-niveau-deux -
Roll out a backend version, prove rollback, and name the real failure domain
Move live traffic from one backend version to a candidate with bounded errors, remove an unhealthy candidate from rotation and roll back, prove which failure a redundant entry point actually survives and which it does not, and fix a certificate rotation tool so two entry points sharing the same certificate storage never serve a corrupted or mismatched pair.
Graded on the state of the system attested 26 Oct 2026
Command to start it
dsoxlab start pub-traefik-zero-downtime
HAProxy: publish and operate web services
14
-
Publish HTTPS with HAProxy
Terminate TLS with HAProxy 3.4, issue and renew a Pebble certificate with HAProxy's experimental native ACME client, and keep the service available during renewal.
Graded on the state of the system attested 26 Oct 2026
Command to start it
dsoxlab start pub-haproxy-tls -
Protect an application with HAProxy
Harden an HAProxy frontend with security headers, an authenticated admin endpoint, a per-source rate limit that releases, and restricted HTTP methods.
Graded on the state of the system attested 26 Oct 2026
Command to start it
dsoxlab start pub-haproxy-protection -
Observe HAProxy with logs and Prometheus
Publish HAProxy metrics on a loopback-only endpoint, scrape them with Prometheus, and verify backend health without exposing the metrics listener.
Graded on the state of the system attested 26 Oct 2026
Command to start it
dsoxlab start pub-haproxy-observabilite -
Install HAProxy and tell its HTTP and TCP modes apart
Install HAProxy from the distribution package, publish two HTTP names and one raw line protocol from the same instance, and keep the stats page and the runtime socket off the network.
Graded on the state of the system attested 26 Oct 2026
Command to start it
dsoxlab start pub-haproxy-installation -
Route with ACLs and a map, without a leaking default
Repair a routing table whose four rules are each correct on their own and wrong together, then show that the map really decides and that a runtime change to it does not survive a reload.
Graded on the state of the system attested 26 Oct 2026
Command to start it
dsoxlab start pub-haproxy-routage -
Probe, remove and drain backends
Put representative health probes in front of two backends, prove that a live but unready backend is removed inside the window, that a dip shorter than the threshold removes nothing, and that draining stops new assignments without cutting an established flow.
Graded on the state of the system attested 26 Oct 2026
Command to start it
dsoxlab start pub-haproxy-sante -
Publish TLS with a certificate cycle you have exercised
Obtain one certificate per published name from an external ACME client, serve them by SNI, renew them without restarting, and have the new material checked before it enters service.
Graded on the state of the system attested 26 Oct 2026
Command to start it
dsoxlab start pub-haproxy-tls-stable -
Check the identity of the backend and of the source
Turn on backend TLS verification, tell a valid client identity from an absent one and from another authority, and stop a client from choosing its own address by header or by PROXY protocol.
Graded on the state of the system attested 30 Oct 2026
Command to start it
dsoxlab start pub-haproxy-confiance -
Limit by a key you control, and read the counters
Count the client's address rather than a value it supplies, separate the rate window from the entry's lifetime, refuse above the threshold without blocking anyone else, and state what the table does not protect.
Graded on the state of the system attested 26 Oct 2026
Command to start it
dsoxlab start pub-haproxy-stick-tables -
Bound time, queues and long streams
Give each slow phase its own bound so the elapsed time says which one you are looking at, keep SSE and WebSocket alive through the application's silences, pick a session policy and state its limits, and stop a lost response from being written twice.
Graded on the state of the system attested 26 Oct 2026
Command to start it
dsoxlab start pub-haproxy-flux-delais -
Change the runtime state with limited rights
Separate reading the state from acting on it, give each its own socket and group, make a runtime decision survive a reload through HAProxy's own state file, and deliver a return to nominal that the validation runs.
Graded on the state of the system attested 26 Oct 2026
Command to start it
dsoxlab start pub-haproxy-runtime -
Diagnose an unknown HAProxy outage
One fault drawn at random among five, plus noise that explains nothing. Restore the service without disabling what protects it: two canaries wired into the stack make the lazy fix measurable.
Graded on the state of the system attested 26 Oct 2026
Command to start it
dsoxlab start pub-haproxy-depannage -
Reload, update and roll back HAProxy
Deliver a reversible switch between two generations, and measure what a reload really does to the master process, to its workers, and to a connection opened before the gesture.
Graded on the state of the system attested 26 Oct 2026
Command to start it
dsoxlab start pub-haproxy-mise-a-jour -
Prove the failure domain of two entry points
Deploy a failover compatible with the network provided, then measure the loss of a process and the loss of a host without touching the client.
Graded on the state of the system attested 26 Oct 2026
Command to start it
dsoxlab start pub-haproxy-ha
Nginx: publish and protect web services
13
-
Publish an application with Nginx
Configure Nginx as a reverse proxy for a local application and preserve the original host, request path, and forwarding protocol.
Graded on the state of the system attested 26 Oct 2026
Command to start it
dsoxlab start pub-nginx-publication -
Install Nginx and master validation and reload
Install a verifiable Nginx, organise its configuration, and show the difference between reload, restart and reboot.
Graded on the state of the system attested 26 Oct 2026
Command to start it
dsoxlab start pub-nginx-installation -
Verify server and location selection
Repair a configuration whose names and paths overlap, close the door on unknown host names, and predict the selection rule from the live configuration.
Graded on the state of the system attested 26 Oct 2026
Command to start it
dsoxlab start pub-nginx-routage -
Serve only the files you intended
Publish a single-page application's assets with correct MIME types, keep real errors, refuse private files and traversals, and tighten permissions without ceasing to serve.
Graded on the state of the system attested 26 Oct 2026
Command to start it
dsoxlab start pub-nginx-statique -
Measure load sharing and passive detection
Share traffic between two backends, justify the passive detection thresholds of the open source build, and keep a retry from duplicating a non-idempotent action.
Graded on the state of the system attested 26 Oct 2026
Command to start it
dsoxlab start pub-nginx-upstream -
Renew and serve an Nginx certificate
Obtain certificates for two names with the stable path of the open source build, reload only what is needed, and prove the renewal is actually served, after a reload and after a reboot.
Graded on the state of the system attested 26 Oct 2026
Command to start it
dsoxlab start pub-nginx-tls -
Limit abuse while keeping legitimate clients
Set rate, concurrency and body limits for an API whose users sit behind a NAT, with a grouping key the caller cannot forge.
Graded on the state of the system attested 26 Oct 2026
Command to start it
dsoxlab start pub-nginx-limites -
Publish WebSocket, SSE and gRPC with Nginx
Carry three long-lived transports without delaying events or blocking legitimate exchanges, and release resources when a stream stops.
Graded on the state of the system attested 27 Oct 2026
Command to start it
dsoxlab start pub-nginx-flux-longs -
Cache public responses without sharing private data
Cache the public responses a content contract declares cacheable, while keeping representation variants apart, private sessions out of the cache, and volatile content fresh.
Graded on the state of the system attested 27 Oct 2026
Command to start it
dsoxlab start pub-nginx-cache -
Diagnose and repair Nginx
One fault among five families has been injected at random, with configuration noise around it. Find it, repair it, and verify the whole acceptance list without loosening anything.
Graded on the state of the system attested 26 Oct 2026
Command to start it
dsoxlab start pub-nginx-depannage -
Upgrade, roll back and reboot Nginx
Write the two executables a delivery needs, then have the validation drive the plan: deliver a new generation, measure availability during the switch, roll back with its certificate, and reboot.
Graded on the state of the system attested 27 Oct 2026
Command to start it
dsoxlab start pub-nginx-mise-a-jour -
Protect Nginx
Harden an Nginx reverse proxy with security headers, a protected admin endpoint, dotfile denial, and restricted HTTP methods.
Graded on the state of the system attested 30 Oct 2026
Command to start it
dsoxlab start pub-nginx-protection -
Observe an Nginx reverse proxy
Expose a loopback-only status endpoint, emit a structured access log whose timings really measure, and record upstream errors as such.
Graded on the state of the system attested 26 Oct 2026
Command to start it
dsoxlab start pub-nginx-observation
Containers, from the Dockerfile to orchestration
Containers, from the Dockerfile to orchestration
Add this catalogue dsoxlab catalog add https://github.com/stephrobert/containers-dsoxlab-training
Isolate a process
2
-
Build a container by hand with the kernel's own tools
Check a root filesystem by its SHA-256, then run a process in its own namespaces with unshare, under the requested host name, as PID 1, with a real /dev/null.
Graded on the state of the system attested 23 Nov 2026
Command to start it
dsoxlab start conteneur-fabriquer-a-la-main -
Limit a hand-made container with cgroups and capabilities
Cap the memory, processes and CPU of a container in a cgroup v2, see the kernel kill a process over the memory cap, and take CAP_SYS_ADMIN away from its root.
Graded on the state of the system attested 24 Nov 2026
Command to start it
dsoxlab start conteneur-limiter-a-la-main
Read an image
1
-
Read an OCI image by hand and find an altered blob
Copy an image by digest into a local OCI layout, follow the chain from index to layer, recompute every sha256, and find the one blob that was altered.
Graded on the state of the system attested 26 Nov 2026
Command to start it
dsoxlab start image-lire-a-la-main
Run and choose
3
-
Run an OCI bundle with runc, read-only and detached
Free an identifier held by a stopped container, turn an image into a bundle, set its command, host name and read-only root in config.json, and keep it running detached.
Graded on the state of the system attested 26 Nov 2026
Command to start it
dsoxlab start runtime-lancer-un-bundle -
Read who calls whom: Podman, conmon, containerd and its shim
Make Podman hand a container to runc, run a containerd task in a named namespace, find a task that ctr task ls does not show, and write down the real monitor of each container.
Graded on the state of the system attested 26 Nov 2026
Command to start it
dsoxlab start runtime-qui-appelle-qui -
Run an image without an engine
From an image reference, copy the image by digest, verify every blob, build an OCI bundle and run it with runc under an imposed host name and memory cap.
Pass mark 75% attested 1 Dec 2026
Command to start it
dsoxlab start epreuve-lancer-une-image-sans-moteur
Use containers
18
-
Is the engine actually working? Four answers, not one
A Docker engine that is installed but unusable answers, comes back at boot, opens to your account and runs a container.
Graded on the state of the system attested 25 Nov 2026
Command to start it
dsoxlab start docker-verifier-son-moteur -
Run, stop, remove: three verbs that do not overlap
Three containers end in three states: one runs, another is stopped but still exists, the last one is gone.
Graded on the state of the system attested 25 Nov 2026
Command to start it
dsoxlab start docker-premier-conteneur -
The life cycle: restarting is not recreating
Move through a container's states without starting over: restart the sleeping one keeping its identity and its data, pause the other, and read an exit code.
Graded on the state of the system attested 3 Nov 2026
Command to start it
dsoxlab start docker-cycle-de-vie -
ENTRYPOINT and CMD: which one do your arguments replace?
Four containers show what becomes of docker run arguments depending on the command the image declares.
Graded on the state of the system attested 25 Nov 2026
Command to start it
dsoxlab start container-entrypoint-et-cmd -
Who is PID 1 decides whether your container stops or gets killed
Diagnose a container that takes the full timeout to die then exits 137, find that the signal never reaches the application, and fix the image without removing its entry script.
Graded on the state of the system attested 3 Nov 2026
Command to start it
dsoxlab start container-signaux-et-pid-1 -
Interrogate a running container
Get out of a running container what nothing on the host says: a token from its logs, the address the engine gave it, the port it publishes, and a file it wrote after starting.
Graded on the state of the system attested 3 Nov 2026
Command to start it
dsoxlab start docker-inspecter-un-conteneur -
Nothing runs on this host
Bring a stopped and disabled engine back, make the account talk to it, run the named service with its configuration, and keep the witness container untouched.
Pass mark 75% attested 3 Nov 2026
Command to start it
dsoxlab start epreuve-mettre-un-service-en-marche -
The anatomy of an image: layers, sharing, configuration
Two images are described from the engine: their layers, what they share and a value of their configuration.
Graded on the state of the system attested 25 Nov 2026
Command to start it
dsoxlab start docker-anatomie-dune-image -
The default network, and what it does not do
Map the network nobody chooses: find the address of a container, the gateway the engine gave it, the host interface that carries it, and reach a listener whose name does not resolve.
Graded on the state of the system attested 24 Nov 2026
Command to start it
dsoxlab start reseau-bridge-par-defaut -
A network of your own: naming and isolating
Create a dedicated network with a chosen addressing plan, move two containers onto it, and measure both of its effects: their names now resolve, and a container left behind can no longer reach them.
Graded on the state of the system attested 24 Nov 2026
Command to start it
dsoxlab start reseau-bridge-dedie -
Publishing a port, and only where it belongs
Correct three badly published containers, one per posture: one that must only answer on the loopback, one only on the routable address, and one that must publish nothing while still serving the others.
Graded on the state of the system attested 24 Nov 2026
Command to start it
dsoxlab start reseau-publication-de-ports -
Two isolations that are not alike
Obtain both isolations on one machine: a container with no network at all, and a confined network whose members talk to each other by name but never get out.
Graded on the state of the system attested 24 Nov 2026
Command to start it
dsoxlab start reseau-interne -
Expose an application without exposing its database
Publish the front end on the one interface asked for, make the database answer to a service name, put it on a network with no way out, leave no published port on it, and still get the business answer end to end.
Pass mark 75% attested 3 Nov 2026
Command to start it
dsoxlab start epreuve-exposer-sans-exposer-sa-base -
Where data survives: the three kinds of mount
Three pieces of data of one container each have the right lifetime: a kept history, a protected reference, an ephemeral working space.
Graded on the state of the system attested 24 Nov 2026
Command to start it
dsoxlab start donnees-volumes-et-montages -
Two containers, one volume, rights that hold
Two containers with different uids, neither of them root, write to the same volume without it being open to everyone.
Graded on the state of the system attested 24 Nov 2026
Command to start it
dsoxlab start donnees-permissions-uid-gid -
Finish an HTTP transaction before stopping
A service finishes its write before stopping, and finds it again after recreation; a forced stop damages nothing that was committed.
Graded on the state of the system attested 25 Nov 2026
Command to start it
dsoxlab start container-arret-transactionnel -
Three containers down, three different causes
Bring back three containers down for three independent reasons, keep what made one of the failures visible, and recover intact a report one of them never finished writing.
Pass mark 75% attested 3 Nov 2026
Command to start it
dsoxlab start epreuve-remettre-trois-conteneurs-en-service -
The shop cannot find its catalogue
Repair real name resolution, access and exposure faults, then recreate the catalogue without losing a fresh persistent business value.
Pass mark 75% attested 3 Nov 2026
Command to start it
dsoxlab start remettre-un-conteneur-en-service
Measure isolation, and put a container back in service
11
-
A namespace is a view, not a wall
A container's process is found on the machine, its namespaces are compared with the host's, and a second container sees the first one's processes.
Graded on the state of the system attested 25 Nov 2026
Command to start it
dsoxlab start internes-namespaces -
Cgroups: what a container may consume
The ceilings of two containers are read in the kernel, one limited and the other not, then a third carries two.
Graded on the state of the system attested 25 Nov 2026
Command to start it
dsoxlab start internes-cgroups-v2 -
Where Docker stores a container's files
Find the engine's storage driver and a container's write layer, then see that a file written inside it reads from the host's disk and takes up room there.
Graded on the state of the system attested 24 Nov 2026
Command to start it
dsoxlab start internes-stockage-des-images -
Who really starts a container
The intermediary that carries each container is identified on the machine, for two different containers.
Graded on the state of the system attested 25 Nov 2026
Command to start it
dsoxlab start internes-chaine-dexecution -
Capping a processor, and proving it
A slow container's limit is read in the kernel and proven under load, and a second container sees only one CPU.
Graded on the state of the system attested 25 Nov 2026
Command to start it
dsoxlab start container-limite-cpu -
Shared memory and descriptors
Two default values are measured, then a container carries its own, and the cost of its shared memory is weighed.
Graded on the state of the system attested 25 Nov 2026
Command to start it
dsoxlab start container-ulimits-et-shm -
Three failures, three exit codes to read
Read the exit codes of three containers that failed for three reasons, discover that an empty log comes with an unexpected status, and repair on the same image to prove it was never at fault.
Graded on the state of the system attested 3 Nov 2026
Command to start it
dsoxlab start troubleshoot-exit-127 -
Two port conflicts, two causes
Two containers refused on a port already taken start at last, and everything that ran before them still runs.
Graded on the state of the system attested 24 Nov 2026
Command to start it
dsoxlab start troubleshoot-conflit-de-port -
Three refused accesses, three causes
Tell apart three refused accesses read as one: the mount that forbids, the rights that refuse, and a file mode no mount ever changes. Then repair all three, without going root.
Graded on the state of the system attested 24 Nov 2026
Command to start it
dsoxlab start troubleshoot-permission-refusee -
A restart loop, and two outcomes
Diagnose a container the engine keeps relaunching: read what its policy decides, tell it apart from one the engine gave up on, and lift the cause instead of silencing the loop.
Graded on the state of the system attested 3 Nov 2026
Command to start it
dsoxlab start troubleshoot-boucle-de-redemarrage -
The batch job that takes the host down with it
Contain a runaway batch job with memory, CPU and process limits, prove that the limit actually holds during a pointe, keep the service answering, and lose none of the earlier results.
Pass mark 75% attested 4 Nov 2026
Command to start it
dsoxlab start epreuve-contenir-un-conteneur-gourmand
Build images
13
-
Image identity: the tag lies, the digest does not
A tag did not move and the image changed: you say exactly which one runs, on which base and for which platform.
Graded on the state of the system attested 25 Nov 2026
Command to start it
dsoxlab start images-identifier-image -
The same Dockerfile, and a cache that finally serves
Reorder a Dockerfile around what each step depends on, so that a code change no longer redoes the expensive work, and keep out of the image what has no reason to be there.
Graded on the state of the system attested 3 Nov 2026
Command to start it
dsoxlab start images-ordre-des-couches -
A file that exists, and cannot be found
Tell apart what a build context contains from what the disk holds: read a message that blames a file which exists, choose the context, point at the Dockerfile, and keep a secret out of the image.
Graded on the state of the system attested 3 Nov 2026
Command to start it
dsoxlab start images-contexte-de-build -
What a layer keeps
The image keeps all its artifacts and loses the megabytes a container does not show.
Graded on the state of the system attested 25 Nov 2026
Command to start it
dsoxlab start images-optimiser-la-taille -
Changing base is not changing a line
Migrate an application to a nine times lighter base: read a message that blames a script which exists, adapt what depended on the old base, and keep the result identical.
Graded on the state of the system attested 3 Nov 2026
Command to start it
dsoxlab start images-migrer-vers-alpine -
What comes from the base cannot be removed
The delivered image runs the product and no longer holds the tools that made it.
Graded on the state of the system attested 25 Nov 2026
Command to start it
dsoxlab start images-build-multi-etapes -
USER changes the identity, and no right
The application no longer runs as root and still writes its log, without a directory open to everyone.
Graded on the state of the system attested 3 Nov 2026
Command to start it
dsoxlab start images-non-root -
'Up' says nothing about the service
A service goes quiet without dying, and its container says so. It also says when the service starts again.
Graded on the state of the system attested 25 Nov 2026
Command to start it
dsoxlab start images-healthcheck -
Write the tests that turn a broken image away
Write an external test script that accepts a correct image and refuses broken ones of different kinds: unreachable, badly configured, too privileged, badly stopped.
Graded on the state of the system attested 25 Nov 2026
Command to start it
dsoxlab start images-tester-le-contrat -
Reuse dependencies when the build step runs again
Keep a dependency cache outside image layers, reuse it when the source changes, and retain a working cold build.
Graded on the state of the system attested 23 Nov 2026
Command to start it
dsoxlab start buildkit-cache-monte -
Fetch a private dependency without shipping the build secret
Authenticate a build against a private repository, keep credentials out of image history and layers, and reject missing or incorrect secrets.
Graded on the state of the system attested 23 Nov 2026
Command to start it
dsoxlab start buildkit-secret-de-build -
Publish two architectures and execute both
Publish an AMD64/ARM64 image index and prove actual execution of each variant, explicitly using QEMU for ARM64 in the disposable VM.
Graded on the state of the system attested 1 Dec 2026
Command to start it
dsoxlab start images-multi-architecture -
Deliver a first image worth publishing
Write the Dockerfile for a provided application: it must answer with no identity option, run under a numeric non-zero UID that owns its data, leave credentials and work files out of every layer, stay under a measured size threshold, and be published by digest.
Pass mark 75% attested 3 Nov 2026
Command to start it
dsoxlab start epreuve-livrer-une-premiere-image
Distribute images
10
-
Publish an image that another client can really pull
Tag and publish a local release in a registry, then recover the exact image through an independent client rather than trusting the publisher's local cache.
Graded on the state of the system attested 23 Nov 2026
Command to start it
dsoxlab start registry-tag-push-pull -
Recover the original release after its tag has moved
Distinguish a mutable tag from an image digest, recover the original release from the registry, and run it under its immutable reference.
Graded on the state of the system attested 24 Nov 2026
Command to start it
dsoxlab start registry-tag-contre-digest -
Keep a rebuild on its approved base when a tag moves
Rebuild an application with a new source on the approved base, although the tag of that base has changed.
Graded on the state of the system attested 25 Nov 2026
Command to start it
dsoxlab start images-epingler-par-digest -
Serve a trusted registry and pull without disabling TLS checks
A private registry only answers over an encrypted connection, and Docker pulls an image from it while checking who it talks to.
Graded on the state of the system attested 25 Nov 2026
Command to start it
dsoxlab start registry-locale-tls -
Protect a TLS registry with authentication
Require credentials for a private registry and prove authenticated Docker push and pull over verified TLS.
Graded on the state of the system attested 25 Nov 2026
Command to start it
dsoxlab start registry-authentification -
Grant minimal registry scopes to a publisher and a separate reader
Restore the delivery of an image between two machines, with one account that publishes and one that only reads.
Graded on the state of the system attested 25 Nov 2026
Command to start it
dsoxlab start registry-droits-minimaux -
Export an image without the daemon, and keep what must survive
Copy a pinned image straight from the registry to an OCI archive without the daemon ever pulling it, name the destination so the load gives back a usable image, and produce another architecture than the host's.
Graded on the state of the system attested 25 Nov 2026
Command to start it
dsoxlab start images-exporter-sans-demon -
Deliver a complete image without its source registry
Package a published image with an integrity checksum and prove offline recovery without relying on Docker's local cache.
Graded on the state of the system attested 1 Dec 2026
Command to start it
dsoxlab start registry-air-gap -
Deliver an image a bare client can actually run
Build, publish and pull an image by digest from a bare second host with read-only credentials, prove it answers there, and prove the build secret survived in no layer.
Pass mark 75% attested 4 Nov 2026
Command to start it
dsoxlab start epreuve-livrer-une-image -
One image, four demands, two architectures
Rebuild a heavy single-stage image so that one single image is multi-stage without its compiler, under a measured size threshold, free of its build token in the layers and the history, and served for two architectures that both run, with the index's digest recorded.
Pass mark 75% attested 5 Nov 2026
Command to start it
dsoxlab start epreuve-reconstruire-une-image-pour-deux-architectures
Describe an application with Compose
11
-
Start and recreate a two-service Compose application
A two-service application starts from a single declaration, and comes back identical after its containers are recreated.
Graded on the state of the system attested 24 Nov 2026
Command to start it
dsoxlab start compose-premiere-stack -
Resolve Compose variables without mixing environments
A service receives the right values although three environment files contradict each other, including when the release changes at deployment.
Graded on the state of the system attested 24 Nov 2026
Command to start it
dsoxlab start compose-resolution-des-variables -
Separate frontend and data networks with Compose
The frontend shows the data served by the API, without being able to reach the data service itself, even after recreation.
Graded on the state of the system attested 24 Nov 2026
Command to start it
dsoxlab start compose-isolation-reseau -
Keep application data across Compose recreation
The data of a Compose application, initial and new alike, is still there after its containers are replaced.
Graded on the state of the system attested 24 Nov 2026
Command to start it
dsoxlab start compose-persistance -
Gate application startup on a successful migration
An application only starts on a migrated database, and replaying the migration loses nothing.
Graded on the state of the system attested 24 Nov 2026
Command to start it
dsoxlab start compose-tache-de-migration -
Grant a Compose secret only to its consumer
A single service reads a token, its value leaks nowhere, and a new value replaces it without changing the declaration.
Graded on the state of the system attested 24 Nov 2026
Command to start it
dsoxlab start compose-secrets -
Wait for readiness, not just a running container
A service that tries only once starts only when its server really answers, and an outage shows.
Graded on the state of the system attested 24 Nov 2026
Command to start it
dsoxlab start compose-sante-et-dependances -
Enforce Compose resource budgets on the engine
A service fits in three budgets the kernel really enforces, including after its container is replaced.
Graded on the state of the system attested 24 Nov 2026
Command to start it
dsoxlab start compose-ressources -
Deploy isolated development and production Compose projects
The same image runs on two machines, with a configuration and data specific to each environment.
Graded on the state of the system attested 25 Nov 2026
Command to start it
dsoxlab start compose-plusieurs-environnements -
Two variants from one base, and no dev mount left in deployment
One Compose application starts in development or in deployment: only the first sees the workstation's sources, and an optional service stays off until it is asked for.
Graded on the state of the system attested 24 Nov 2026
Command to start it
dsoxlab start compose-profils-et-variantes -
The stack that only works on the second try
Make a Compose stack start correctly the first time: wait for the service it depends on, take the password out of the environment without losing it, apply a memory limit, keep a restart policy, and split deployment from development.
Pass mark 75% attested 5 Nov 2026
Command to start it
dsoxlab start epreuve-fiabiliser-une-stack
Operate a Compose application
5
-
Roll back a release, and refuse the one that would lose data
Three releases follow one another without losing a single record, and you establish from when rolling back is no longer possible.
Graded on the state of the system attested 24 Nov 2026
Command to start it
dsoxlab start compose-retour-arriere -
Correlate business requests and attribute CPU saturation
A request can be followed end to end in the logs, no secret appears in them, and the saturated component is named by measurements.
Graded on the state of the system attested 24 Nov 2026
Command to start it
dsoxlab start compose-correlation-et-saturation -
Back up a Compose stack, and restore it elsewhere
Back up a running Compose stack, database and served files alike, then restore it into a fresh project and prove the data served is the data that was saved.
Graded on the state of the system attested 24 Nov 2026
Command to start it
dsoxlab start compose-sauver-et-restaurer -
Bring a Compose stack back into service
Rebuild a lost composition: two services in a named project, a front end that reaches its data by service name, a single façade published on the loopback, data that survives the stack being recreated, and values read from the provided environment file.
Pass mark 75% attested 23 Nov 2026
Command to start it
dsoxlab start epreuve-remettre-une-stack-en-service -
Restore a stack on another host, data included
A business request crosses the front end, the API and the database. A fault is injected without being announced: restore the service AND the witness record on a distinct host, without removing the data network isolation.
Pass mark 75% attested 5 Nov 2026
Command to start it
dsoxlab start epreuve-restaurer-une-stack
Administer and harden a Docker host
20
-
Configure persistent Docker log defaults
Every new container of the engine has logs of bounded size, without any option at creation.
Graded on the state of the system attested 25 Nov 2026
Command to start it
dsoxlab start docker-configurer-le-demon -
Create an SSH Docker context
A named Docker context drives the engine of a second VM, and the default context stays selected.
Graded on the state of the system attested 25 Nov 2026
Command to start it
dsoxlab start docker-contexte-ssh -
Rotate one container log
The logs of a chatty service no longer exceed the planned volume, whatever it writes.
Graded on the state of the system attested 25 Nov 2026
Command to start it
dsoxlab start docker-rotation-des-journaux -
Move the engine up without the gateway noticing
Docker Engine moves from 29.8.2 to 29.9.2 without interrupting the service the host provides or touching its data.
Graded on the state of the system attested 25 Nov 2026
Command to start it
dsoxlab start docker-mettre-a-jour-le-moteur -
Remove an unnecessary Docker grant
An audit account can no longer drive the Docker engine, and the rest of its rights do not change.
Graded on the state of the system attested 25 Nov 2026
Command to start it
dsoxlab start securite-groupe-docker -
Remove direct Docker socket access
An application container no longer reaches the Docker engine's socket, by any path.
Graded on the state of the system attested 25 Nov 2026
Command to start it
dsoxlab start securite-socket-lecture-seule -
Restrict a Docker API socket proxy
A tool reads the state of the engine and triggers a single action on it, without being able to become root on the host.
Graded on the state of the system attested 25 Nov 2026
Command to start it
dsoxlab start securite-socket-proxy -
Qualify a rootless Docker engine
A second Docker engine runs under an ordinary account, with its own images, network and data.
Graded on the state of the system attested 25 Nov 2026
Command to start it
dsoxlab start securite-rootless -
Give a service back the one capability it really needs
Recreate a service that stops when every capability is dropped, giving back only the one it needs, without privileged mode and without a superfluous capability, and prove what it can no longer do.
Graded on the state of the system attested 25 Nov 2026
Command to start it
dsoxlab start securite-capabilities -
Prevent privilege gain at runtime
A setuid program present in a container no longer gives root to the ordinary account that runs it.
Graded on the state of the system attested 25 Nov 2026
Command to start it
dsoxlab start securite-no-new-privileges -
Measure a targeted seccomp syscall denial
The kernel denies a container one precise system call, without blocking the others or reopening what was already denied.
Graded on the state of the system attested 25 Nov 2026
Command to start it
dsoxlab start securite-seccomp -
Write an AppArmor policy that refuses by default
The kernel denies a container the reading of a private file, without hindering it on what it is allowed to do.
Graded on the state of the system attested 25 Nov 2026
Command to start it
dsoxlab start securite-apparmor -
Use a read-only container root filesystem
A worker still does its job in a container whose file system refuses writes.
Graded on the state of the system attested 25 Nov 2026
Command to start it
dsoxlab start container-systeme-en-lecture-seule -
Repair one routed firewall path without dropping protections
A client reaches a server through a router again, and everything that was refused stays refused.
Graded on the state of the system attested 25 Nov 2026
Command to start it
dsoxlab start reseau-pare-feu-cible -
Bound the container process count
Bring a service back within its task budget, and prove that a burst of processes is refused without taking it down.
Graded on the state of the system attested 25 Nov 2026
Command to start it
dsoxlab start container-limite-de-processus -
Keep a runtime token out of Env
A service reads a private token, which appears neither in its environment, nor in its logs, nor in its image.
Graded on the state of the system attested 25 Nov 2026
Command to start it
dsoxlab start secrets-au-runtime -
Set a hard memory ceiling
Bring a service back within its memory budget, and prove that an oversized allocation is killed without taking it down.
Graded on the state of the system attested 25 Nov 2026
Command to start it
dsoxlab start container-memoire-et-oom -
Recover space in a bounded ENOSPC sandbox
A worker whose workspace is full can write again, without losing the file to keep or being recreated.
Graded on the state of the system attested 25 Nov 2026
Command to start it
dsoxlab start troubleshoot-disque-plein -
Recover retained orphan data and remove only disposable data
A service gets its original data back intact, and only the volume that became useless is gone.
Graded on the state of the system attested 25 Nov 2026
Command to start it
dsoxlab start donnees-volume-orphelin -
Take over a Docker host nobody has maintained
Recover a neglected Docker host: impose log rotation and restart the daemon, give back the space taken for nothing without losing the application's volume, settle who may still talk to the engine, put a read-only proxy in front of the socket, and close the TCP API.
Pass mark 75% attested 4 Nov 2026
Command to start it
dsoxlab start epreuve-reprendre-un-hote-docker
Industrialise the delivery chain
5
-
Run Compose as a reproducible local CI job
Build real commits, publish only accepted image archives with provenance, refuse uncommitted source and always clean the isolated stack.
Graded on the state of the system attested 23 Nov 2026
Command to start it
dsoxlab start compose-dans-une-ci -
Gate an image using dated, real offline vulnerability scans
A gate refuses an image affected by a precise CVE, based on a dated offline scan.
Graded on the state of the system attested 25 Nov 2026
Command to start it
dsoxlab start image-scan-de-vulnerabilites -
Verify a container archive signature and its approved signer identity
A verifier accepts an archive signed by the approved author and refuses everything else.
Graded on the state of the system attested 25 Nov 2026
Command to start it
dsoxlab start images-signature-identite -
Deliver and recover an isolated application end to end
Build and deploy by digest, recover incidents, restore on a second VM, refuse incompatible rollback and maintain without losing live reads or data.
Pass mark 75% attested 23 Nov 2026
Command to start it
dsoxlab start capstone-chaine-complete -
Harden a service without breaking it
Strip a service of the rights it does not need, make its root read-only with declared writable paths, take its secret out of the environment without losing it, restore a blocked flow without disabling the firewall, and keep the one volume that matters.
Pass mark 75% attested 3 Nov 2026
Command to start it
dsoxlab start epreuve-durcir-sans-casser
Proxmox VE: install, operate, secure and automate a type 1 hypervisor
Proxmox VE: install, operate, secure and automate a type 1 hypervisor
Add this catalogue dsoxlab catalog add https://github.com/stephrobert/proxmox-dsoxlab-training
Deploy a node and its first instances
6
-
Check your Proxmox VE installation against the specification
Grade a Proxmox VE 9 installation the learner performed themselves against the published specification: version and base distribution, CPU and memory, the raw second disk the storage labs need, nested virtualization, the vmbr0 bridge, and the no-subscription repository. The verdict names each failing item so the installation can be fixed and graded again.
Graded on the state of the system attested 30 Oct 2026
Command to start it
dsoxlab start verifier-son-installation -
Connect a VM to the network and fix the fault at the right layer
A witness VM runs and its service listens, yet no client reaches it: its card is plugged into an isolated bridge. Find the cause from the node, plug the card of that VM into vmbr0 without recreating the VM or touching the isolated bridge, and prove that the fix survives a guest reboot and a reload of the node network.
Graded on the state of the system attested 30 Oct 2026
Command to start it
dsoxlab start pve-raccorder-instance -
Read Proxmox tasks: tie each result to its task
Three VMs were started and stopped on the node, one of them on a disk that no longer exists. Read the task log through the interface and the API, report each start task by its UPID with its final result and cause, give the current state of the sentinel VM rather than its old log, then remove the temporary VMs without touching the sentinel.
Graded on the state of the system attested 30 Oct 2026
Command to start it
dsoxlab start pve-suivre-tache -
Create a KVM VM and check that its service answers
Create VM 150 on Proxmox VE with the hardware contract taught by the lesson (q35, OVMF, host CPU, VirtIO SCSI single, VirtIO network on vmbr0), install Debian on it, make it boot from its disk with no ISO left, and serve a witness page that a client outside the guest can read, before and after a reboot.
Graded on the state of the system attested 30 Oct 2026
Command to start it
dsoxlab start pve-creer-vm -
Create an unprivileged LXC container with bounded resources
Create container 170 from the verified Debian 13 template, unprivileged, with one core, 512 MB of RAM and no swap, run a service in it under a dedicated system user, and prove from the node that isolation and limits are really applied and that data and service survive a reboot.
Graded on the state of the system attested 30 Oct 2026
Command to start it
dsoxlab start pve-creer-lxc -
Restore the QEMU guest agent without forcing the VM off
The QEMU guest agent of VM 180 does not answer, for one of two causes drawn at random: the device is not enabled in Proxmox, or the package is missing in the guest. Find which one, fix it, restart the VM cleanly rather than forcing it off, and prove from the node that the agent answers and reports the right address while the workload keeps its data.
Graded on the state of the system attested 30 Oct 2026
Command to start it
dsoxlab start pve-reparer-agent
Governing and Securing AI-Generated Applications: verifiable labs
Governing and Securing AI-Generated Applications: verifiable labs
Add this catalogue dsoxlab catalog add https://github.com/stephrobert/applications-ia-dsoxlab-training
Level 1: classify, frame and vibe code with a method
9
-
Classify four AI-built applications and apply the policy of their class
Four requests, including the portail-achats, each come with the class their requester asks for. Read them against the course grid (data, flows to the information system, users, business criticality: the highest criterion wins), reject the underestimated requests, and apply to each application the policy its class imposes.
Graded on the state of the system attested 16 Nov 2026
Command to start it
dsoxlab start vc-classifier-applications -
Write the contract of an AI-built application and keep the candidate repository from authorising itself
The coding agent drafted the portail-achats contract so that it "can be deployed". Rewrite application.yaml until it passes the schema of the policy repository (owners, data with their purpose and retention, flows, dependencies, class), then sign the decision as the approver in the policy repository, and check that the same decision placed in the candidate repository authorises nothing.
Graded on the state of the system attested 16 Nov 2026
Command to start it
dsoxlab start vc-contrat-applicatif -
Review an agent's changes against a specification and its tests
An agent proposes two changes to the portail-achats order module. Run the tests, apply the change that meets the specification, refuse the one that does not and log why, then make the new requirement verifiable with an acceptance criterion tied to a test.
Graded on the state of the system attested 16 Nov 2026
Command to start it
dsoxlab start vc-boucle-methode -
Turn a business request into verifiable criteria and have an agent implement them
The head of purchasing asks, in prose, for an approval rule in the portail-achats. Write the requirements and acceptance criteria in SPEC.md, the tests that prove them, and a plan of slices that says which files the agent may change. Then run a simulated agent: it must implement the change without rewriting the specification, weakening the tests or touching another module.
Graded on the state of the system attested 15 Nov 2026
Command to start it
dsoxlab start vc-specification-agent -
Resume an interrupted coding session from Git, not from memory
A coding session on the portail-achats stopped in the middle of a slice. It left commits, uncommitted work and a progress journal that does not quite match the repository. Start from the real state of Git, decide what to keep and what to discard, finish the slice without touching the specification or the tests of the criteria already done, and leave a journal the next session can trust.
Graded on the state of the system attested 16 Nov 2026
Command to start it
dsoxlab start vc-reprise-session -
Check the dependencies an agent proposes before installing them
A coding agent proposes three dependencies for the portail-achats. Check each one against the internal registry before installing anything, refuse what cannot be trusted as proposed, and deliver a list pinned by hash that installs offline.
Graded on the state of the system attested 16 Nov 2026
Command to start it
dsoxlab start vc-paquet-inexistant -
Design the context of a coding agent and check what it really loaded
The portail-achats gives its agent everything in one CLAUDE.md, including a change log of several thousand lines. Compare this configuration with your own on the same task: a short CLAUDE.md with a test command that works, a rule on amounts loaded only for the order module, and the big document cited by its path instead of imported. A simulated, deterministic agent logs what it loaded and why.
Graded on the state of the system attested 16 Nov 2026
Command to start it
dsoxlab start vc-contexte-agent -
Set up a minimal harness for a coding agent and test it on a simulated agent
A new repository of the portail-achats has no harness. Write its project instructions (AGENTS.md), its permissions and a PreToolUse hook (.claude/settings.json) and its list of approved MCP servers (.mcp.json), then run a simulated, deterministic agent: it must fail to read the secret, directly or through the shell, be refused an unknown MCP server and be blocked when it deletes a test, while its ordinary work goes through.
Graded on the state of the system attested 16 Nov 2026
Command to start it
dsoxlab start vc-harness-agent-ia -
Level 1 test: qualify an undocumented application
Nobody wrote down what the portail-achats does. Read its code to classify it with the course grid, rewrite the contract its coding agent drafted until it says what the code does and passes the policy, then prepare and sign its decision as the approver, and show that the platform barrier stays shut without it.
Pass mark 70% attested 15 Nov 2026
Command to start it
dsoxlab start vc-epreuve-classification
Claude Code: one mechanism per lab
5
-
Test a hook that succeeds, blocks and crashes
The hooks of a project look fine and protect nothing: the guard crashes, the linter reports to nobody, the test run never stops the turn. Replay them on a hook bench with fixed PreToolUse, PostToolUse and Stop events, read their exit codes (0, 1, 2) and what Claude would receive, then repair them: exit code 2 with stderr to block or report, and a JSON permissionDecision in exit code 0 to refuse an edit.
Graded on the state of the system attested 15 Nov 2026
Command to start it
dsoxlab start cc-hook-qui-echoue -
Refuse an MCP server that a repository declares without approval
A contribution added a server to the .mcp.json of the portail-achats repository, and nobody approved it. Find it by comparing .mcp.json with the list of approved servers, refuse it with a permissions.deny rule in .claude/settings.json so that it stays refused if it comes back, and keep the approved servers and their permissions. An offline bench, not Claude Code, says which servers would be loaded or refused, and why.
Graded on the state of the system attested 15 Nov 2026
Command to start it
dsoxlab start cc-serveur-mcp-non-approuve -
Make allow, ask and deny rules apply, at project and managed level
The coding agent of the portail-achats repository force-pushed to main: the project allows Bash(git *), and its one deny rule only matches one exact text. Write the policy of the team and of the security team: deny every form of forced push in the project without removing the team's allow rules, make every other push ask first even where a more precise allow matches, and refuse curl, wget and the secrets/ folder at the managed level, which the project cannot override. An offline simulated agent, not Claude Code, says what the merged rules decide for each action. This lab proves how the rules are read, not their effect in a real session.
Graded on the state of the system attested 16 Nov 2026
Command to start it
dsoxlab start cc-regles-allow-ask-deny -
Limit a reviewer subagent to the tools that read
During a review, the relecteur subagent of the portail-achats repository ran the linter with --fix, edited the code, committed, pushed and closed the tracker issue. Its file has no tools field, so it inherits every tool of the session. Give it an explicit tools list in its frontmatter: what a review needs to read, and nothing that writes. An offline bench, not Claude Code, replays the calls it attempted and says which would reach a tool.
Graded on the state of the system attested 15 Nov 2026
Command to start it
dsoxlab start cc-subagent-relecteur-borne -
Build a reusable validation skill that runs its own scripts
The portail-achats repository has a first version of a /valider skill that Claude Code never loaded: wrong file name, invalid name, steps that call scripts outside the skill, one of them misspelled, and allowed-tools that covers none of them. Turn it into a self-contained skill: a valid SKILL.md, its three scripts in its own scripts/ folder, executable and called directly, and allowed-tools that pre-approves exactly those calls. An offline bench, not Claude Code, checks the skill and runs its steps, including on copies of the project where a defect was injected.
Graded on the state of the system attested 16 Nov 2026
Command to start it
dsoxlab start cc-skill-de-validation
No lab matches this search.