Question
A software engineer needs to transfer data over the internet using programmatic access while also being able to query the data. Which of the following will best help the engineer to complete this task?
- A. SQL
- B. Web sockets
- C. RPC
- D. GraphQL Correct
Explanation
GraphQL is a query language for APIs that runs over HTTP, so a client gets programmatic access across the internet and can ask for exactly the fields it needs. SQL is a database query language, not an internet API transport. WebSockets provide a persistent bidirectional channel but no query capability, and RPC calls remote procedures rather than querying data.