Question
A data scientist is deploying a model that needs to be accessed by multiple departments with minimal development effort by the departments. Which of the following APIs would be best for the data scientist to use?
- A. SOAP
- B. RPC
- C. JSON
- D. REST Correct
Explanation
A REST API exposes the model over standard HTTP methods and URLs, so any department can call it with common tools and libraries and little integration work. SOAP requires XML envelopes and WSDL contracts, and RPC frameworks usually need generated client stubs, both of which add development effort. JSON is a data format that REST APIs often use, not an API style.