MYHOSPITALNOW.COM

Find Trusted Doctors & Hospitals

Discover healthcare providers, compare hospitals, and explore treatment options worldwide.

Free Treatment Quotes • Doctor Search • Hospital Comparison

Find Healthcare Options

www.myhospitalnow.com

Puppet Interview Questions and Answer Part – 2

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

Find Trusted Cardiac Hospitals

Compare heart hospitals by city and services — all in one place.

Explore Hospitals
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.

Related Posts

Puppet Training Agenda: A Practical Roadmap from Basics to Real-World Automation

This revised guide converts the original Puppet course outline into a clear learning path for DevOps and platform teams. It covers architecture, run cycle, hands-on manifests, ecosystem tools, and common implementation pitfalls.

Read More

Puppet Training Roadmap for DevOps and System Administrators

This revised guide turns the original Puppet course post into a practical training roadmap for DevOps and sysadmin teams. It covers what to learn, how Puppet runs work, key commands to practice, and how to structure a 1-day or 2-day workshop.

Read More

Master DevOps Automation with Puppet Training in Bangalore

Introduction In today’s fast-moving tech world, companies need to manage their computer systems quickly and without mistakes. Puppet is a powerful tool that helps do just this….

Read More

What is Puppet and use cases of Puppet?

What is Puppet? Puppet is an open-source configuration management and automation tool that helps IT operations teams automate the provisioning, configuration, and management of infrastructure and applications….

Read More

Puppet Assignment and Excercise

Rajesh Kumar 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…

Read More

Complete Puppet Certification Guide & tutorials

What is Puppet? Puppet is an open source configuration management and deployment tool that automate the configuration of servers. When you use Puppet, you define the desired…

Read More