Automation Flashcards
Which automation tool is one of the oldest and is Agent Based?
Puppet
Which automation tool follows the same model as Puppet?
Chef
Which automation tool is written in Python and is a agentless?
Ansible
Which automation tool is an open-source, Python-based software for event-driven IT automation?
Salt (Saltstack)
Which three tools manage systems in a declarative manner, so that once you define the state, the target system should be in effect so that you do not have to worry about how it happens?
A. Puppet
B. Chef
C. Ansible
D. VIRL
E. SSH
F. Telnet
A. Puppet
B. Chef
C. Ansible
What does SNMP use for a type of data model that defines a collection of information?
MIBs
What does SNMP use to retrieve a MIB variable from the SNMP agent (a network device).
get-request
What does SNMP use to set variables that are stored in the MIB
set-request
What are the core components of the complete device API?
Data Models: These are the foundation of the API, defining the syntax and semantics, including the constraints, of working with the API.
Transport: The model-driven APIs support one or more transport methods, including SSH, TLS, and HTTP or HTTPS.
Encoding: The model-driven APIs support the choice of encoding, including XML and JSON, but also custom encodings such as Google Protocol Buffers.
Protocols: The model-driven APIs also support multiple protocol options. The three core protocols are NETCONF, RESTCONF, and gRPC. Remember, they are the core protocols that work with model-driven APIs. REST is not explicitly listed because when REST is used in a modeled device, it becomes RESTCONF.
Which three of the following are the key attributes of next-generation programmatic interfaces? (Choose three.)
A. They must support different types of transport: HTTP and HTTPS, SSH, TLS.
B. They must be flexible and support different types of encoding formats such as TCL and Python.
C. They must support different types of transport: HTTPS, Telnet, TCP.
D. They must be extensible and open APIs: REST, RESTCONF, NETCONF, gRPC.
E. They must be flexible and support different types of encoding formats such as XML and JSON.
F. There must be extensible and open APIs: HTTP, HTTPS, SSH, Telnet
A. They must support different types of transport: HTTP and HTTPS, SSH, TLS.
D. They must be extensible and open APIs: REST, RESTCONF, NETCONF, gRPC.
E. They must be flexible and support different types of encoding formats such as XML and JSON.
If you want to use an API to configure a Cisco router, what do you have to check that is supported on the API?
you have to check which data types are supported by that API
What are three common data types supported by APIs?
YAML Ain’t Markup Language (YAML)
JavaScript Object Notation (JSON)
eXtensible Markup Language (XML)
Which data-format is not as humanly readable as the other two formats
XML
Which data-format is mostly used to interexchange highly structured data between applications (machine-to-machine communication) and used.in Java programming?
XML
Which data-format serves as an alternative to XML because it is often smaller and easier to read. It is mostly used for transmitting data between a server and a web page?
JSON
JSON is basically a subset of which data-format?
YAML
Which data format is most beginner friendly?
YAML
What is a way to represent a specific data format in textual form?
syntax
Which data format is not a markup language is most humanly readable?
YAML
What data format is this?
XML
What data format is this?
JSON
What data format is this?
YAML
Which data format heavily uses whitespace indentations to define data structure?
YAML
What is a data modeling language that describes what can be configured and monitored on a device, and the administrative actions that can be executed on a device?
Yet Another Next Generation (YANG)
What type of data was YANG specifically built for?
network data
YANG was initially designed for NETCONF but now is also used by?
RESTCONF
What is a next-generation network management protocol that is designed specifically for transactional-based network management and to improve upon the weaknesses of SNMP?
NETCONF
What two types of data can NETCONF distinguish and retrieve?
Configuration and state data
What are the four core layers to the NETCONF protocol stack?
Protocols, Messages, Operations, & Content
What are the three NETCONF configuration data stores?
running, candidate, & startup
What is an interpreted scripting language?
Python
What is meant that Python is a interpreted language?
means it executes instructions directly without the need to compile the program first.
Which Python version is currently supported by Cisco NX-OS, has extensive libraries, and is still supported by the Python community, though it is no longer in development?
Python 2.x
Which Python version is currently under active development and is easier to learn?
Python 3.x
What are the two main ways to execute Python code?
Using a Python dynamic interpreter (shell) or writing Python scripts
To open the Python shell, what command would you enter in either a Linux terminal or from the command line of a Cisco Nexus switch?
python
What command returns the python built-in documentation about the object?
help ()
What python command returns the attributes (and methods) of the object or module?
dir ()
What python command returns the type of the object?
type()
What are the common python data types?
Strings, Numbers, Lists, Dictionaries, Booleans, Files