Puppet Certification Guide, Cheat Sheet and Learning Roadmap

Puppet Training Course 22 min min read Updated: Nov 17, 2026 Beginner
Puppet Certification Guide, Cheat Sheet and Learning Roadmap
Beginner Topic 3 of 3

Puppet Certification

Puppet offers a professional certification exam for people who write and manage Puppet code. Always check the official certification page for the current exam name, fee, number of questions, time limit, required versions and retake rules, because these change when a new exam version is released.

ItemWhat to check
Exam namePuppet Professional certification (the current exam edition)
FormatMultiple choice questions, taken online with a proctor
Duration and number of questionsSee the official exam details page. The recent edition was announced with about 60 questions in 90 minutes
Software versions testedOpen source Puppet 8.x and the matching Puppet Enterprise release. Check the minimum versions listed
FeeListed on the exam page. A recent edition was priced at around USD 200
Update cycleThe exam is refreshed roughly every two years. Study the topics list for your edition
Open source note: Puppet 7 is end of life and the community also has OpenVox. The exam follows the vendor's current product. Most knowledge (language, modules, Hiera, roles and profiles) is the same on both, but read the exam objectives carefully.

Typical Exam Topics

TopicWhat to practise
Puppet architectureAgent, server, catalog, facts, certificates, run flow
Puppet languageResources, types, variables, conditionals, iteration, classes, defined types
Resource typespackage, file, service, user, group, exec, cron, notify
Relationships and orderingrequire, before, notify, subscribe, arrows, containment
ModulesLayout, autoloading, templates, files, Forge, Puppetfile
Hiera and lookuphiera.yaml v5, automatic lookup, merge, puppet lookup
FactsCore facts, trusted facts, custom and external facts
Classificationsite.pp, roles and profiles, ENC, environments
TroubleshootingAgent output, noop, debug, common errors
Code managementr10k or Code Manager, environments, workflow
Bolt basicsTasks, plans, inventory

8-Week Study Plan

WeekFocusLab
1Architecture, install, first manifest, resource basicspuppet apply on one VM: package, file, service
2Language: variables, facts, conditionals, loopsMake a manifest work on Rocky and Ubuntu
3Classes, defined types, relationships, templatesNginx class with EPP template and notify
4Modules, Forge, Puppetfile, r10kControl repo with 3 modules and 2 environments
5Hiera, facts, merge strategies, secretsData-driven profile with node, role, common levels
6Server, certificates, classification, roles and profilesServer + 2 agents, autosign, roles
7Testing, troubleshooting, Boltrspec-puppet tests, break and fix runs, a Bolt plan
8Review, mock questions, projectsRedo Project 1 and 2 from memory, timed practice

Cheat Sheet: Commands

bash # Agent puppet agent -t # run now (verbose) puppet agent -t --noop # dry run puppet agent -t --environment dev # other environment puppet agent --disable 'reason' / --enable puppet apply site.pp # apply a file locally puppet apply -e 'notice("hi")' puppet resource package nginx # inspect state puppet describe file # type help puppet parser validate x.pp # syntax check puppet-lint x.pp # style puppet config print modulepath # show a setting puppet module list --tree # Facts and data facter # all facts facter os.family # one fact puppet lookup KEY --node NODE --explain # Hiera debug # Server and certificates puppetserver ca list --all puppetserver ca sign --certname NAME puppetserver ca clean --certname NAME puppetserver ca revoke --certname NAME # Code deployment r10k deploy environment -p r10k puppetfile check # Tools pdk new module X / pdk validate / pdk test unit bolt command run 'uptime' -t web bolt task run package action=status name=nginx -t web bolt plan run ops::patch targets=web

Cheat Sheet: Language

puppet # Resources package { 'nginx': ensure => installed } file { '/etc/app.conf': ensure => file, owner => 'root', mode => '0644', content => epp('mod/app.conf.epp', {...}), notify => Service['app'] } service { 'app': ensure => running, enable => true } user { 'alice': ensure => present, groups => ['sudo'], managehome => true } exec { 'x': command => '/bin/true', creates => '/tmp/x', path => ['/bin'] } # Variables and data $x = 'text'; $n = 5; $arr = [1,2]; $h = { 'k' => 'v' }; "interpolate ${x}" $facts['os']['family'] $trusted['certname'] $arr[0] $h['k'] Sensitive('secret') # Control flow if $a == 1 { } elsif $a == 2 { } else { } unless $x { } case $x { 'a': { } 'b', 'c': { } default: { } } $v = $x ? { 'a' => 1, default => 2 } $list.each |$i| { } $list.map |$i| { $i * 2 } $list.filter |$i| { $i > 1 } # Classes class foo (String $p = 'x') { } include foo class { 'foo': p => 'y' } define foo::bar ($port = 80) { } foo::bar { 'title': port => 8080 } # Relationships Package['x'] -> File['y'] ~> Service['z'] require => X before => X notify => X subscribe => X contain foo::sub Class['a'] -> Class['b'] # Operators and types == != < > <= >= and or ! =~ !~ in + - * / % Integer String Boolean Array[String] Hash[String,Integer] Optional[String] Enum['a','b'] Variant[A,B]

Cheat Sheet: Directories (Linux packages)

ItemPath
Puppet binaries/opt/puppetlabs/bin/
Config/etc/puppetlabs/puppet/puppet.conf
Code and environments/etc/puppetlabs/code/environments/
Server config/etc/puppetlabs/puppetserver/
SSL (agent)/etc/puppetlabs/puppet/ssl/
CA (server)/etc/puppetlabs/puppetserver/ca/
External facts/etc/puppetlabs/facter/facts.d/
Server log/var/log/puppetlabs/puppetserver/puppetserver.log
Last run files/opt/puppetlabs/puppet/public/last_run_summary.yaml

Practice Questions

  1. What is the difference between require and notify?
  2. Where does Puppet look for the class profile::nginx?
  3. What does a selector return and how is it different from case?
  4. You set ntp::servers in common.yaml and in role/web.yaml. Which value wins for a web node and why?
  5. How do you stop an exec from running on every run?
  6. How do you find out why a Hiera value is not what you expect?
  7. What is the exit code of puppet agent -t when changes were applied?
  8. How do you deploy a Git branch as an environment?
  9. Why would a Puppet 8 run fail on a manifest that uses $osfamily?
  10. What is the difference between a profile and a role?

Answers (Short)

  1. require only orders. notify orders and also sends a refresh if the resource changes
  2. site-modules/profile/manifests/nginx.pp (or modules/) in the environment modulepath
  3. A selector returns a value used in an expression. case runs statements
  4. role/web.yaml wins because it is higher in the hierarchy (first match), unless a merge strategy is set
  5. Add creates, unless, onlyif or refreshonly
  6. puppet lookup KEY --node NODE --explain
  7. 2
  8. Push the branch and run r10k deploy environment BRANCH -p
  9. Legacy facts are removed or hidden. Use $facts['os']['family']
  10. A profile configures a technology stack. A role names a business function by including profiles

Exam Day Tips

  • Read the official exam guide and system requirements early, and test your computer and camera
  • Read each question twice, watch for words like not, first, best, except
  • Eliminate wrong answers, then choose. Flag hard ones and return
  • Remember the defaults (30 minute run interval, port 8140, first merge)
  • Practise with real commands. Hands-on memory is faster than rote memory

Learning Roadmap After Puppet

StepSkillWhy
1Linux administration (systemd, networking, storage, security)Puppet automates what you already understand
2Git and CI/CD (GitHub Actions, GitLab CI, Jenkins)Control repos and pipelines
3TerraformCreate the infrastructure Puppet configures
4AnsibleCommon in many companies. Great for orchestration and quick tasks
5Docker and KubernetesApplication layer. Puppet manages the hosts
6Cloud (AWS, Azure or GCP)Where most servers run
7Monitoring and logging (Prometheus, Grafana, ELK)See what automation is doing
8Security and compliance (CIS, OpenSCAP, Vault)High-demand skills with Puppet

Portfolio Ideas

  • Publish your control repo (without secrets) with roles and profiles and a README
  • Publish a small module on GitHub with tests and CI
  • Write a short blog post on your hardening profile or Bolt patch plan
  • Add a diagram of your lab setup and a short demo video

Conclusion

Plan your certification with the official exam page, follow a hands-on study plan, keep the cheat sheet handy, and build projects you can show. Puppet skills combine very well with Terraform, Ansible, Git and cloud knowledge.

Quick Summary: check official exam page; 8-week lab plan; cheat sheet; defaults 30m/8140/first; build portfolio; learn Terraform, Ansible, Kubernetes next.

Get Newsletter

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