5.0 Infrastructure and Automation Flashcards

1
Q

What is the purpose of a data model?

A

To give a description of the resources, their structure and constraints.

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

What do data models define, in relation to an API?

A

They define the syntax and semantics, including constraints of working with the API.

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

What are the core components of a model driven API?

A

Data Models, Transport, Encoding, and Protocols.

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

What are the main protocols used with model-driven APIs?

A

NETCONF, RESTCONF, and gRPC

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

What are the two common encoding types with model-driven APIs?

A

XML and JSON

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

What is the (3) basic purpose of NETCONF?

A

Transport configuration payloads to a device, targeted at a specifc datastore.

Retrieve configuration data when queried

Support notifications, often based on SNMP trap definitions

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

What is NETCONF transported over?

A

TLS and SSH

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

What Python client side tool, is used for NETCONF

A

ncclient

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

In regards to NETCONF, what is defined as the complete set of configuration data that is required to get a device from its initial default state into a desired operational state?

A

Configuration Datastore

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

What NETCONF datastore holds the complete configuration currently active on the network device.?

A

running

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

What NETCONF datastore holds configuration data that serves as a workplace for creating and manipulating configuration data? A operation causes the running configuration of the device to be set to this datastore.

A

candidate

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

What NETCONF datastore holds the configuration loaded by the device when it boots?

A

startup

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

What are all NETCONF operations encoded as?

A

XML

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

What language NETCONF data models described with?

A

YANG

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

Why is YANG used to describe the data models with NETCONF?

A

To provide a standard way to model configuration and operational data. It can be interoperable across different vendors.

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

What NETCONF operation retrieves running configuratin and device state information?

A

get

17
Q

What NETCONF operation retrieves all or part of a specified configuration datastore?

A

get-config

18
Q

What NETCONF operation loads all or part of a specified configuration to the specified target configuration datastore?

A

edit-config

19
Q

What NETCONF operation creates or replaces an entire configuration datastore with the contents of another complete configuration datastore?

A

copy-config

20
Q

What NETCONF operation deletes a configuration datastore?

A

delete-config

21
Q

What NETCONF operation allows the client to lock the entire configuration datastore system of a device. Such locks are intended to be short-lived. They allow a client to make a change without fear of interaction with other NETCONF clients, non-NETCONF clients (for example, SNMP and CLI scripts), and human users.

A

lock

22
Q

What NETCONF operation releases a configuration lock?

A

unlock

23
Q

What NETCONF operation requests the graceful termination of a NETCONF session?

A

close-session

24
Q

What NETCONF operation forces the termination of a NETCONF session?

A

kill-session

25
Q

What must all NETCONF messages end with, to let the other end of the connection know it is done sending the message?

A

]]>]]>

26
Q

YIN

A

YANG-Independent Notation

27
Q

What is the syntax that modules in YANG can be translated into, which has an XML equivalent syntax?

A

YIN

28
Q

YDK

A

YANG Development Kit

29
Q

T/F - YDK will only perform local (client-side) checks.

A

True