Chapter 12 - Automation Flashcards

1
Q

What data encoding format uses tags such as <> and >?

  1. JSON
  2. XML
  3. BER
  4. Base64
A

B. XML is the data encoding format that uses these tags.

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

Which of the following is an HTTP-based protocol that provides a programmatic interface for accessing YANG modeled data?

  1. SSH
  2. JSON
  3. NETCONF
  4. RESTCONF
A

D. RESTCONF is an HTTP-based protocol that provides a programmatic interface for accessing YANG data.

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

Which of the following is a data modeling language used to describe the data for network configuration protocols such as NETCONF and RESTCONF?

  1. YANG
  2. SOAP
  3. Express g
  4. RPC
A

A. YANG is a data modeling language used to describe the data for network configuration protocols.

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

Inside the YANG data model, which of the following is used to group related nodes?

  1. Lists
  2. Attributes
  3. Containers
  4. Types
A

C. Containers are used to group related nodes in a YANG data model.

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

What network management protocol defined by the IETF supports running, candidate, and startup configuration data stores?

  1. NETCONF
  2. JSON
  3. RESTCONF
  4. SSH
A

A. NETCONF is defined by the IETF and supports running, candidate, and startup configuration data stores.

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

Which of the following uses HTTP operations to provide create, retrieve, update, and delete (CRUD) operations on a NETCONF data store containing YANG data?

  1. XML
  2. JSON
  3. NETCONF
  4. RESTCONF
A

D. RESTCONF uses HTTP operations to provide create, retrieve, update, and delete (CRUD) operations on a NETCONF data store.

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

Which Internet standards body develops open standards by using open processes and working groups?

  1. OpenConfig
  2. IETF
  3. IANA
  4. ARIN
A

B. The IETF is an Internet standards body that develops open standards using open processes and working groups.

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

Which of the following is a group of network operators working on developing programmable interfaces and tools for managing networks in a vendor-neutral way?

  1. IETF
  2. IANA
  3. ARIN
  4. OpenConfig
A

D. OpenConfig is a group of network operators working on developing programmable interfaces and tools for managing networks in a vendor-neutral way.

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

Model-driven telemetry is a new concept for network monitoring in which data is streamed from network devices continuously to subscribers using a push model via which protocol?

  1. NETCONF
  2. RESTCONF
  3. XML
  4. HTML
A

A. Model-driven telemetry is a new concept for network monitoring in which data is streamed from network devices continuously to subscribers using NETCONF.

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

What type of subscription is useful for situations in which a data value changes occasionally but the information needs to be sent in a timely manner?

  1. On-change publication
  2. Dial-out
  3. Periodic publication
  4. Dial-in
A

C. A periodic publication is a subscription that is useful for when a data value changes occasionally but the information needs to be sent in a timely manner.

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

Which of the following does Simple Object Access Protocol (SOAP) use to transport messages using XML-based syntax?

  1. HTML
  2. SSH
  3. NETCONF
  4. HTTP
A

D. Simple Object Access Protocol (SOAP) uses HTTP to transport messages using XML-based syntax.

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

Which of the following is an open-source framework project and is a functional subset of NETCONF with JSON representation?

  1. XML
  2. SOAP
  3. gRPC
  4. YANG
A

C. gRPC is an open-source framework project and is a functional subset of NETCONF with JSON representation.

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

Which of the following is a lightweight data-interchange text format that is fairly easy to read and write and easy for systems to understand?

  1. JSON
  2. REST
  3. NETCONF
  4. RESTCONF
A

A. JSON is a lightweight data-interchange text format that is fairly easy to read and write and easy for systems to understand.

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

What network management protocol uses protocol operations that are defined as remote procedure calls (RPCs) for requests and replies in XML-based representation?

  1. XML
  2. SSH
  3. JSON
  4. NETCONF
A

D. NETCONF is a network management protocol that uses protocol operations that are defined as remote procedure calls (RPCs) for requests and replies in XML-based representation.

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

Which of the following is a data modeling language used to describe the data for network configuration protocols such as NETCONF and RESTCONF?

  1. YANG
  2. RPC
  3. REST
  4. XML
A

A. YANG is a data modeling language used to describe the data for network configuration protocols such as NETCONF and RESTCONF.

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

Which of the following are service data models? (Choose two.)

Interface

Layer 3 MPLS VPN

ACL

VRF

A
  1. B and D. Layer 3 MPLS VPN and VRF are service data models.
17
Q

Select the three data stores that NETCONF uses? (Choose three.)

  1. running
  2. archive
  3. candidate
  4. startup
A

A, C, and D. NETCONF uses running, candidate, and startup data stores.

18
Q

What are the resource types in a RESTCONF URI? (Choose two.)

  1. schema
  2. data
  3. operations
  4. edit-config
A

B and C. A RESTCONF URI uses data and operations resource types.

19
Q

Which of the following CRUD operations creates a resource or invokes an operation?

  1. GET
  2. PUT
  3. POST
  4. DELETE
A

C. A POST operation creates a resource or invokes an operation.

20
Q

What group is focused on building consistent sets of vendor-neutral data models written in YANG to support operational needs and requirements from various network operators?

  1. IETF
  2. IANA
  3. ARIN
  4. OpenConfig
A

D. The OpenConfig group is focused on building consistent sets of vendor-neutral data models written in YANG to support operational needs and requirements from various network operators.

21
Q

What protocol provides a programmatic interface for accessing YANG modeled data with either XML or JSON encoding?

  1. RESTCONF
  2. NETCONF
  3. OpenConfig
  4. REST
A

A. The RESTCONF protocol provides a programmatic interface for accessing YANG modeled data with either XML or JSON encoding.

22
Q

With model-driven telemetry, which mode initiates the connection from the network device to start the TCP connection to the receiver?

  1. Dial-in
  2. On-change
  3. Dial-out
  4. Periodic
A

C. Dial-out mode initiates the connection from the network device to start the TCP connection to the receiver.

23
Q

With a dynamic subscription, which methods are used to request sensor paths? (Choose two.)

  1. IOS XR MDT RPC
  2. IETF RPC
  3. OpenConfig RPC
  4. Cisco YANG RPC
A

A and C. IOS XR MDT RPC and OpenConfig RPC are methods used to request sensor paths with a dynamic subscription.

24
Q

Which subscriptions are streamed out to the receivers at specified intervals such as 5 seconds?

  1. OpenConfig RPCs
  2. IOS XR MDT RPCs
  3. On-change publications
  4. Periodic publications
A

D. Periodic publications are subscriptions that are streamed out to the receivers at specified intervals such as 5 seconds.

25
Q

What method of telemetry streams data to a receiver using a policy file that defines the data to stream and the frequency to get the data?

  1. Policy-based telemetry
  2. Cadence-based telemetry
  3. Model-driven telemetry
  4. Periodic publication
A

A. Policy-based telemetry streams data to a receiver using a policy file that defines the data to stream and the frequency to get the data.

26
Q

Which of the following is a new concept in network monitoring in which data is continuously streamed from network devices to subscribers using a push model, providing real-time configuration and state information?

  1. Cisco YANG models
  2. Model-driven telemetry
  3. NETCONF
  4. RESTCONF
A

B. Model-driven telemetry is a new concept in network monitoring in which data is continuously streamed from network devices to subscribers using a push model, providing real-time configuration and state information.

27
Q

What API call uses HTTP PUT, POST, UPDATE, or DELETE methods to edit data resources represented by YANG data models?

  1. NETCONF
  2. REST
  3. RESTCONF
  4. Postman
A

C. A RESTCONF API call uses HTTP PUT, POST, UPDATE, or DELETE methods to edit data resources represented by YANG data models.

28
Q

What do NETCONF and RESTCONF have in common?

  1. JSON encoding
  2. Use of ietf-yang-library
  3. Lock operations
  4. Transactions
A

B. Both NETCONF and RESTCONF use the ietf-yang-library.

29
Q

Where in the TCP/IP network frame format does the YANG data model reside?

  1. Ethernet header
  2. IP header
  3. TCP header
  4. Data
A

D. The YANG data model resides in the data portion of the TCP/IP network frame.

30
Q

Which of the following CRUD operations gets a resource?

  1. GET
  2. POST
  3. PUT
  4. DELETE
A

A. The GET CRUD operations get a resource.

31
Q

Inside a YANG data model, what are used to identify nodes that are stored in a sequence?

  1. Attributes
  2. Lists
  3. Submodules
  4. Leafs
A

B. Lists inside a YANG data model are used to identify nodes that are stored in a sequence.

32
Q

Which of the following Cisco products supports NETCONF, YANG, and RESTCONF?

  1. NX-OS
  2. IOS XE
  3. IOS XR
  4. Open SDN Controller/OpenDaylight
A

D. The Open SDN Controller/OpenDaylight Cisco product supports NETCONF, YANG, and RESTCONF.

33
Q

Which of the following is a TCP transport protocol that RESTCONF and gRPC use?

  1. HTTP
  2. SSH
  3. FTP
  4. SFTP
A

A. HTTP is a TCP transport protocol that RESTCONF and gRPC use.

34
Q

Which of the following is an API framework for simple web services that uses GET, POST, PUT, and DELETE methods?

  1. RESTCONF
  2. NETCONF
  3. REST
  4. JSON
A

C. REST is an API framework for simple web services that uses GET, POST, PUT, and DELETE methods.

35
Q

Which of the following is data wrapped in tags that is both human readable and system readable?

  1. JSON
  2. NETCONF
  3. RESTCONF
  4. XML
A

D. XML is data wrapped in tags that is both human readable and system readable.

36
Q

Inside a YANG data model, what is used inside lists to describe things like a name or a description?

  1. Leafs
  2. Containers
  3. Modules
  4. Submodules
A

A. Inside a YANG data model, leafs are used inside lists to describe things like a name or a description.

37
Q

Which of the following is a collection of Cisco native, IETF, and OpenConfig YANG models that can be used with Cisco-based platforms?

  1. REST model
  2. SOAP model
  3. Tail-f model
  4. Cisco YANG model
A

D. The Cisco YANG model is a collection of Cisco native, IETF, and OpenConfig YANG models that can be used with Cisco-based platforms.

38
Q

Which of the following streams out data only when a change in the data has occurred, such as when an interface or a neighbor relationship goes down?

  1. Dial-in
  2. On-change publication
  3. Periodic publication
  4. Dial-out
A

B. On-change publication streams out data only when a change in the data has occurred, such as when an interface or a neighbor relationship goes down.

39
Q

With model-driven telemetry, which mode listens until the receiver sends the initial SYN packet to start the TCP connection?

  1. Dial-in
  2. Dial-out
  3. Periodic
  4. On-change
A

A. Dial-in mode listens until the receiver sends the initial SYN packet to start the TCP connection.