Implementing Automation for Cisco Security Solutions (SAUTO) — Question 37
Which two statements describe the characteristics of API styles for REST and RPC? (Choose two.)
Answer options
- A. REST-based APIs function in a similar way to procedures.
- B. REST-based APIs are used primarily for CRUD operations.
- C. REST and RPC API styles are the same.
- D. RPC-based APIs function in a similar way to procedures.
- E. RPC-based APIs are used primarily for CRUD operations.
Correct answer: B, D
Explanation
Option B is correct as REST APIs are indeed designed to support CRUD operations. Option D is also correct because RPC APIs are structured around the concept of procedure calls. Options A and C are incorrect since while REST can have similarities with procedures, they are not the same, and REST and RPC are distinct styles. Option E is incorrect as RPC is not primarily focused on CRUD operations.