DevOps Practice Labs, Cheat Sheets, Certification Roadmap and Career Path

DevOps Certification 22 min min read Updated: Nov 17, 2026 Beginner
DevOps Practice Labs, Cheat Sheets, Certification Roadmap and Career Path
Beginner Topic 3 of 3

Practice Labs

Use a free local setup (Docker, kind) or a sandbox cloud account with a budget alert. Delete lab resources when finished.

#LabHint
1Write a Bash script that checks disk usage, memory and a list of URLs, exits non-zero on a problem and runs from cronset -euo pipefail, curl -fsS, df -h
2Create a Git repo, make a feature branch, cause and resolve a merge conflict, then clean up with an interactive rebasegit rebase -i, git merge --abort
3Containerize an app with a multi-stage, non-root Dockerfile and compare image sizesdocker history, dive
4Run an app, a database and a cache with Docker Compose using health checks and a volumedepends_on: condition: service_healthy
5Create a kind cluster, deploy with a Deployment and Service, do a rolling update and rollbackkubectl rollout undo
6Add ConfigMap, Secret, probes, resource limits and an HPA. Generate load and observe scalingkubectl top, hey or k6
7Write a GitHub Actions pipeline: test, scan, build, push, deploy. Make it fail on a vulnerable dependencytrivy, matrix, caching
8Create a VPC, instance and security group with Terraform. Use a remote backend and a moduleS3 backend, terraform plan -out
9Configure two servers with an Ansible role, run it twice and prove idempotency--check --diff
10Install Prometheus and Grafana, instrument an app, graph p95 latency and alert on error ratehistogram_quantile, Alertmanager
11Install Argo CD, deploy an app from Git, break it by hand and watch self-healselfHeal: true
12Add Kyverno policies and a canary rollout with automated analysis, then simulate an incident and write a postmortemArgo Rollouts AnalysisTemplate

Cheat Sheet: Linux

TaskCommand
Disk, memory, loaddf -h, free -h, uptime, top
Find big foldersdu -sh * | sort -h
Search textgrep -rin "error" /var/log/app/
Follow logtail -f app.log, journalctl -u svc -f
Listening portsss -tulpn
Service controlsystemctl status|start|stop|restart|enable svc
Permissionschmod 640 file, chown user:group file
Remote copy / syncscp, rsync -avz
Processesps aux | grep x, kill -15 PID

Cheat Sheet: Git

TaskCommand
Status, diff, loggit status, git diff, git log --oneline --graph --all
Stage and commitgit add -p, git commit -m "msg"
Branchgit switch -c name, git branch -d name
Update branchgit fetch, git rebase origin/main
Undo safelygit revert SHA, git restore file
Recovergit reflog, git reset --hard SHA
Save workgit stash push -m x, git stash pop
Tag releasegit tag -a v1.0.0 -m x && git push origin v1.0.0

Cheat Sheet: Docker

TaskCommand
Rundocker run -d --name web -p 8080:80 -e K=v -v data:/path img
List, logs, shelldocker ps -a, docker logs -f web, docker exec -it web sh
Build and pushdocker build -t repo/app:1.0 ., docker push repo/app:1.0
Composedocker compose up -d --build, docker compose logs -f, docker compose down
Cleandocker system prune -a, docker volume prune
Inspectdocker inspect web, docker stats

Cheat Sheet: kubectl

TaskCommand
Context and namespacekubectl config get-contexts, kubectl config set-context --current --namespace=dev
Listkubectl get pods -A -o wide, kubectl get all
Inspectkubectl describe pod X, kubectl get events --sort-by=.lastTimestamp
Logs and shellkubectl logs X --previous, kubectl exec -it X -- sh
Create YAML fastkubectl create deploy web --image=nginx --dry-run=client -o yaml
Apply / deletekubectl apply -f x.yaml, kubectl delete -f x.yaml
Scale and updatekubectl scale deploy web --replicas=5, kubectl set image deploy/web c=img:2
Rolloutkubectl rollout status|history|undo deploy/web
Exposekubectl expose deploy web --port=80
Debug accesskubectl port-forward svc/web 8080:80, kubectl auth can-i list pods
Node maintenancekubectl cordon|drain|uncordon node
Resource usagekubectl top pods|nodes

Cheat Sheet: Terraform and Ansible

TaskCommand
Terraform workflowterraform init, fmt, validate, plan -out=tfplan, apply tfplan, destroy
Stateterraform state list|show|mv|rm, terraform import
Driftterraform plan -refresh-only
Consoleterraform console
Ansible pingansible all -i inv -m ping
Run playbookansible-playbook -i inv site.yml --check --diff, --limit host, --tags x
Vaultansible-vault create|edit|encrypt_string
Docsansible-doc ansible.builtin.copy

Which Tool for Which Job?

NeedTool
Source control and reviewGit, GitHub, GitLab
Package appsDocker, Buildpacks
Run containers at scaleKubernetes (EKS, AKS, GKE), ECS
CI/CDGitHub Actions, GitLab CI, Jenkins, Azure Pipelines, CodePipeline
Provision infrastructureTerraform or OpenTofu, CloudFormation, Bicep, Pulumi
Configure serversAnsible, cloud-init, Packer for images
Deploy to KubernetesHelm, Kustomize, Argo CD, Flux
Safe releasesArgo Rollouts, Flagger, feature flags
Metrics and alertsPrometheus, Grafana, Alertmanager, CloudWatch
Logs and tracesLoki, ELK/OpenSearch, OpenTelemetry, Tempo, Jaeger
SecurityTrivy, Semgrep, Gitleaks, cosign, Kyverno, Falco, Vault
Developer platformBackstage, Crossplane

Common Mistakes To Avoid

  • Leaving clusters, NAT gateways, load balancers and databases running after labs
  • Hard-coding secrets or committing state files and kubeconfigs
  • Using latest image tags and no resource limits
  • Skipping health checks, so bad releases look healthy
  • Treating Terraform state as an afterthought (no remote backend or locking)
  • Alerting on everything and ignoring pages (alert fatigue)
  • Giving CI and applications admin permissions
  • Making manual changes in production that code does not describe
  • Learning tools without building a project to connect them

Learning Roadmap

StageLearnOutcome
1. FoundationsLinux, Bash, networking, YAML/JSON, one programming language (Python or Go)Comfortable in a terminal and scripts
2. Version controlGit, GitHub or GitLab, branching, pull requestsTeam workflow
3. ContainersDocker, Compose, registries, image securityPackage any app
4. CI/CDGitHub Actions or GitLab CI, Jenkins basics, testing and artifactsAutomated pipeline
5. Cloud and IaCAWS or Azure fundamentals, Terraform, Ansible, PackerInfrastructure from code
6. KubernetesWorkloads, networking, storage, Helm, RBAC, troubleshootingRun production workloads
7. Observability and reliabilityPrometheus, Grafana, logs, tracing, SLOs, incident responseKnow and improve production
8. Security and platformDevSecOps, GitOps, policy as code, progressive delivery, platform engineeringSenior-level skills

Certification Path

Always verify: Exam names, versions, prices, durations and prerequisites change. Use each vendor's official page for the current details before you book.
CertificationBest forFormat and notes
Terraform Associate (004)Infrastructure as code basics, a good first IaC credentialAbout one hour, multiple choice, online proctored. Tests Terraform concepts and HCP Terraform
CKA (Certified Kubernetes Administrator)Operate and troubleshoot clustersHands-on, time-limited lab exam in a terminal. You may use the official docs
CKADBuild and deploy apps on KubernetesHands-on lab exam focused on workloads, config, services and observability
CKSKubernetes security specializationHands-on. Requires active CKA
AWS Certified DevOps Engineer - Professional (DOP-C02)AWS CI/CD, IaC, monitoring, resilience, security automationScenario-based multiple choice. Experience with AWS strongly recommended
Microsoft Certified: DevOps Engineer Expert (AZ-400)Azure DevOps, GitHub, pipelines, IaC, monitoringScenario-based. Check Microsoft Learn for prerequisites
Google Professional Cloud DevOps EngineerSRE and delivery on Google CloudScenario-based multiple choice
Cloud foundations (AWS Cloud Practitioner, AZ-900, Associate level exams)Starting point before the professional certificationsCheaper and shorter

Suggested Order

  1. Foundations: Linux, Git, Docker (no exam needed, but do the labs)
  2. Terraform Associate and one cloud associate certification (AWS Solutions Architect Associate, AZ-104 or similar)
  3. CKA, then CKAD or CKS depending on your role
  4. A professional DevOps certification for your main cloud (DOP-C02 or AZ-400)
  5. Keep building projects, because employers value demonstrated skill as much as certificates

Exam Preparation Tips

  • Read the official exam guide and map every objective to a lab you did yourself
  • For hands-on exams (CKA, CKAD, CKS) practice speed: aliases, --dry-run=client -o yaml, kubectl explain, searching the allowed documentation, and managing time by skipping hard questions first
  • For scenario exams (AWS, Azure) practice choosing the option that is the most automated, secure, scalable and least operational effort
  • Take timed practice exams and review every wrong answer by topic
  • Use official labs and free tiers. Do not rely only on dumps. They are against exam rules and teach nothing
  • Schedule the exam to create a deadline, and plan renewal (most certifications expire after 2 to 3 years)

Resume and Portfolio Ideas

  • Show three projects with a README, architecture diagram and a link to the repository: CI/CD to Kubernetes, three-tier AWS with Terraform and Ansible, and the GitOps observability platform
  • Use measurable bullets: reduced deployment time from 2 hours to 10 minutes, cut cloud cost by 30 percent, achieved 99.9 percent availability
  • List tools by category, and be honest about your depth
  • Write short blog posts about problems you solved, and contribute to open source documentation or issues
  • Prepare 3 stories (incident, improvement, conflict or learning) for behavioral questions

Career Paths

RoleFocus
DevOps EngineerPipelines, infrastructure as code, containers, cloud automation
Site Reliability Engineer (SRE)SLOs, incident response, automation, capacity, reliability engineering
Platform EngineerInternal developer platform, golden paths, Kubernetes and tooling as a product
Cloud Engineer / ArchitectCloud design, networking, security, cost, migrations
DevSecOps / Security EngineerPipeline security, supply chain, compliance, cloud security
Release / Build EngineerBuild systems, versioning, release management

Conclusion

Practice the twelve labs, keep the cheat sheets close, follow the eight-stage roadmap, choose certifications that match your role (Terraform, CKA and a cloud DevOps professional exam are a strong combination), and prove your skills with three well-documented projects.

Quick Summary: 12 labs; cheat sheets; roadmap; Terraform Associate + CKA + cloud DevOps cert; verify exam details; build and document projects.

Get Newsletter

Subscibe to our newsletter and we will notify you about the newest updates on Edugators