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.
| Item | What to check |
| Exam name | Puppet Professional certification (the current exam edition) |
| Format | Multiple choice questions, taken online with a proctor |
| Duration and number of questions | See the official exam details page. The recent edition was announced with about 60 questions in 90 minutes |
| Software versions tested | Open source Puppet 8.x and the matching Puppet Enterprise release. Check the minimum versions listed |
| Fee | Listed on the exam page. A recent edition was priced at around USD 200 |
| Update cycle | The 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
| Topic | What to practise |
| Puppet architecture | Agent, server, catalog, facts, certificates, run flow |
| Puppet language | Resources, types, variables, conditionals, iteration, classes, defined types |
| Resource types | package, file, service, user, group, exec, cron, notify |
| Relationships and ordering | require, before, notify, subscribe, arrows, containment |
| Modules | Layout, autoloading, templates, files, Forge, Puppetfile |
| Hiera and lookup | hiera.yaml v5, automatic lookup, merge, puppet lookup |
| Facts | Core facts, trusted facts, custom and external facts |
| Classification | site.pp, roles and profiles, ENC, environments |
| Troubleshooting | Agent output, noop, debug, common errors |
| Code management | r10k or Code Manager, environments, workflow |
| Bolt basics | Tasks, plans, inventory |
8-Week Study Plan
| Week | Focus | Lab |
| 1 | Architecture, install, first manifest, resource basics | puppet apply on one VM: package, file, service |
| 2 | Language: variables, facts, conditionals, loops | Make a manifest work on Rocky and Ubuntu |
| 3 | Classes, defined types, relationships, templates | Nginx class with EPP template and notify |
| 4 | Modules, Forge, Puppetfile, r10k | Control repo with 3 modules and 2 environments |
| 5 | Hiera, facts, merge strategies, secrets | Data-driven profile with node, role, common levels |
| 6 | Server, certificates, classification, roles and profiles | Server + 2 agents, autosign, roles |
| 7 | Testing, troubleshooting, Bolt | rspec-puppet tests, break and fix runs, a Bolt plan |
| 8 | Review, mock questions, projects | Redo 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)
| Item | Path |
| 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
- What is the difference between
require and notify?
- Where does Puppet look for the class
profile::nginx?
- What does a selector return and how is it different from
case?
- You set
ntp::servers in common.yaml and in role/web.yaml. Which value wins for a web node and why?
- How do you stop an
exec from running on every run?
- How do you find out why a Hiera value is not what you expect?
- What is the exit code of
puppet agent -t when changes were applied?
- How do you deploy a Git branch as an environment?
- Why would a Puppet 8 run fail on a manifest that uses
$osfamily?
- What is the difference between a profile and a role?
Answers (Short)
require only orders. notify orders and also sends a refresh if the resource changes
site-modules/profile/manifests/nginx.pp (or modules/) in the environment modulepath
- A selector returns a value used in an expression.
case runs statements
role/web.yaml wins because it is higher in the hierarchy (first match), unless a merge strategy is set
- Add
creates, unless, onlyif or refreshonly
puppet lookup KEY --node NODE --explain
2
- Push the branch and run
r10k deploy environment BRANCH -p
- Legacy facts are removed or hidden. Use
$facts['os']['family']
- 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
| Step | Skill | Why |
| 1 | Linux administration (systemd, networking, storage, security) | Puppet automates what you already understand |
| 2 | Git and CI/CD (GitHub Actions, GitLab CI, Jenkins) | Control repos and pipelines |
| 3 | Terraform | Create the infrastructure Puppet configures |
| 4 | Ansible | Common in many companies. Great for orchestration and quick tasks |
| 5 | Docker and Kubernetes | Application layer. Puppet manages the hosts |
| 6 | Cloud (AWS, Azure or GCP) | Where most servers run |
| 7 | Monitoring and logging (Prometheus, Grafana, ELK) | See what automation is doing |
| 8 | Security 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.