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
2
Q
How does SD-WAN vManage use REST APIs?
A
For admins to program vManage policies using scripts.
3
Q
How does SD-WAN vManage use NETCONF?
A
To push policy from vManage to vSmart
4
Q
What is one security issue related to a well documented API?
A
Reverse Engineering
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)
6
Q
What are the most common methods to authenticate to an API?
A
- Basic Authentication (Username : Password)
- API Key
- Token-Based (token refresh)
6
Q
A