CCNA: Cisco Certified Network Associate — Question 1329
Which option best describes an API?
Answer options
- A. a contract that describes how various components communicate and exchange data with each other
- B. an architectural style (versus a protocol) for designing applications
- C. a stateless client-server model
- D. request a certain type of data by specifying the URL path that models the data
Correct answer: A
Explanation
The correct answer, A, accurately describes an API as a contract for communication and data exchange between components. Options B, C, and D focus on different aspects of software architecture or data retrieval but do not encapsulate the main function of an API.