386
Appendix
■
Answers to Practice Test Questions
72. C. The question mark signifies the starting point for a series of request query parameters
in a Uniform Resource Identifier (URI) string. For example, the URI string might look
something like this:
https://server/path/api?para1=test1¶2=test2. The
backslash is not used in a URI. The forward slash helps delimit the various components of
a URI. The ampersand delimits the various request query parameters if there is more than
one.
73. C. The HyperText Transfer Protocol (HTTP) action verb POST will insert or create a
data item when referencing an application programming interface (API). The HTTP action
verb GET will read data from an API. The HTTP action verb UPDATE is not a valid
verb; therefore, this is an invalid answer. The HTTP action verb PUT will only replace or
update a data item; it will not insert a data item.
74. B. A status code of 504 means that the command that was sent to the server did not
return in a timely fashion and timed out. A status code of 400 would depict that the
command is missing parameters. If a command is restricted for the authentication
supplied, a status code of 403 would be returned. If a service is down or improperly
responding, a status code of 500 would be returned.
75. B. Ansible, Chef, and Puppet are configuration management tools. They operate by
applying specific configurations to server or network devices. A network management
station (NMS) is typically used with the Simple Network Management Protocol (SNMP)
to centralize polling of SNMP counters and allow for devices to send alerts. Software-
defined networking (SDN) is a method of centralizing the control and management planes
of a network so that the network device can focus on the data plane. Centralized logging
is used with syslog so that all logs can be sent to a centralized area for analysis.
76. A. Ansible uses the YAML format to store configuration. The Cisco DNA Center
stores configuration internally inside of its database, but many things are exportable via
JavaScript Object Notation (JSON). Chef and Puppet both use Embedded Ruby (ERB)
templates to store configuration.
77. C. The Inventory component defines the various hosts and their connection information
in an Ansible setup. The Playbook component defines the script to execute to perform the
configuration management. The
ansible.cfg file controls the settings for the Ansible
server. The Modules component allows Ansible to connect to and understand various
systems.
78. A. Ansible does not require an agent to apply changes to a Linux-based server or other
network device. It uses Secure Shell (SSH) TCP port 22 to apply the configuration.
Puppet and Chef both require agents to be installed on the managed hosts. Although
Cisco DNA Center is installed on top of a Linux distribution, Cisco DNA Center does
not support Linux servers; it is primarily used for the management of Cisco devices. You
could certainly create an extensible package to send commands to a Linux box through an
SNMP agent, but currently it would need to be developed. Ansible supports Linux-based
servers without an agent and without any development for communications.
Chapter 6: Automation and Programmability (Domain 6)
Do'stlaringiz bilan baham: |