MuleSoft Certified Developer – Level 1 — Question 85

http://dev.acme.com/api/patients?year=2016
What should this endpoint return?

Answer options

Correct answer: D

Explanation

The correct answer is D because the query parameter 'year=2016' specifies that the endpoint should return patients from that specific year. Option A is incorrect as it implies a specific patient by ID, while option B suggests all patients, and option C states no patients, none of which align with the provided query parameter.