28. Foundational Network Programmability Concepts Flashcards

1
Q

What is an API?

A

Application Program Interface

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

What does APIs do?

A
  • Used to communicate with applications and other software
  • Used to communicate with various components of the network through software
  • Used to configure or monitor specific components of the network
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is a Northbound API used for?

A

To communicate from a network controller to its management software

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

What is a Southbound API used for?

A

To make changes in physical device in the management software of the controller

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

What method does RESTapi use?

A

HTTP

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

What are the most common HTTP functions?

A
  • Get (request)
  • Post (submits data)
  • Put (replaces data),
  • Patch (appends data),
  • Delete (removes data)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is CRUD?

A

Functions that most applications use to store or alter data

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

Where does CRUD stand for?

A

Create - insert data
Read - retrieves data
Update - modifies data
Delete - removes data

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

What is Postman?

A

An application that makes it possible to interact with APIs using a console based approach

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

What are the two most common data formats used with APO?

A
  • XML (Extensible markup language)

- JSON (Javascript Object Notation)

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

How does XML start and end?

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

What is the advantage of JSON over XML?

A

JSON is easier to work with, simplier to read and create

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

How does JSON start and end?

A

{ and }

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

What are the HTTP status codes?

A
200 - OK
201 - Created
400 - Bad Request
401 - Unauthorized
403 - Forbidden
404 - Not Found
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

With what function are credentials send to Cisco DNA?

A

HTTP POST

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

What is YANG?

A

A data definition language that uses data models

17
Q

What is NETCONFIG?

A

A tool that uses YANG to communicate with various device on the network

18
Q

What is RESTCONF?

A

Used to programatically interface with data defined in YANG models while also using the datastore concepts defined in NETCONF

19
Q

What HTTP and CRUD does RESTCONFIG support?

A
  • Get
  • Post
  • Put
  • Delete
  • Options
20
Q

How does Python mark a string?

A

””” “””