Where is the Puppet configuration file stored?
- /etc/puppet/puppet.conf (Ans)
- /var/lib/puppet/puppet.conf
- /usr/share/puppet/puppetmaster.conf
Puppet can manage all of following operating systems except…
- Mac OS X
- Windows
- Unix
- Solaris
- FreeBSD
- None of these. Puppet can manage all of them. (Ans)
Which is true about resource parameters/attributes?
- They are variable declarations
- They are attribute/value pairs separated by a colon
- They are attribute/value pairs separated by a “fat comma” (=>) (Ans)
In the Roles & Profiles pattern, what is a profile?
- A non-technical description of what a server does or what its purpose is
- An abstraction that contains specifics about a server’s packages and other settings
- A technical description of a server’s packages, files, services, and other settings (Ans)
In a resource declaration, attributes with a boolean (true/false) value must…
- be in single quotes
- be in double quotes
- not be in any quotes (Ans)
Which of the following is the beginning of a valid node definition?
- define node “server7”: {
- { node ‘server7’:
- node ‘server7’ { (Ans)
After installing the Puppet server for the first time, what command should be used to generate SSL certificates?
- sudo puppet master –verbose –no-daemonize (Ans)
- sudo puppet –verbose –no-daemonize
- sudo puppet master –generate –no-daemonize
You’ve modified the /etc/sysconfig/iptables file. What command will ensure your changes take effect?
- sudo iptables reload
- sudo service iptables stop
- sudo chkconfig iptables on
- sudo service iptables restart (Ans)
What are some disadvantages of using scripts?
- They’re not powerful enough for configuration management
- They’re inherently complex (Ans)
- They’re declarative instead of procedural
Given a selector variable named $ntppackage, which would be a valid resource declaration that makes use of this variable?
- package { $ntppackage: ensure => ‘installed’, } (Ans)
- package { “$ntppackage”: ensure => true, }
- package { ‘$ntppackage’: ensure => ‘installed’, }
When creating a new role, why do you not create the init.pp manifest?
- You never use sub-classes.
- You never use the role class directly. (Ans)
- The init.pp is for modules.
The configuration history can be viewed by Node, Class, and which other object?
- Module
- Resource (Ans)
- Agent
On which port does the Puppet Fileserver run as standard?
- 8080
- 443
- 80
- 8140 (Ans)
With which command can you locate the hiera.yaml file that is in use?
- puppet config print hiera_yaml
- puppet config print hiera_config
- puppet config print hiera (Ans)
How can you install a module from the Puppet Forge?
- sudo install puppet module
- sudo puppet install module
- sudo puppet module install (Ans)
How many nodes can be used without charge with Puppet Enterprise?
- 15
- 5
- 50
- 10 (Ans)
Which product includes the web dashboard?
- Puppet DB
- Puppet Agent
- Puppet Enterprise (Ans)
- Puppet Server
Why must time be accurate before installing Puppet Enterprise or Server?
- The Server hosts a web front-end
- The Server acts as Certifcate Authority (Ans)
- This is required by the Puppet-Agent
- The Server hosts a database
Which default user account is created for the web dashboard during the installation?
- root
- administrator
- webmin
- admin (Ans)
Which node in the Dashboard can show you groups of agents?
- Groups
- Classification (Ans)
- Inventory
- Access Control
I’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked at Cotocus and regularly write about technology, travel, investing, health, product reviews, and digital marketing through my various platforms.
I publish technical articles at DevOps School, travel stories at Holiday Landmark, stock market insights at Stocks Mantra, health and fitness guidance at My Medic Plus, product reviews at TrueReviewNow, and SEO and digital marketing strategies at Wizbrand.
Find Trusted Cardiac Hospitals
Compare heart hospitals by city and services — all in one place.
Explore Hospitals