CompTIA

DY0-001 practice question 12

CompTIA DataX · free question 12 of 20

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.

Practice the whole free set

Answer all 20 free DY0-001 questions with instant feedback, or unlock all 141 questions with Learn and Exam modes.