MuleSoft Certified Platform Architect – Level 1 — Question 51
An API has been updated in Anypoint Exchange by its API producer from version 3.1.1 to 3.2.0 following accepted semantic versioning practices and the changes have been communicated via the API's public portal.
The API endpoint does NOT change in the new version.
How should the developer of an API client respond to this change?
Answer options
- A. The update should be identified as a project risk and full regression testing of the functionality that uses this API should be run.
- B. The API producer should be contacted to understand the change to existing functionality.
- C. The API producer should be requested to run the old version in parallel with the new one.
- D. The API client code ONLY needs to be changed if it needs to take advantage of new features.
Correct answer: D
Explanation
The correct answer is D because, with a semantic versioning update that does not change the API endpoint, existing functionality should remain intact, and changes to client code are only necessary if new features are needed. Options A and B suggest unnecessary risk and communication when the update follows proper versioning guidelines, and option C is impractical as running multiple versions can lead to complexity and confusion.