ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 40 - Certified MuleSoft Developer I discussion

Report
Export

What is a best practice when building System APIs?

A.
Document the API using an easily consumable asset like a RAML definition
Answers
A.
Document the API using an easily consumable asset like a RAML definition
B.
Model all API resources and methods to closely mimic the operations of the backend system
Answers
B.
Model all API resources and methods to closely mimic the operations of the backend system
C.
Build an Enterprise Data Model (Canonical Data Model) for each backend system and apply it to System APIs
Answers
C.
Build an Enterprise Data Model (Canonical Data Model) for each backend system and apply it to System APIs
D.
Expose to API clients all technical details of the API implementation's interaction wifch the backend system
Answers
D.
Expose to API clients all technical details of the API implementation's interaction wifch the backend system
Suggested answer: B

Explanation:

Model all API resources and methods to closely mimic theoperations of the backend system.. >> There are NO fixed and straight best practices while opting data models for APIs. They are completly contextual and depends on number of factors. Based upon those factors, an enterprise can choose if they have to go with Enterprise Canonical Data Model or Bounded Context Model etc.>> One should NEVER expose the technical details of API implementation to their API clients. Only the API interface/ RAML is exposed to API clients.>> It is true that the RAML definitions of APIs should be as detailed as possible and should reflect most of the documentation. However, just that is NOT enough to call your API as best documented API. There should be even more documentation on Anypoint Exchange with API Notebooks etc. to make and create a developer friendly API and repository..>> The best practice always when creating System APIs is to create their API interfaces by modeling their resources and methods to closely reflect the operations and functionalities of that backend system.

asked 23/09/2024
Melvin Masina
32 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first