Automation Flashcards

(138 cards)

1
Q

In this network type, network flow decisions are made by multiple routers in a decentralized fashion

A

traditional network

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

In this network type, flow decisions are made by a central controller

A

controller based network

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

A network can be logically divided by function, into layers known as planes. On which plane are network decisions made?

A

control plane

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

On which plane do network access devices operate?

A

the data plane

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

On which plane are configuration and maintenance tasks performed?

A

the management plane

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What are the main differences between a traditional network vs. controller based network?

A

Traditional network: the control plane is distributed among many devices.

Controller-based network: the decision making is moved to either a centralized single device, or the decision making logic is monitored by a central controller, instead of being distributed among many devices

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is the primary difference between the data plane in a traditional network vs a controller based network?

A

The primary difference is how the control plane communicates with the data plane.

Traditional network: end devices transmit data to switches; switches will forward that data to the control plane.

Controller based network: the controller communicates with devices in the data plane via an API

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

While both traditional and controller based networks use a management plane, what additional plane is used in a controller based network?

A

application plane

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Applications in this plane are designed to improve network management efficacy through network automation

A

the application plane

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

This plane is considered a component of the management plane

A

the application plane is a component of the management plane

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Which plane can completely replace the management plane

A

the application plane can completely replace the management plane

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

How does a controller communicate with applications in the application plane?

A

northbound API

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Why is the northbound APIs named as such?

A

northbound APIs are named as such because the application plane is typically depicted above the control plane

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

How is device management on a controller-based network different from device management on a traditional network?

A

Traditional Network: configuration/maintenance is performed by an admin. either by physically connecting via console to a single device, or remotely connecting to a mgmt application in order to issue commands and verify or troubleshoot a configuration

Controller-based network: a central component (controller) is responsible for all network decision making. it communicates with devices via APIs, or interfaces into software applications

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Cisco Software-Defined Access (SDA)

A

is the Cisco-developed SDN that can build local area networks by using policies and automation

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Controller-based networks are also known as

A

SDNs

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

Name the three architectural components that make up SDNs and therefore Cisco Software-Defined Access (SDA)

A

the underlay network, the overlay network, and the fabric

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

The underlay network is comprised of

A

switches, or the physical composition of the network, devices, interfaces, and media that comprises the IP network that connects each fabric node

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

Which routing protocols are used to support SDN underlay networks?

A

IS-IS, OSPF, EIGRP

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

Why does Cisco recommend using IS-IS over OSPF and EIGRP routing protocols in SDN networks?

A

IS-IS performs better than OSPF or EIGRP and forms neighbor relationships without dependence on IP protocol configuration or operation

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

An SDN or SDA overlay network is a logical or virtualized network that is formed

A

on top of the underlay network

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

The data plane and control plane communication takes place in the ___ network

A

overlay

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

Multiple overlay networks can be constructed over a

A

single underlay network

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

The overlay network creates ___ tunnels between SDN or Cisco SDA switches

A

Virtual Extensible LAN or VXLAN

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
VXLAN tunnels send and receive traffic between
fabric endpoints
26
When an endpoint in a Cisco SDA network sends traffic to another endpoint, the traffic flows from the endpoint through the
overlay network's VXLAN tunnels
27
What are the two APIs on which controller networks rely:
northbound APIs and southbound APIs
28
Northbound APIs or northbound interfaces provide:
an interface for an SDN or Cisco SDA controller to communication with the application plane
29
Southbound APIs, or southbound interfaces enable:
an SDN to communicate with devices in the data plane
30
Applications use northbound APIs to:
send requests or instructions to a controller, which uses that information to modify and manage network flow.
31
What are some examples of Southbound APIs
NETCONF, RESTCONF, OnePK, OpenFlow, and OpFlex are all examples of southbound APIs.
32
APIs create a universal way for:
applications to communicate with data models
33
Hypertext Transfer Protocol (HTTP) verbs are also known as:
HTTP methods
34
The REST API is a:
stateless method of creating, updating, modifying, and deleting information.
35
What are the four primary actions that are performed by a REST API application?
The four primary actions that are performed by a REST API application are create, read, update, and delete (CRUD).
36
The HTTP verb GET retrieves, but does not:
modify data
37
{ "id": 99999, "action": "delete", "message": "Success" }
The HTTP verb delete
38
{ "id": 99901, "action": "read", "fname": "Jill", "mname": "Anne", "lname": "Doe", "group": { "role": "Sales Assistant", "read-only": [ "Marketing Folder", "Editorial Folder" ] }, "admuser": false, "message": "Success" }
The HTTP verb GET
39
{ "id": 99901, "action": "replace", "fname": "Jill", "mname": "Doe", "lname": "Reed", "group": { "role": "Senior Sales Assistant", "read-write": [ "Marketing Folder", "Editorial Folder", ], "read-only": [ "Accounting Folder" ] }, "admuser": false, "message": "Success" }
The HTTP verb PUT
40
Configuration management tools are used to
automate the installation, configuration, and maintenance of multiple computer systems, including the software that runs on those systems
41
What type of architecture does Puppet rely on for device management?
client/server architecture
42
Chef operates on ___, ___, and ___ distros
Linux, UNIX, Windows
43
Chef can use a client/server architecture or a:
standalone client configuration
44
What Transmission Control Protocol (TCP) port does Chef use to transmit and receive data?
HTTPS port, which is TCP port 443
45
Managed nodes that are running the Chef Client can pull ___ from the server
cookbooks
46
Ansible is often referred to as an agentless automation tool because:
it does not use agent software on managed nodes
47
What code is this an example of: file { '/tmp/testfile': ensure => 'present ', content => 'Only a test. Please delete.' }
a Puppet resource declaration
48
What code is this an example of: file 'testfile.html' content "Only a test. Please delete." end cookbook_file '/tmp/testfile.html' do source "testfile.html" action :create end
a Chef recipe
49
JavaScript Object Notation (JSON) is a data encoding format that is commonly used by:
Representational State Transfer (REST) Application Programming Interfaces (APIs) as an alternative to Extensible Markup Language (XML
50
JSON returns data in the form of an ___ that contains key and value pair
object
51
What type of server is typically queried in order to obtain JSON output?
HTTP server
52
In order to obtain JSON output REST APIs rely on:
HTTP verbs to communicate with backend applications
53
A REST API can be implemented by deploying a:
standard HTTP server
54
JSON is considered to be more human-readable than
XML
55
Name the six different types of JSON-encoded output:
Array Boolean Text Null Numeric Object
56
What do the left curly brackets ({) and right curly brackets (}) in the JSON output indicate?
Left curly brackets and right curly brackets indicate the start and end of JSON objects
57
What are the roles of left and right square brackets in JSON output?
A left square bracket ([) indicates the beginning of the array. A right square bracket (]) indicates the end of the array. Values are separated from the others by a comma.
58
What is the difference between an empty string of text and a null value:
An empty string of text gives a value of zero (no quotation marks). A null value has no value at all. A null value can be assigned by using the term null without quotation marks.
59
Administrative overhead
time/effort required to administer/implement/maintain systems.
60
OSPF running on a series of routers is an example of
a traditional network
61
This plane contains the devices that access and provide access to the network
data plane
62
This plane includes the L2 and L3 switches that form the LAN
data plane
63
This plane includes end devices that are connected to the switches
data plane
64
This plane enables communication with controllers by using southbound APIs
data plane
65
Which plane includes management protocols, such as Telnet, SSH, SNMP, Syslog
management plane
66
This plane includes the tools administrators use to manage devices
management plane
67
Controller based networks contain this plane, while traditional networks do not
application plane
68
This plane is considered to be part of the management plane
the application plane
69
This plane consists of software applications that are used to manage network devices
application plane
70
This plane enables communication with controllers by using northbound APIs
application plane
71
This plane can completely replace the management plane
application plane
72
A controller communicates with the application plane using ___ bound APIs
northbound
73
___ is an intelligent network architecture in which a software controller assumes the control plane functionality for all network service
SDN
74
Southbound APIs enable an SDN controller to communicate with devices on the
data plane
75
Northbound APIs enable an SDN controller to communicate with devices on the
application plane
76
The ___ lay network includes the devices and protocols that comprise the physical network and establish IP connectivity
under
77
The ___ lay network includes protocols such as IS-IS, OSPF, EIGRP
under
78
The ___lay network is the logical/virtualized network that is formed on top of the underlay network
over
79
Common ___lay protocols: VXLAN, VRF, NVGRE, GRE, OTV, and mVPN
over
80
Fabric
is the combination of an underlay network and an overlay network
81
The SDA fabric is managed through a controller and is implemented by a collection of
hardware devices, such as routers, switches, or wireless LAN controllers (WLCs)
82
Northbound APIs are sometimes referred to as
NBIs
83
Northbound APIs enable a controller to
communicate with the management and application planes
84
Java Open Services Gateway initiative (OSGi) and REST are examples of
northbound APIs
85
This Northbound API is stateless
REST
86
This Northbound API relies on HTTP verbs to implement CRUD functions
REST
87
This Northbound API encodes data in either XML or JSON
REST
88
A REST API can be implemented by deploying a
standard HTTP server
89
REST APIs return data in one of two formats
XML or JSON
90
CRUD
Create, Read, Update, Delete
91
CRUD is implemented by using ___ verbs in the REST API
HTTP
92
HTTP verbs are ___ used by HTTP clients to manipulate data that is stored on or delivered by an HTTP server
methods
93
GET
equivalent to the **read** action that is defined by CRUD. It **does not modify data**.
94
POST
is equivalent to the **create ** action that is defined by CRUD. **It does not modify existing data**.
95
PATCH
is equivalent to the** update** action that is defined by CRUD. However, the PATCH verb is used to make only **partial changes** to data in the API.
96
PUT
is also equivalent to the **update** action that is defined by CRUD. The PUT verb **completely replaces existing data** in the API.
97
DELETE
is equivalent to the **delete** action that is defined by CRUD. It modifies data by erasing it from the data structure, thereby destroying it in the API.
98
xml
XML is a more structured language than HTML that is used to format data in a way that can be easily transmitted over the Internet and parsed by a variety of applications.
99
___ uses tags to define blocks of data
XML
100
___ structured language design allows easy transportation over the internet and easy parsing by applications
XML's
101
JSON
is a data encoding format that is commonly used by REST APIs as an alternative to XML
102
JSON returns data in the form of an
object, that contains keys and pairs
103
A JSON object can be identified by
the curly brackets that mark the beginning and the end of the object
104
A left curly bracket ({) marks the ___ of a JSON object
beginning
105
A right curly bracket ({) marks the ___ of a JSON object
end
106
A single JSON object can contain multiple
key and value pairs
107
Each key and value pair inside a JSON object is separated from the others by a
comma (,)
108
Each JSON key and value pair is separated from its value by a
colon (:)
109
JSON: The element in quotation marks on the left side of each colon is the
key
110
The element on the right side of each colon is the ___, which might or might not be enclosed in quotation marks.
value
111
There are several data value types that can be returned in JSON output:
array, boolean, null, numeric, object, text
112
Southbound APIs
enable a controller to communicate with devices on the data plane
113
NETCONF, RESTCONF, OnePK, OpenFlow, and OpFlex are examples of
southbound APIs
114
NETCONF communicates
by using either SSH or TLS
115
___ relies on YANG data models to communicate with network management applications
NETCONF
116
encodes output in either XML or JSON
NETCONF
117
is a southbound API that is intended to replace SNMP
RESTCONF
118
Like NETCONF, ___ relies on YANG data modeling to communicate with network application
RESTCONF
119
RESTCONF verbs
GET, POST, PUT, DELETE, OPTIONS
120
RESTCONF can encode output in either ___ or ___ format
XML or JSON
121
Configuration Management Mechanisms
are used to automate device management and configuration on a network
122
Common configuration mechanisms
Puppet, Chef, Ansible
123
is the most mature and widely used of the configuration management mechanisms
Puppet
124
___ relies on a client/server architecture that involves a server and agent software
Puppet
125
___ uses HTTPS on TCP port 8140
Puppet
126
___ supports modules written in Ruby DSL or Puppet DSL
Puppet
127
___ can use a client/server architecture or can operate as a standalone installation
Chef
128
___ uses HTTPS on TCP port 443
Chef
129
___ stores configurations in cookbooks written Ruby DSL
Chef
130
___ is an agentless configuration management mechanism
Ansible
131
___ uses SSH and TCP port 22 by default to connect to remote nodes
Ansible
132
___ configurations are stored in playbooks that are written in YAML
Ansible
133
nodes can download ___ modules from the server using SSH
Ansible
134
HTTP GET
is a read action does not modify data
135
HTTP POST
is a create action does not modify existing data
135
HTTP PATCH
makes partial changes to data
136
HTTP PUT
is an update action, it completely replaces data
137
HTTP DELETE
deletes data by erasing it from the data structure