Interview Questions on Puppet
1.
What is attribute ?
Ans:
Attribute specify the desired state of a given configuration
resource.Each resource type has a
different
set of attributes and each attribute has its own set of allowed
values.
2.
How to invoke the puppet agent software ?
Ans:
We can invoke the agent software by running the puppet-agent command.
3.
What is the role of puppet agent ?
Ans:
A puppet agent regularly performs puppet runs, wherein it sends facts
to a puppet master and receives a configuration catalog, then applies
the catalog to the local system using its providers.
4.
Catalogs are compiled by whom ?
Ans:
Catalogs are compiled by a puppet master from manifests and
agent-provided data as well as
optional
external data.
5.
What are the two functions create relationships between classes ?
Ans:
require and contain functions
Click on below link for Devops Interview QA book:
https://amzn.to/2YsiZah
Click on below link for Devops Interview QA book:
https://amzn.to/2YsiZah
6.
What is the role console in puppet ?
Ans:
Puppet enterprise includes a web user interface called the console,
which provides tools for
managing
your puppet infrastructure.
7.
In puppet what is environment ?
Ans:
An environment is an isolated group of puppet agent nodes that a
puppet master can serve with its own main manifest and set of
modules.
8.
What is exported resource ?
Ans:
An exported resource is a resource that you have declared to be
available to other node that can then collect the exported resource
and manage their own copies.
9.
What is external node classifier ?
Ans:
An external node classifier is an executable script that returns
information about which classes to apply to a node when called by a
puppet master.
10.
What is fact ?
Ans:
A piece of information about a node, such as its hostname,IP address
and operating system, is
a
fact.

Comments
Post a Comment