Automation Flashcards

1
Q

What are the 6 guidelines of a REST API?

A

1.) Stateless
2.) Uniform Interface
3.) Client/Server Separation
4.) Layered System (separation of concerns)
5.) Cacheable
6.) Code On Demand

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

How does SD-WAN vManage use REST APIs?

A

For admins to program vManage policies using scripts.

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

How does SD-WAN vManage use NETCONF?

A

To push policy from vManage to vSmart

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

What is one security issue related to a well documented API?

A

Reverse Engineering

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

What are some common methods to secure a REST API?

A
  • Use SSL for connection
  • Maintain Statelessness (do not keep sessions open)
  • Use authentication
  • Use authorization
  • Rate limits (Brute Force Protection)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What are the most common methods to authenticate to an API?

A
  • Basic Authentication (Username : Password)
  • API Key
  • Token-Based (token refresh)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly