Free MCPA - Level 1 Sample Questions — MuleSoft Certified Platform Architect - Level 1

Free MCPA - Level 1 sample questions for the MuleSoft Certified Platform Architect - Level 1 exam. No account required: study at your own pace.

Want an interactive quiz? Take the full MCPA - Level 1 practice test

Looking for more? Click here to get the full PDF with 46+ practice questions for $10 for offline study and deeper preparation.

Question 1

What best describes the Fully Qualified Domain Names (FQDNs), also known as DNS entries, created when a Mule application is deployed to the CloudHub Shared Worker Cloud?

  • A. fixed number of FQDNs are created, IRRESPECTIVE of the environment and VPC design
  • B. The FQDNs are determined by the application name chosen, IRRESPECTIVE of the region
  • C. The FQDNs are determined by the application name, but can be modified by an administrator after deployment
  • D. The FQDNs are determined by both the application name and the Anypoint Platform organization
Show Answer
Correct Answer:
B. The FQDNs are determined by the application name chosen, IRRESPECTIVE of the region
Question 2

A code-centric API documentation environment should allow API consumers to investigate and execute API client source code that demonstrates invoking one or more APIs as part of representative scenarios. What is the most effective way to provide this type of code-centric API documentation environment using Anypoint Platform?

  • A. Enable mocking services for each of the relevant APIs and expose them via their Anypoint Exchange entry
  • B. Ensure the APIs are well documented through their Anypoint Exchange entries and API Consoles and share these pages with all API consumers
  • C. Create API Notebooks and include them in the relevant Anypoint Exchange entries
  • D. Make relevant APIs discoverable via an Anypoint Exchange entry
Show Answer
Correct Answer:
C. Create API Notebooks and include them in the relevant Anypoint Exchange entries
Question 3

An Order API must be designed that contains significant amounts of integration logic and involves the invocation of the Product API. The power relationship between Order API and Product API is one of `Customer/Supplier`, because the Product API is used heavily throughout the organization and is developed by a dedicated development team located in the office of the CTO. What strategy should be used to deal with the API data model of the Product API within the Order API?

  • A. Convince the development team of the Product API to adopt the API data model of the Order API such that the integration logic of the Order API can work with one consistent internal data model
  • B. Work with the API data types of the Product API directly when implementing the integration logic of the Order API such that the Order API uses the same (unchanged) data types as the Product API
  • C. Implement an anti-corruption layer in the Order API that transforms the Product API data model into internal data types of the Order API
  • D. Start an organization-wide data modeling initiative that will result in an Enterprise Data Model that will then be used in both the Product API and the Order API
Show Answer
Correct Answer:
C. Implement an anti-corruption layer in the Order API that transforms the Product API data model into internal data types of the Order API
Question 4

An API implementation is deployed on a single worker on CloudHub and invoked by external API clients (outside of CloudHub). How can an alert be set up that is guaranteed to trigger AS SOON AS that API implementation stops responding to API invocations?

  • A. Implement a heartbeat/health check within the API and invoke it from outside the Anypoint Platform and alert when the heartbeat does not respond
  • B. Configure a "worker not responding" alert in Anypoint Runtime Manager
  • C. Handle API invocation exceptions within the calling API client and raise an alert from that API client when the API is unavailable
  • D. Create an alert for when the API receives no requests within a specified time period
Show Answer
Correct Answer:
B. Configure a "worker not responding" alert in Anypoint Runtime Manager
Question 5

What is the most performant out-of-the-box solution in Anypoint Platform to track transaction state in an asynchronously executing long-running process implemented as a Mule application deployed to multiple CloudHub workers?

  • A. Redis distributed cache
  • B. java.util.WeakHashMap
  • C. Persistent Object Store
  • D. File-based storage
Show Answer
Correct Answer:
C. Persistent Object Store
Question 6

An API experiences a high rate of client requests (TPS) with small message payloads. How can usage limits be imposed on the API based on the type of client application?

  • A. Use an SLA-based rate limiting policy and assign a client application to a matching SLA tier based on its type
  • B. Use a spike control policy that limits the number of requests for each client application type
  • C. Use a cross-origin resource sharing (CORS) policy to limit resource sharing between client applications, configured by the client application type
  • D. Use a rate limiting policy and a client ID enforcement policy, each configured by the client application type
Show Answer
Correct Answer:
A. Use an SLA-based rate limiting policy and assign a client application to a matching SLA tier based on its type
Question 7

How are an API implementation, API client, and API consumer combined to invoke and process an API?

  • A. The API consumer creates an API implementation, which receives API invocations from an API such that they are processed for an API client
  • B. The API client creates an API consumer, which receives API invocations from an API such that they are processed for an API implementation
  • C. The API consumer creates an API client, which sends API invocations to an API such that they are processed by an API implementation
  • D. The API client creates an API consumer, which sends API invocations to an API such that they are processed by an API implementation
Show Answer
Correct Answer:
C. The API consumer creates an API client, which sends API invocations to an API such that they are processed by an API implementation
Question 8

An API implementation is deployed to CloudHub. What conditions can be alerted on using the default Anypoint Platform functionality, where the alert conditions depend on the end-to-end request processing of the API implementation?

  • A. When the API is invoked by an unrecognized API client
  • B. When a particular API client invokes the API too often within a given time period
  • C. When the response time of API invocations exceeds a threshold
  • D. When the API receives a very high number of API invocations
Show Answer
Correct Answer:
C. When the response time of API invocations exceeds a threshold
Question 9

What should be ensured before sharing an API through a public Anypoint Exchange portal?

  • A. The visibility level of the API instances of that API that need to be publicly accessible should be set to public visibility
  • B. The users needing access to the API should be added to the appropriate role in Anypoint Platform
  • C. The API should be functional with at least an initial implementation deployed and accessible for users to interact with
  • D. The API should be secured using one of the supported authentication/authorization mechanisms to ensure that data is not compromised
Show Answer
Correct Answer:
A. The visibility level of the API instances of that API that need to be publicly accessible should be set to public visibility
Question 10

What correctly characterizes unit tests of Mule applications?

  • A. They test the validity of input and output of source and target systems
  • B. They must be run in a unit testing environment with dedicated Mule runtimes for the environment
  • C. They must be triggered by an external client tool or event source
  • D. They are typically written using MUnit to run in an embedded Mule runtime that does not require external connectivity
Show Answer
Correct Answer:
D. They are typically written using MUnit to run in an embedded Mule runtime that does not require external connectivity
Question 11

An API implementation is being designed that must invoke an Order API, which is known to repeatedly experience downtime. For this reason, a fallback API is to be called when the Order API is unavailable. What approach to designing the invocation of the fallback API provides the best resilience?

  • A. Search Anypoint Exchange for a suitable existing fallback API, and then implement invocations to this fallback API in addition to the Order API
  • B. Create a separate entry for the Order API in API Manager, and then invoke this API as a fallback API if the primary Order API is unavailable
  • C. Redirect client requests through an HTTP 307 Temporary Redirect status code to the fallback API whenever the Order API is unavailable
  • D. Set an option in the HTTP Requester component that invokes the Order API to instead invoke a fallback API whenever an HTTP 4xx or 5xx response status code is returned from the Order API
Show Answer
Correct Answer:
A. Search Anypoint Exchange for a suitable existing fallback API, and then implement invocations to this fallback API in addition to the Order API
Question 12

What is true about where an API policy is defined in Anypoint Platform and how it is then applied to API instances?

  • A. The API policy is defined in Runtime Manager as part of the API deployment to a Mule runtime, and then ONLY applied to the specific API instance
  • B. The API policy is defined in API Manager for a specific API instance, and then ONLY applied to the specific API instance
  • C. The API policy is defined in API Manager and then automatically applied to ALL API instances
  • D. The API policy is defined in API Manager, and then applied to ALL API instances in the specified environment
Show Answer
Correct Answer:
B. The API policy is defined in API Manager for a specific API instance, and then ONLY applied to the specific API instance
Question 13

A Mule application exposes an HTTPS endpoint and is deployed to the CloudHub Shared Worker Cloud. All traffic to that Mule application must stay inside the AWS VPC. To what TCP port do API invocations to that Mule application need to be sent?

  • A. 443
  • B. 8081
  • C. 8091
  • D. 8092
Show Answer
Correct Answer:
D. 8092
Question 14

What is true about automating interactions with Anypoint Platform using tools such as Anypoint Platform REST APIs, Anypoint CLI, or the Mule Maven plugin?

  • A. Access to Anypoint Platform APIs and Anypoint CLI can be controlled separately through the roles and permissions in Anypoint Platform, so that specific users can get access to Anypoint CLI while others get access to the platform APIs
  • B. Anypoint Platform APIs can ONLY automate interactions with CloudHub, while the Mule Maven plugin is required for deployment to customer-hosted Mule runtimes
  • C. ׀’y default, the Anypoint CLI and Mule Maven plugin are NOT included in the Mule runtime, so are NOT available to be used by deployed Mule applications
  • D. API policies can be applied to the Anypoint Platform APIs so that ONLY certain LOBs have access to specific functions
Show Answer
Correct Answer:
C. ׀’y default, the Anypoint CLI and Mule Maven plugin are NOT included in the Mule runtime, so are NOT available to be used by deployed Mule applications
Question 15

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 remainingRequests query parameter with description, type, and example
  • C. ׀’y 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
Show Answer
Correct Answer:
D. By refining the response definitions by adding the x-ratelimit-* response headers with description, type, and example

Aced these? Get the Full Exam

Download the complete MCPA - Level 1 study bundle with 46+ questions in a single printable PDF.