MCPA-LEVEL-1 practice question 12 of 15

What is a typical result of using a fine-grained rather than a coarse-grained API deployment model to implement a given business process?

Full set: 95 questions
Answer options
A: A decrease in the number of connections within the application network supporting the business process
B: A higher number of discoverable API-related assets in the application network Correct answer
C: A better response time for the end user as a result of the APIs being smaller in scope and complexity
D: An overall tower usage of resources because each fine-grained API consumes less resources
Correct Answer:
B. A higher number of discoverable API-related assets in the application network
Explanation

A fine-grained API deployment model, which aligns with microservices architecture, involves decomposing a business process into numerous small, single-purpose services. Each of these services is exposed via an API. This approach inherently results in a larger number of individual APIs compared to a coarse-grained (monolithic) model where multiple functions are bundled into a single, larger API. In the context of MuleSoft's API-led connectivity, each of these fine-grained APIs is treated as a reusable and discoverable asset within the application network, typically published to Anypoint Exchange. Consequently, a higher number of discoverable API-related assets is a direct and typical outcome of this model.

Why Incorrect

A. A fine-grained model increases inter-service communication to orchestrate a business process, leading to an increase, not a decrease, in network connections.
C. Overall end-user response time can potentially increase due to the cumulative network latency of multiple, chained API calls required to complete a process.
D. The total resource consumption may be higher due to the overhead of running and managing numerous independent API runtimes, despite each one being individually smaller. ---

References

1. MuleSoft Whitepaper, "API-led connectivity: The next step in the evolution of SOA": This document explains the concept of an application network built from reusable services. It states, "With an API-led approach, this application network is composed of well-defined, reusable, and discoverable APIs that are developed and managed on a single platform." A fine-grained approach directly increases the number of these discoverable API nodes in the network. (Reference: Section "The application network emerges", Paragraph 2).

2. MuleSoft Documentation, "API-Led Connectivity": This official documentation page describes how API-led connectivity promotes the creation of reusable assets. It emphasizes that "Each API becomes a managed, secure, and discoverable building block." Decomposing a process into more granular services naturally creates more of these building blocks (assets). (Reference: Section "What is API-Led Connectivity?").

3. Richards, M., & Ford, N. (2020). Fundamentals of Software Architecture: An Engineering Approach. O'Reilly Media. While a general software architecture text, its principles are foundational to MuleSoft's approach. In the context of microservices (a fine-grained model), Chapter 9, "Architectural Quanta and Granularity," discusses that a key trade-off of moving to a finer granularity is an increase in the number of services (assets) that must be managed, deployed, and discovered. This directly supports the increase in discoverable assets. (Reference: Chapter 9, Section "Granularity Disintegrators").

Scroll to Top