MCPA - Level 1 Exam QuestionsBrowse all questions from this exam

MCPA - Level 1 Exam - Question 34


What is a best practice when building System APIs?

Show Answer
Correct Answer: A

Documenting the API using an easily consumable asset like a RAML definition is a best practice when building System APIs. This approach ensures that the API is well-documented and accessible for developers, facilitating ease of use, onboarding, and maintenance. Other options, such as tightly coupling the API design to backend operations or exposing internal technical details, can lead to maintenance challenges and reduced flexibility. Building an Enterprise Data Model for each backend system is also not practical for System APIs, as it can be overly complex and not necessary for API consumers.

Discussion

7 comments
Sign in to comment
calazansOption: B
Jun 22, 2022

Model all API resources and methods to closely mimic the operations of the backend system

FreedoxOption: A
Mar 29, 2024

Feels like it should be A... (but I could be wrong). If you go for B, "Model all API resources", it's time-consuming approach, as some assets might have 100s or 1000s of assets. And there might be assets you don't want to expose... I'll go for A, just clearly document what you using

AB317Option: B
Aug 6, 2021

Answer: B

Outdoor25
Dec 29, 2021

It could be either A or B. B is not defined as best practice by Mulesoft. However, A is best practice. Not only for System API but for all APIs.

jmayOption: B
Mar 24, 2022

Keyword - "building". So B it is.

AniL1488Option: C
Oct 16, 2022

Creating a Enterprise Data Model is good practice to hide the actual backend system data model.

geekdomOption: B
Oct 24, 2022

Model all API resources and methods to closely mimic the operations of the backend system A is correct but here, the concern is system API and we don't have an enterprise data model in place

AlandtOption: A
Jul 4, 2024

A is correct