Chapter 29: Quiz - Introduction to Automation Tools (Answers) CCNPv8 ENCOR

CCNP Enterprise Routing & Switching Original source

30. Which two configuration management tools are developed using Python? (Choose two.)

Explanation: Ansible and SaltStack are configuration management tools developed using Python. Chef and Puppet are configuration management tools developed using Ruby. Ruby is typically considered a more difficult language to learn than Python. NETCONF is a network management protocol.

31. Which term is used to describe a set of instructions for execution by the configuration management tool SaltStack?

Explanation: The configuration management tool SaltStack uses the name Pillar to describe the set of instructions to be executed.

32. What is the maximum number of nodes supported in a Puppet monolithic installation mode?

Explanation: There are three installation modes for puppet. Monolithic mode supports up to 4000 nodes. Monolithic with compile masters supports up to 20,000 nodes. The installation mode of Monolithic with compile masters and standalone PE-PostgreSQL supports more than 20,000 nodes.

33. What are three components contained within a Puppet module? (Choose three.)

Explanation: Puppet modules contain the following three components:

34. Where can Chef recipes and cookbooks be executed and tested prior to sending to the Chef client?

Explanation: The Chef kitchen is where recipes and cookbooks can be automatically executed and tested prior to reaching any production nodes. This prevents developed recipes from interfering with those in the production environment.

35. Which term is used to describe a structured set of instructions used by Ansible to deploy configuration changes to hosts?

Explanation: Playbooks are structured sets of instructions used by Ansible to deploy configuration changes or to retrieve information from network hosts.

36. What are two similarities between Puppet Bolt and Salt SSH? (Choose two.)

Explanation: Puppet Bolt and Salt SSH are agentless versions of Puppet and SaltStack. They both use SSH to connect to devices. Salt SSH requires that remote systems have Python installed.

37. What is a function of the Cisco Embedded Event Manager?

Explanation: The Cisco Embedded Event Manager (EEM) is a Cisco IOS tool that uses software applets to automate tasks on a Cisco device. EEM is completely contained within the local device and needs no external scripting or monitoring device.

38. Which three automation tools are agent-based? (Choose three.)

Explanation: There are several available agent-based configuration and automation tools, including Puppet, Chef, and SaltStack (Agent and Server Mode).

39. Which three tools are examples of agentless automation tools? (Choose three.)

Explanation: There are several available agentless automation tools, including Puppet Bolt, Ansible, and SaltStack SSH.

40. Which two Puppet components perform functions similar to Chef cookbooks and recipes? (Choose two.)

Explanation: Puppet and Chef are similar configuration management tools which share the same core concepts. However, both tools have different terminology for components that perform the same functions. Chef and Puppet components are compared below:

41. Which two components are used by SaltStack to control state and send configuration changes? (Choose two.)

Explanation: SaltStack has masters and minions. SaltStack uses pillars to store data that a minion can retrieve from the master. SaltStack grains are run on the minions to gather system information that is reported back to the master.

42. What is a characteristic of the Cisco Embedded Event Manager?

Explanation: The Cisco Embedded Event Manager (EEM) is a Cisco IOS tool that uses software applets to automate tasks on a Cisco device. EEM is completely contained within the local device and needs no external scripting or monitoring device.

"Do I Know This Already?" Quiz Answers:

1. True or false: Configuring network components by using the CLI is considered the fastest approach when dealing with a large number of devices.

Explanation: Configuring a large number of devices by using the CLI is not only time-consuming but also leads to an increase in human error, ultimately putting the business at risk.

2. Which of these tools are agentless in operation? (Choose three.)

Explanation: Ansible, Puppet Bolt, and Salt SSH all are agentless tools.

3. Which of the following are features of Ansible? (Choose two.)

Explanation: Ansible uses playbooks, plays, and tasks.

4. What configuration management software is built on Python? (Choose two.)

Explanation: Ansible and SaltStack are built on Python and can leverage Python to programmatically interact with the tool.

5. Which of the following is a YAML example?

a.

Copy

{

   "user": "root",

   "user": "Jason",

   "user": "Jamie",

   "user": "Luke"

}

b.

Copy

# HR Employee record

Employee1:

    Name: John Dough

    Title: Developer

    Nickname: Mr. DBug

c.

Copy

root

Jason

Jamie

Luke

d.

Copy

[users[root|Jason|Jamie|Luke]]

Explanation: This is a YAML structure. A YAML file can also begin with three dashes (---).

6. What is the language associated with Chef?

Explanation: Chef uses Ruby DSL for its cookbooks.

7. What are some of the benefits of Puppet Forge and GitHub? (Choose all that apply.)

Explanation: Puppet Forge and GitHub can help with many different aspects of software delivery, including code revisions, associated developers, sharing of code, and becoming more agile in the development process.

8. What are the PPDIOO lifecycle components?

Explanation: PPDIOO consists of six components: Prepare, Plan, Design, Implement, Operate, and Optimize. Figure 29-9 provides more information.

9. Ansible uses the TAML syntax, which starts with three dashes (---), in the creation of playbook files.

Explanation: Ansible uses Yet Another Markup Language (YAML) for the creation of playbook files. TAML doesn’t exist.

10. What is the proper command to execute a playbook using Ansible?

Explanation: ansible-playbook FileName**.yaml** is the correct command to execute a playbook. Playbooks are built from Yet Another Markup Language (YAML) files. TAML files do not exist.

11. Which of these tools are agent-based in operation? (Choose two.)

Explanation: Chef and SaltStack are agent-based tools.

← All CCNP articles Home