Slide 1
Most trusted JOB oriented professional program
DevOps Certified Professional (DCP)

Take your first step into the world of DevOps with this course, which will help you to learn about the methodologies and tools used to develop, deploy, and operate high-quality software.

Slide 2
DevOps to DevSecOps – Learn the evolution
DevSecOps Certified Professional (DSOCP)

Learn to automate security into a fast-paced DevOps environment using various open-source tools and scripts.

Slide 2
Get certified in the new tech skill to rule the industry
Site Reliability Engineering (SRE) Certified Professional

A method of measuring and achieving reliability through engineering and operations work – developed by Google to manage services.

Slide 2
Master the art of DevOps
Master in DevOps Engineering (MDE)

Get enrolled for the most advanced and only course in the WORLD which can make you an expert and proficient Architect in DevOps, DevSecOps and Site Reliability Engineering (SRE) principles together.

Slide 2
Gain expertise and certified yourself
Azure DevOps Solutions Expert

Learn about the DevOps services available on Azure and how you can use them to make your workflow more efficient.

Slide 3
Learn and get certified
AWS Certified DevOps Professional

Learn about the DevOps services offered by AWS and how you can use them to make your workflow more efficient.

previous arrow
next arrow

Puppet Interview Questions and Answer Part – 2

Spread the Knowledge

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