MCIA – Level 1: MuleSoft Certified Integration Architect – Level 1 Topic 1
Question #: 94
Topic #: 1
A Mule application is built to support a local transaction for a series of operations on a single database. The Mule application has a Scatter-Gather that participates in the local transaction.
What is the behavior of the Scatter-Gather when running within this local transaction?
A. Execution of each route within the Scatter-Gather occurs sequentially
Any error that occurs inside the Scatter-Gather will result in a rollback of all the database operations
B. Execution of all routes within the Scatter-Gather occurs in parallel
Any error that occurs inside the Scatter-Gather will result in a rollback of all the database operations
C. Execution of each route within the Scatter-Gather occurs sequentially
Any error that occurs inside the Scatter-Gather will NOT result in a rollback of any of the database operations
D. Execution of each route within the Scatter-Gather occurs in parallel
Any error that occurs inside the Scatter-Gather will NOT result in a rollback of any of the database operations
Selected Answer: A
Question #: 79
Topic #: 1
An organization is sizing an Anypoint VPC to extend their internal network to CloudHub.
For this sizing calculation, the organization assumes 150 Mule applications will be deployed among three (3) production environments and will use CloudHub’s default zero-downtime feature. Each Mule application is expected to be configured with two (2) CloudHub workers. This is expected to result in several Mule application deployments per hour.
What is the minimum number of IP addresses that should be configured for this VPC that results in the smallest usable private IP address range to support the deployment and zero downtime of these 150 Mule applications (not accounting for any future Mule applications)?
A. 10.0.0.0/21 (2048 IPs)
B. 10.0.0.0/22 (1024 IPs)
C. 10.0.0.0/23 (512 IPs)
D. 10.0.0.0/24 (256 IPs)
Selected Answer: A
Question #: 70
Topic #: 1
In a Mule application, a flow contains two (2) JMS Consume operations that are used to connect to a JMS broker and consume messages from two (2) JMS destinations. The Mule application then joins the two consumed JMS messages together.
The JMS broker does NOT implement high availability (HA) and periodically experiences scheduled outages of up to 10 minutes for routine maintenance.
What is the most idiomatic (used for its intended purpose) way to build the Mule flow so it can best recover from the expected outages?
A. Enclose the two (2) JMS operations in a Try scope with an On Error Continue error handler
B. Enclose the two (2) JMS operations in an Until Successful scope
C. Configure a transaction for the JMS connector
D. Configure a reconnection strategy for the JMS connector
Selected Answer: D
Question #: 13
Topic #: 1
Additional nodes are being added to an existing customer-hosted Mule runtime cluster to improve performance. Mule applications deployed to this cluster are invoked by API clients through a load balancer.
What is also required to carry out this change?
A. API implementations using an object store must be adjusted to recognize the new nodes and persist to them
B. A new load balancer must be provisioned to allow traffic to the new nodes in a round-robin fashion
C. External monitoring tools or log aggregators must be configured to recognize the new nodes
D. New firewall rules must be configured to accommodate communication between API clients and the new nodes
Selected Answer: C
Question #: 100
Topic #: 1
A manufacturing company is planning to deploy Mule applications to its own Azure Kubernetes Service infrastructure.
The organization wants to make the Mule applications more available and robust by deploying each Mule application to an isolated Mule runtime in a Docker container while managing all the Mule applications from the MuleSoft-hosted control plane.
What is the most idiomatic (used for its intended purpose) choice of runtime plane to meet these organizational requirements?
A. Anypoint Platform Private Cloud Edition
B. Anypoint Runtime Fabric
C. CloudHub
D. Anypoint Service Mesh
Selected Answer: B
Question #: 91
Topic #: 1
An ABC Farms project team is planning to build a new API that is required to work with data from different domains across the organization.
The organization has a policy that all project teams should leverage existing investments by reusing existing APIs and related resources and documentation that other project teams have already developed and deployed.
To support reuse, where on Anypoint Platform should the project team go to discover and read existing APIs, discover related resources and documentation, and interact with mocked versions of those APIs?
A. Design Center
B. API Manager
C. Runtime Manager
D. Anypoint Exchange
Selected Answer: D
Question #: 87
Topic #: 1
A Mule application is running on a customer-hosted Mule runtime in an organization’s network. The Mule application acts as a producer of asynchronous Mule events. Each Mule event must be broadcast to all interested external consumers outside the Mule application. The Mule events should be published in a way that is guaranteed in normal situations and also minimizes duplicate delivery in less frequent failure scenarios.
The organizational firewall is configured to only allow outbound traffic on ports 80 and 443. Some external event consumers are within the organizational network, while others are located outside the firewall.
What Anypoint Platform service is most idiomatic (used for its intended purpose) for publishing these Mule events to all external consumers while addressing the desired reliability goals?
A. CloudHub VM queues
B. Anypoint MQ
C. Anypoint Exchange
D. CloudHub Shared Load Balancer
Selected Answer: B
Question #: 74
Topic #: 1
An organization is migrating all its Mule applications to Runtime Fabric (RTF). None of the Mule applications use Mule domain projects.
Currently, all the Mule applications have been manually deployed to a server group among several customer-hosted Mule runtimes. Port conflicts between these
Mule application deployments are currently managed by the DevOps team who carefully manage Mule application properties files.
When the Mule applications are migrated from the current customer-hosted server group to Runtime Fabric (RTF), do the Mule applications need to be rewritten, and what DevOps port configuration responsibilities change or stay the same?
A. NO, the Mule applications do NOT need to be rewritten DevOps MUST STILL manage port conflicts
B. NO, the Mule applications do NOT need to be rewritten DevOps NO LONGER needs to manage port conflicts between the Mule applications
C. YES, the Mule applications MUST be rewritten DevOps NO LONGER needs to manage port conflicts between the Mule applications
D. YES, the Mule applications MUST be rewritten DevOps MUST STILL manage port conflicts
Selected Answer: B
Question #: 85
Topic #: 1
The ABC company has an Anypoint Runtime Fabric on VMs/Bare Metal (RTF-VM) appliance installed on its own customer-hosted AWS infrastructure.
Mule applications are deployed to this RTF-VM appliance. As part of the company standards, the Mule application logs must be forwarded to an external log management tool (LMT).
Given the company’s current setup and requirements, what is the most idiomatic (used for its intended purpose) way to send Mule application logs to the external LMT?
A. In RTF-VM, install and configure the external LTM’s log-forwarding agent
B. In RTF-VM, edit the pod configuration to automatically install and configure an Anypoint Monitoring agent
C. In each Mule application, configure custom Log4j settings
D. In RTF-VM, configure the out-of-the-box external log forwarder
Selected Answer: A
Question #: 83
Topic #: 1
An organization has implemented a continuous integration (CI) lifecycle that promotes Mule applications through code, build, and test stages. To standardize the organization’s CI journey, a new dependency control approach is being designed to store artifacts that include information such as dependencies, versioning, and build promotions.
To implement these process improvements, the organization will now require developers to maintain all dependencies related to Mule application code in a shared location.
What is the most idiomatic (used for its intended purpose) type of system the organization should use in a shared location to standardize all dependencies related to Mule application code?
A. A MuleSoft-managed repository at repository.mulesoft.org
B. A binary artifact repository
C. API Community Manager
D. The Anypoint Object Store service at cloudhub.io
Selected Answer: B
Question #: 75
Topic #: 1
A Mule application is being designed to receive nightly a CSV file containing millions of records from an external vendor over SFTP. The records from the file need to be validated, transformed, and then written to a database. Records can be inserted into the database in any order.
In this use case, what combination of Mule components provides the most effective and performant way to write these records to the database?
A. Use a Batch Job scope to bulk insert records into the database
B. Use a Scatter-Gather to bulk insert records into the database
C. Use a Parallel For Each scope to insert records one by one into the database
D. Use a DataWeave map operation and an Async scope to insert records one by one into the database
Selected Answer: A
Question #: 72
Topic #: 1
A Mule application is deployed to a cluster of two (2) customer-hosted Mule runtimes. Currently, the node named Alice is the primary node and the node named
Bob is the secondary node. The Mule application has a flow that polls a directory on a file system for new files.
The primary node Alice fails for an hour and then is restarted.
After the Alice node completely restarts, from what node are the files polled, and what node is now the primary node for the cluster?
A. Files are polled from the Bob node Bob is now the primary node
B. Files are polled from the Bob node Alice is now the primary node
C. Files are polled from the Alice node Alice is now the primary node
D. Files are polled from the Alice node Bob is now the primary node
Selected Answer: A
Question #: 71
Topic #: 1
An automation engineer needs to write scripts to automate the steps of the API lifecycle, including steps to create, publish, deploy, and manage APIs and their implementations in Anypoint Platform.
What Anypoint Platform feature can be used to automate the execution of all these actions in scripts in the easiest way without needing to directly invoke the
Anypoint Platform REST APIs?
A. The Mule Maven Plugin
B. Anypoint CLI
C. Runtime Manager agent
D. Automated Policies in API Manager
Selected Answer: B
Question #: 69
Topic #: 1
An organization has previously provisioned its own AWS VPC hosting various servers. The organization now needs to use CloudHub to host a Mule application that will implement a REST API. Once deployed to CloudHub, this Mule application must be able to communicate securely with the customer-provisioned AWS
VPC resources within the same region, without being interceptable on the public Internet.
What Anypoint Platform features should be used to meet these network communication requirements between CloudHub and the existing customer-provisioned
AWS VPC?
A. Add a Mulesoft-hosted Anypoint VPC configured with VPC Peering to the AWS VPC
B. Add default API Whitelisting policies to API Manager to automatically whitelist the customer-provisioned AWS VPC IP ranges needed by the Mule application
C. Use VM queues in the Mule application to allow any non-Mule assets within the customer-provisioned AWS VPC to subscribe to and receive messages
D. Configure an external identity provider (IdP) in Anypoint Platform with certificates from the customer-provisioned AWS VPC
Selected Answer: A
Question #: 59
Topic #: 1
A REST API is being designed to implement a Mule application.
What standard interface definition language can be used to define REST APIs?
A. OpenAPI Specification (OAS)
B. YAML
C. AsyncApi Specification
D. Web Services Definition Language (WSDL)
Selected Answer: A
Question #: 53
Topic #: 1
What is a recommended practice when designing an integration Mule 4 application that reads a large XML payload as a stream?
A. The payload must be cached using a Cache scope if it is to be sent to multiple backend systems
B. The payload size should NOT exceed the maximum available heap memory of the Mule runtime on which the Mule application executes
C. The payload should be dealt with as an XML stream, without converting it to a single Java object (POJO)
D. The payload should be dealt with as a repeatable XML stream, which must only be traversed (iterated-over) once and CANNOT be accessed randomly from DataWeave expressions and scripts
Selected Answer: C
Question #: 101
Topic #: 1
The AnyAirline organization’s passenger reservations center is designing an integration solution that combines invocations of three different System APIs (bookFlight, bookHotel, and bookCar) in a business transaction. Each System API makes calls to a single database.
The entire business transaction must be rolled back when at least one of the APIs fails.
What is the most idiomatic (used for its intended purpose) way to integrate these APIs in near real-time that provides the best balance of consistency, performance, and reliability?
A. Implement eXtended Architecture (XA) transactions between the API implementations
Coordinate between the API implementations using a Saga pattern
Implement caching in each API implementation to improve performance
B. Implement local transactions within each API implementation
Configure each API implementation to also participate in the same eXtended Architecture (XA) transaction
Implement caching in each API implementation to improve performance
C. Implement local transactions in each API implementation
Coordinate between the API implementations using a Saga pattern
Apply various compensating actions depending on where a failure occurs
D. Implement an eXtended Architecture (XA) transaction manager in a Mule application using a Saga pattern
Connect each API implementation with the Mule application using XA transactions
Apply various compensating actions depending on where a failure occurs
Selected Answer: C
Question #: 98
Topic #: 1
An organization has defined a common object model in Java to mediate the communication between different Mule applications in a consistent way. A Mule application is being built to use this common object model to process responses from a SOAP API and a REST API and then write the processed results to an order management system.
The developers want Anypoint Studio to utilize these common objects to assist in creating mappings for various transformation steps in the Mule application.
What is the most idiomatic (used for its intended purpose) and performant way to utilize these common objects to map between the inbound and outbound systems in the Mule application?
A. Use JAXB (XML) and Jackson (JSON) data bindings
B. Use the WSS module
C. Use the Java module
D. Use the Transform Message component
Selected Answer: D
Question #: 95
Topic #: 1
An organization is creating a Mule application that will be deployed to CloudHub. The Mule application has a property named dbPassword that stores a database user’s password.
The organization’s security standards indicate that the dbPassword property must be hidden from every Anypoint Platform user after the value is set in the Runtime Manager Properties tab.
What configuration in the Mule application helps hide the dbPassword property value in Runtime Manager?
A. Use secure::dbPassword as the property placeholder name and store the cleartext (unencrypted) value in a secure properties placeholder file
B. Use secure::dbPassword as the property placeholder name and store the property encrypted value in a secure properties placeholder file
C. Add the dbPassword property to the secureProperties section of the pom.xml file
D. Add the dbPassword property to the secureProperties section of the mule-artifact.json file
Selected Answer: D
Question #: 93
Topic #: 1
An organization has an HTTPS-enabled Mule application named Orders API that receives requests from another Mule application named Process Orders.
The communication between these two Mule applications must be secured by TLS mutual authentication (two-way TLS).
At a minimum, what must be stored in each truststore and keystore of these two Mule applications to properly support two-way TLS between the two Mule applications while properly protecting each Mule application’s keys?
A. Orders API truststore: The Orders API public key
Process Orders keystore: The Process Orders private key and public key
B. Orders API truststore: The Orders API private key and public key
Process Orders keystore: The Process Orders private key public key
C. Orders API truststore: The Process Orders public key
Orders API keystore: The Orders API private key and public key
Process Orders truststore: The Orders API public key
Process Orders keystore: The Process Orders private key and public key
D. Orders API truststore: The Process Orders public key
Orders API keystore: The Orders API private key
Process Orders truststore: The Orders API public key
Process Orders keystore: The Process Orders private key
Selected Answer: C
Question #: 90
Topic #: 1
An external web UI application currently accepts occasional HTTP requests from client web browsers to change (insert, update, or delete) inventory pricing information in an inventory system’s database. Each inventory pricing change must be transformed and then synchronized with multiple customer experience systems in near real-time (in under 10 seconds). New customer experience systems are expected to be added in the future.
The database is used heavily and limits the number of SELECT queries that can be made to the database to 10 requests per hour per user.
What is the most scalable, idiomatic (used for its intended purpose), decoupled. reusable, and maintainable integration mechanism available to synchronize each inventory pricing change with the various customer experience systems in near real-time?
A. Write a Mule application with a Database On Table Row event source configured for the inventory pricing database, with the watermark attribute set to an appropriate database column
In the same now, use a Scatter-Gather to call each customer experience system’s REST API with transformed inventory-pricing records
B. Add a trigger to the inventory-pricing database table so that for each change to the inventory pricing database, a stored procedure is called that makes a REST call to a Mule application
Write the Mule application to publish each Mule event as a message to an Anypoint MQ exchange
Write other Mule applications to subscribe to the Anypoint MQ exchange, transform each received message, and then update the Mule application’s corresponding customer experience system(s)
C. Replace the external web UI application with a Mule application to accept HTTP requests from client web browsers
In the same Mule application, use a Batch Job scope to test if the database request will succeed, aggregate pricing changes within a short time window, and then update both the inventory pricing database and each customer experience system using a Parallel For Each scope
D. Write a Mule application with a Database On Table Row event source configured for the inventory pricing database, with the ID attribute set to an appropriate database column
In the same flow, use a Batch Job scope to publish transformed Inventory-pricing records to an Anypoint MQ queue
Write other Mule applications to subscribe to the Anypoint MQ queue, transform each received message, and then update the Mule application’s corresponding customer experience system(s)
Selected Answer: B
Question #: 81
Topic #: 1
To implement predictive maintenance on its machinery equipment, ACME Tractors has installed thousands of IoT sensors that will send data for each machinery asset as sequences of JMS messages, in near real-time, to a JMS queue named SENSOR_DATA on a JMS server. The Mule application contains a JMS Listener operation configured to receive incoming messages from the JMS servers SENSOR_DATA JMS queue. The Mule application persists each received JMS message, then sends a transformed version of the corresponding Mule event to the machinery equipment back-end systems.
The Mule application will be deployed to a multi-node, customer-hosted Mule runtime cluster. Under normal conditions, each JMS message should be processed exactly once.
How should the JMS Listener be configured to maximize performance and concurrent message processing of the JMS queue?
A. Set numberOfConsumers = 1 –
Set primaryNodeOnly = false
B. Set numberOfConsumers = 1 –
Set primaryNodeOnly = true
C. Set numberOfConsumers to a value greater than one
Set primaryNodeOnly = true
D. Set numberOfConsumers to a value greater than one
Set primaryNodeOnly = false
Selected Answer: C
Question #: 76
Topic #: 1
In Anypoint Platform, a company wants to configure multiple identity providers (IdPs) for various lines of business (LOBs). Multiple business groups and environments have been defined for these LOBs.
What Anypoint Platform feature can use multiple IdPs across the company’s business groups and environments?
A. Dedicated load balancers
B. Client management
C. User management
D. Roles and permissions
Selected Answer: B
Question #: 64
Topic #: 1
An organization will deploy Mule applications to CloudHub. Business requirements mandate that all application logs be stored ONLY in an external Splunk consolidated logging service and NOT in CloudHub.
In order to most easily store Mule application logs ONLY in Splunk, how must Mule application logging be configured in Runtime Manager, and where should the log4j2 Splunk appender be defined?
A. Disable CloudHub logging in Runtime Manager Define the Splunk appender in ONE global log4j2.xml file that is uploaded once to Runtime Manager to support all Mule application deployments
B. Keep the default logging configuration in Runtime Manager Define the Splunk appender in ONE global log4j2.xml file that is uploaded once to Runtime Manager to support all Mule application deployments
C. Disable CloudHub logging in Runtime Manager Define the Splunk appender in EACH Mule application’s log4j2.xml file
D. Keep the default logging configuration in Runtime Manager Define the Splunk appender in EACH Mule application’s log4j2.xml file
Selected Answer: C
Question #: 63
Topic #: 1
A Mule application is being designed to perform product orchestration. The Mule application needs to join together the responses from an Inventory API and a
Product Sales History API with the least latency.
To minimize the overall latency, what is the most idiomatic (used for its intended purpose) design to call each API request in the Mule application?
A. Call each API request in a separate route of a Scatter-Gather
B. Call each API request in a separate Async scope
C. Call each API request in a separate route of a Parallel For Each scope
D. Call each API request in a separate lookup call from a DataWeave reduce operator
Selected Answer: A
Question #: 51
Topic #: 1
An organization has various integrations implemented as Mule applications. Some of these Mule applications are deployed to customer-hosted Mule runtimes (on- premises) while others execute in the MuleSoft-hosted runtime plane (CloudHub). To perform the integration functionality, these Mule applications connect to various backend systems, with multiple applications typically needing to access the same backend systems.
How can the organization most effectively avoid creating duplicates in each Mule application of the credentials required to access the backend systems?
A. Create a Mule domain project that maintains the credentials as Mule domain-shared resources Deploy the Mule applications to the Mule domain, so the credentials are available to the Mule applications
B. Configure or create a credentials service that returns the credentials for each backend system, and that is accessible from customer-hosted and MuleSoft- hosted Mule runtimes Have the Mule applications load the properties at startup by invoking that credentials service
C. Store the credentials in properties files in a shared folder within the organization’s data center Have the Mule applications load properties files from this shared location at startup
D. Segregate the credentials for each backend system into environment-specific properties files Package these properties files in each Mule application, from where they are loaded at startup
Selected Answer: B
Question #: 32
Topic #: 1
Refer to the exhibit. A Mule application is deployed to a multi-node Mule runtime cluster. The Mule application uses the competing consumer pattern among its cluster replicas to receive JMS messages from a JMS queue. To process each received JMS message, the following steps are performed in a flow:
Step 1: The JMS Correlation ID header is read from the received JMS message.
Step 2: The Mule application invokes an idempotent SOAP webservice over HTTPS, passing the JMS Correlation ID as one parameter in the SOAP request.
Step 3: The response from the SOAP webservice also returns the same JMS Correlation ID.
Step 4: The JMS Correlation ID received from the SOAP webservice is validated to be identical to the JMS Correlation ID received in Step 1.
Step 5: The Mule application creates a response JMS message, setting the JMS Correlation ID message header to the validated JMS Correlation ID and publishes that message to a response JMS queue.
Where should the Mule application store the JMS Correlation ID values received in Step 1 and Step 3 so that the validation in Step 4 can be performed, while also making the overall Mule application highly available, fault-tolerant, performant, and maintainable?
A. Both Correlation ID values should be stored in a persistent object store
B. The Correlation ID value in Step 1 should be stored in a persistent object store The Correlation ID value in Step 3 should be stored as a Mule event variable/attribute
C. Both Correlation ID values should be stored as Mule event variables/attributes
D. Both Correlation ID values should be stored in a non-persistent object store
Selected Answer: C
Question #: 14
Topic #: 1
Refer to the exhibit. One of the backend systems invoked by an API implementation enforces rate limits on the number of requests a particular client can make.
Both the backend system and the API implementation are deployed to several non-production environments in addition to production.
Rate limiting of the backend system applies to all non-production environments. The production environment, however, does NOT have any rate limiting.
What is the most effective approach to conduct performance tests of the API implementation in a staging (non-production) environment?
A. Use MUnit to simulate standard responses from the backend system Then conduct performance tests to identify other bottlenecks in the system
B. Create a mocking service that replicates the backend system’s production performance characteristics Then configure the API implementation to use the mocking service and conduct the performance tests
C. Conduct scaled-down performance tests in the staging environment against the rate limited backend system Then upscale performance results to full production scale
D. Include logic within the API implementation that bypasses invocations of the backend system in a performance test situation, instead invoking local stubs that replicate typical backend system responses Then conduct performance tests using this API implementation
Selected Answer: B
Question #: 18
Topic #: 1
Refer to the exhibit. A Mule 4 application has a parent flow that breaks up a JSON array payload into 200 separate items, then sends each item one at a time inside an Async scope to a VM queue.
A second flow to process orders has a VM Listener on the same VM queue. The rest of this flow processes each received item by writing the item to a database.
This Mule application is deployed to four CloudHub workers with persistent queues enabled.
What message processing guarantees are provided by the VM queue and the CloudHub workers, and how are VM messages routed among the CloudHub workers for each invocation of the parent flow under normal operating conditions where all the CloudHub workers remain online?
A. EACH item VM message is processed AT LEAST ONCE by ONE ARBITRARY CloudHub worker Each of the four CloudHub workers can be expected to process some item VM messages
B. ALL item VM messages are processed AT MOST ONCE by ONE ARBITRARY CloudHub worker This one CloudHub worker processes ALL 200 item VM messages
C. ALL item VM messages are processed AT LEAST ONCE by the SAME CloudHub worker where the parent flow was invoked This one CloudHub worker processes ALL 200 item VM messages
D. EACH item VM message is processed AT MOST ONCE by ONE CloudHub worker, with workers chosen in a deterministic round-robin fashion Each of the four CloudHub workers can be expected to process 1/4 of the item VM messages (about 50 items)
Selected Answer: C
Question #: 23
Topic #: 1
An XA transaction is being configured that involves a JMS connector listening for incoming JMS messages.
What is the meaning of the timeout attribute of the XA transaction, and what happens after the timeout expires?
A. The time that is allowed to pass without the transaction being ended explicitly After the timeout, the transaction is forcefully rolled-back
B. The time that is allowed to pass for stale JMS consumer threads to be destroyed After the timeout, a new JMS consumer thread is created
C. The time that is allowed to pass between receiving JMS messages on the same JMS connection After the timeout, a new JMS connection is established
D. The time that is allowed to pass between committing the transaction and the completion of the Mule flow After the timeout, flow processing triggers an error
Selected Answer: A
Question #: 22
Topic #: 1
An integration Mule application is being designed to synchronize customer data between two systems. One system is an IBM Mainframe and the other system is a
Salesforce Marketing Cloud (CRM) instance. Both systems have been deployed in their typical configurations, and are to be invoked using the native protocols provided by Salesforce and IBM.
What interface technologies are the most straightforward and appropriate to use in this Mule application to interact with these systems, assuming that Anypoint
Connectors exist that implement these interface technologies?
A. IBM: DB access CRM: gRPC
B. IBM: REST CRM: REST
C. IBM: CICS CRM: SOAP
D. IBM: ActiveMQ CRM: REST
Selected Answer: C