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

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

  • Chef
  • Ansible
  • Puppet
  • SaltStack
  • NETCONF

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?

  • Pillar
  • Manifest
  • Playbook
  • Cookbook

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?

  • 400
  • 4000
  • 20,000
  • more than 20,000

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.)

  • manifests
  • templates
  • files
  • recipes
  • playbooks
  • cookbooks

Explanation: Puppet modules contain the following three components:

  • Manifests
  • Templates
  • Files

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

  • the kitchen
  • the agent
  • the control station
  • the playbook

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?

  • playbook
  • recipe
  • minion
  • cookbook

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.)

  • They are agentless.
  • They can connect to devices over SSH.
  • They are based on the Ruby language.
  • They are Cisco proprietary.
  • They require Python to be installed on remote systems.

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?

  • building software applets that can automate tasks on the device
  • automating cloud provisioning
  • starting and stopping services
  • allowing users to interact with configuration management tools

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.)

  • Puppet
  • SaltStack
  • Chef
  • Puppet Bolt
  • EEM
  • Ansible

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.)

  • Puppet Bolt
  • SaltStack SSH
  • Ansible
  • Puppet
  • SaltStack
  • Chef

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.)

  • modules
  • manifests
  • agents
  • masters
  • minions

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:

  • Chef server – Puppet master
  • Chef client – Puppet agent
  • Cookbook – Module
  • Recipe – Manifest
  • Workstation – Puppet console

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

  • pillars
  • grains
  • cookbooks
  • playbooks
  • manifests

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?

  • It is a software component of the Cisco IOS.
  • It uses playbooks written in YAML to deploy configuration changes.
  • It is built on Python and has a Python programming interface.
  • It is an open source tool based on the Ruby language.

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.

  • True
  • False

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.)

  • Ansible
  • Puppet Bolt
  • SaltStack
  • Chef
  • Salt SSH

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

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

  • Manifests
  • Modules
  • Playbooks
  • Tasks
  • Recipes

Explanation: Ansible uses playbooks, plays, and tasks.

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

  • Ansible
  • Chef
  • Puppet
  • SaltStack

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.

{
   "user": "root",
   "user": "Jason",
   "user": "Jamie",
   "user": "Luke"
}

b.

# HR Employee record
Employee1:
    Name: John Dough
    Title: Developer
    Nickname: Mr. DBug

c.

root
Jason
Jamie
Luke

d.

[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?

  • Python
  • C++
  • Ruby
  • Q-Basic
  • Tcl

Explanation: Chef uses Ruby DSL for its cookbooks.

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

  • Keeping track of various versions of code
  • Knowing which developers are involved with code revisions
  • Collaborating with other developers and sharing code
  • Increasing the speed in working on software projects
  • Accessing a real-time telemetry software database
  • Automatically blocking malicious code

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?

  • Prepare, Plan, Design, Implement, Observe, Optimize
  • Prepare, Plan, Design, Implement, Operate, Optimize
  • Prepare, Plan, Design, Implement, Operate, Optimize
  • Plan, Prepare, Design, Implement, Observe, Optimize
  • Prepare, Plan, Design, Integrate, Observe, Optimize

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.

  • True
  • False

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?

  • ansible-playbook Confi gureInterface.yaml
  • ansible Confi gureInterface.yaml
  • play ansible-book Confi gureInterface.yaml
  • play ansible-book Confi gureInterface.taml

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.)

  • Ansible
  • Puppet Bolt
  • SaltStack
  • Chef
  • Salt SSH

Explanation: Chef and SaltStack are agent-based tools.

Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments