Which Puppet resource type would you use to ensure the package `nginx` is installed on a node?
Puppet206 Language Category
Question · Easy
In Puppet DSL, what is the correct syntax to declare a `file` resource that ensures `/etc/motd` exists with specific content?
Which Puppet metaparameter creates an explicit ordering dependency so resource A is applied before resource B?
Tech Exam Prep Podcast
Listen on Spotify
Podcast
Which chaining arrow declares that resource A must be applied first AND that any changes to A trigger a refresh of B?
Question · Medium
What is the difference between Puppet's `class` and `define` (defined type)?
Which conditional statement is most idiomatic for selecting a value based on multiple discrete options for a fact like `$facts['os']['family']`?
Which Puppet variable scope rule applies to a top-scope variable like `$::environment`?
Question · Hard
Which symbol in Puppet DSL declares a resource reference (capitalized type and title used as a value)?
Which directive declares that a node should include the `webserver` class?
What does the `ensure => latest` value on a `package` resource do?
Which built-in function evaluates a template file and returns the rendered string?
Which interpolation syntax inside a double-quoted string correctly references a hash element of a fact?
Which data type declaration restricts a class parameter to a positive integer?
Which iterator function applies a block to each element of an array or hash?
What is the recommended pattern for organizing Puppet code into reusable building blocks and host-specific composition?
Puppet206 Modules Category
What is the standard directory structure for a Puppet module?
In a module, where should a class named `nginx::config` be defined?
What file in a module declares its dependencies on other modules?
What is the purpose of a Puppetfile in a control repository?
Which command initializes a new module skeleton using the Puppet Development Kit?
In the Roles and Profiles pattern, which type of class is allowed to call `include profile::*`?
Where do component modules from the Puppet Forge typically belong in a control repo's directory structure when managed by Puppetfile?
Which command installs a module from the Puppet Forge into the active environment?
What does the `forge 'https://forgeapi.puppet.com'` line at the top of a Puppetfile do?
Which Puppet class parameter pattern accepts a default value while allowing override via Hiera automatic parameter lookup?
Puppet206 Hiera Category
Which file configures the Hiera hierarchy?
In a Hiera 5 hierarchy, which level should be ordered HIGHEST to ensure node-specific values override defaults?
Which Hiera lookup type merges hashes across all matching hierarchy levels rather than returning the first match?
Which Puppet function explicitly looks up a value from Hiera within a manifest?
What encryption tool is commonly used to store secrets in Hiera so they can be safely committed to source control?
Which datadir convention is the Hiera 5 default?
Which interpolation token in a Hiera path/value substitutes the node's certname?
Which Hiera 5 feature lets you set merge behavior or convert lookups for many keys at once via a structured map?
Which Puppet command on an agent machine triggers a Puppet run on demand?
Puppet206 Agent Server Category
What are the four phases of a typical Puppet agent run?
Which port does the Puppet server listen on by default for agent connections?
Which command on the Puppet server signs a pending agent certificate request from the node `web01.example.com`?
What is the role of PuppetDB?
What is the default agent run interval?
Which value of `noop` in puppet.conf causes the agent to simulate changes without applying them?
What is the typical Puppet master/agent communication protocol?
Which file holds the agent's configuration including `server`, `environment`, and `runinterval`?
Which Puppet term describes a node's reported drift between desired state and actual state?
What does `puppet apply manifest.pp` do?
Which Puppet feature is used for code deployment from Git into Puppet environments?
Puppet206 Environments Category
What does each Git branch in a control repo become when deployed via r10k or Code Manager?
Which file in the root of a Puppet environment configures its behavior, including `modulepath` and `manifest`?
Loading more…