387
79. A. The Manifest component of Puppet contains the configuration for the managed hosts.
The Agent component of Puppet is used to apply the configuration from the master server.
The Class component is used to organize the configuration inside of the Manifest. The
Module component is similar to a Class with the exception that it is used to organize and
create tasks for the Manifest component.
80. C. The Recipe component of Chef contains the set of instructions that are carried out
to configure a server. The Recipes are collected into the Cookbook component so that
the task can be organized and applied to hosts. The Crock Pot component does not exist
inside of Chef; therefore, it is an invalid answer. The Chef Node component is a host that
is managed by a Chef Server component.
81. C. The Ohai component is the second of two parts installed on the Chef Node; the
first part is the Chef-Client component. Ohai is responsible for monitoring system state
information and reporting back to the Chef Server component. If Ohai detects that an
attribute of the system state is out of compliance, the system state for that component will
be reapplied. The Chef Workstation command-line interface (CLI) component is called
the Knife and interacts with the Chef Server to configure tasks when you are creating a
Cookbook.
82. B. The variable
ANSIBLE_CONFIG is used to determine the location of the Ansible setting
file named
ansible.cfg. The variable ANSIBLE_SETTINGS is not used with Ansible and
therefore option A is an invalid answer. The
ansible_connection variable is used inside
of the Inventory file to explain to Ansible how to connect to a remote system. The file
/etc/ansible/hosts is not a variable; it specifies the various target nodes, also called the
Inventory.
83. D. The command
ansible-doc will give you detailed information on Ansible modules.
The command is followed by the module name to give specific information on a particular
module. For example,
ansible-doc ios_vlan will display all of the configuration for
VLANs on Cisco IOS. The
man command will give Linux/Unix manual information of
the command of
ansible-doc, but not the individual modules. The cat command is short
for concatenate; it allows you to display or create the contents of a file. Ad-hoc is not a
command; it is a configuration mode in which you can test commands before they are run
network wide.
84. C. The Ad-hoc interface allows you to try commands against a host without making
a Playbook. The Knife interface is a command-line interface (CLI) for the Chef
configuration management utility. The
ansible_playbook command is used to execute an
Ansible playbook. Ansible Tower is a paid version of Ansible supported by Red Hat that
adds central management.
85. D. In the Puppet configuration management utility, the term Facts describes global
variables that contain information that is specific to Puppet. One example of a global
variable is the IP address of the Puppet system. A Resource declares a task to be executed
and how the task should be executed. The Class component is used to organize the
configuration inside of the Manifest. The Module component is similar to a Class with the
exception that it is used to organize and create tasks for the Manifest component.
Do'stlaringiz bilan baham: |