Mulesoft MCPA-Level 1 exam MuleSoft Certified Platform Architect – Level 1 Online Training
Mulesoft MCPA-Level 1 exam Online Training
The questions for MCPA-Level 1 exam were last updated at Dec 23,2024.
- Exam Code: MCPA-Level 1 exam
- Exam Name: MuleSoft Certified Platform Architect - Level 1
- Certification Provider: Mulesoft
- Latest update: Dec 23,2024
What is a typical result of using a fine-grained rather than a coarse-grained API deployment model to implement a given business process?
- 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
- 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
B
Explanation:
Correct Answer. A higher number of discoverable API-related assets in the application network.
*****************************************
>> We do NOT get faster response times in fine-grained approach when compared to coarse-grained approach.
>> In fact, we get faster response times from a network having coarse-grained APIs compared to a network having fine-grained APIs model. The reasons are below. Fine-grained approach:
What is a typical result of using a fine-grained rather than a coarse-grained API deployment model to implement a given business process?
- 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
- 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
B
Explanation:
Correct Answer. A higher number of discoverable API-related assets in the application network.
*****************************************
>> We do NOT get faster response times in fine-grained approach when compared to coarse-grained approach.
>> In fact, we get faster response times from a network having coarse-grained APIs compared to a network having fine-grained APIs model. The reasons are below. Fine-grained approach:
What is a typical result of using a fine-grained rather than a coarse-grained API deployment model to implement a given business process?
- 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
- 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
B
Explanation:
Correct Answer. A higher number of discoverable API-related assets in the application network.
*****************************************
>> We do NOT get faster response times in fine-grained approach when compared to coarse-grained approach.
>> In fact, we get faster response times from a network having coarse-grained APIs compared to a network having fine-grained APIs model. The reasons are below. Fine-grained approach:
What is a typical result of using a fine-grained rather than a coarse-grained API deployment model to implement a given business process?
- 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
- 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
B
Explanation:
Correct Answer. A higher number of discoverable API-related assets in the application network.
*****************************************
>> We do NOT get faster response times in fine-grained approach when compared to coarse-grained approach.
>> In fact, we get faster response times from a network having coarse-grained APIs compared to a network having fine-grained APIs model. The reasons are below. Fine-grained approach:
What is a typical result of using a fine-grained rather than a coarse-grained API deployment model to implement a given business process?
- 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
- 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
B
Explanation:
Correct Answer. A higher number of discoverable API-related assets in the application network.
*****************************************
>> We do NOT get faster response times in fine-grained approach when compared to coarse-grained approach.
>> In fact, we get faster response times from a network having coarse-grained APIs compared to a network having fine-grained APIs model. The reasons are below. Fine-grained approach:
What is a typical result of using a fine-grained rather than a coarse-grained API deployment model to implement a given business process?
- 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
- 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
B
Explanation:
Correct Answer. A higher number of discoverable API-related assets in the application network.
*****************************************
>> We do NOT get faster response times in fine-grained approach when compared to coarse-grained approach.
>> In fact, we get faster response times from a network having coarse-grained APIs compared to a network having fine-grained APIs model. The reasons are below. Fine-grained approach:
How can the application of a rate limiting API policy be accurately reflected in the RAML definition of an API?
- A . By refining the resource definitions by adding a description of the rate limiting policy behavior
- B . By refining the request definitions by adding a remaining Requests query parameter with description, type, and example
- C . By refining the response definitions by adding the out-of-the-box Anypoint Platform rate-limit-enforcement securityScheme with description, type, and example
- D . By refining the response definitions by adding the x-ratelimit-* response headers with description, type, and example
D
Explanation:
Correct Answer. By refining the response definitions by adding the x-ratelimit-* response headers with description, type, and example
*****************************************
References:
https://docs.mulesoft.com/api-manager/2.x/rate-limiting-and-throttling#response-headers
https://docs.mulesoft.com/api-manager/2.x/rate-limiting-and-throttling-sla-based-policies#response-headers
What do the API invocation metrics provided by Anypoint Platform provide?
- A . ROI metrics from APIs that can be directly shared with business users
- B . Measurements of the effectiveness of the application network based on the level of reuse
- C . Data on past API invocations to help identify anomalies and usage patterns across various APIs
- D . Proactive identification of likely future policy violations that exceed a given threat threshold
C
Explanation:
Correct Answer. Data on past API invocations to help identify anomalies and usage
patterns across various APIs
*****************************************
API Invocation metrics provided by Anypoint Platform:
>> Does NOT provide any Return Of Investment (ROI) related information. So the option suggesting it is OUT.
>> Does NOT provide any information w.r.t how APIs are reused, whether there is effective usage of APIs or not etc…
>> Does NOT prodive any prediction information as such to help us proactively identify any future policy violations.
So, the kind of data/information we can get from such metrics is on past API invocations to
help identify anomalies and usage patterns across various APIs.
Reference: https://usermanual.wiki/Document/APAAppNetstudentManual02may2018.991784750.pdf
What is most likely NOT a characteristic of an integration test for a REST API implementation?
- A . The test needs all source and/or target systems configured and accessible
- B . The test runs immediately after the Mule application has been compiled and packaged
- C . The test is triggered by an external HTTP request
- D . The test prepares a known request payload and validates the response payload
B
Explanation:
Correct Answer. The test runs immediately after the Mule application has been compiled and packaged
*****************************************
>> Integration tests are the last layer of tests we need to add to be fully covered.
>> These tests actually run against Mule running with your full configuration in place and are tested from external source as they work in PROD.
>> These tests exercise the application as a whole with actual transports enabled. So, external systems are affected when these tests run.
So, these tests do NOT run immediately after the Mule application has been compiled and packaged.
FYI… Unit Tests are the one that run immediately after the Mule application has been compiled and packaged.
Reference: https://docs.mulesoft.com/mule-runtime/3.9/testing-strategies#integration-testing
What API policy would LEAST likely be applied to a Process API?
- A . Custom circuit breaker
- B . Client ID enforcement
- C . Rate limiting
- D . JSON threat protection
D
Explanation:
Correct Answer. JSON threat protection
*****************************************
Fact: Technically, there are no restrictions on what policy can be applied in what layer. Any policy can be applied on any layer API. However, context should also be considered properly before blindly applying the policies on APIs.
That is why, this question asked for a policy that would LEAST likely be applied to a Process API.
From the given options:
>> All policies except "JSON threat protection" can be applied without hesitation to the APIs in Process tier.
>> JSON threat protection policy ideally fits for experience APIs to prevent suspicious JSON payload coming from external API clients. This covers more of a security aspect by trying to avoid possibly malicious and harmful JSON payloads from external clients calling experience APIs.
As external API clients are NEVER allowed to call Process APIs directly and also these kind of malicious and harmful JSON payloads are always stopped at experience API layer only using this policy, it is LEAST LIKELY that this same policy is again applied on Process
Layer API.
Reference: https://docs.mulesoft.com/api-manager/2.x/policy-mule3-provided-policies
OPTIONS is not cacheable, POST is, so I would go for B in the 30 question:
https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/OPTIONS
https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/POST