Refer to the exhibit.
What action must be performed to log all the errors raised by the VM Connector?
B
Explanation:
To log all the errors raised by the VM Connector, the developer needs to add an async logger with the
name ‘org.mule.extension.vm’ and the level ‘ERROR’ inside the appenders tag of the log4j2.xml file.
This will enable logging all error-level events generated by the VM Connector to the console
appender. Reference:
https://docs.mulesoft.com/mule-runtime/4.3/logging-in-mule#configuring-
custom-logging-settings
A developer deploys an API to CloudHub and applies an OAuth policy on API Manager. During
testing, the API response is slow, so the developer reconfigures the API so that the out-of-the-box
HTTP Caching policy is applied first, and the OAuth API policy is applied second.
What will happen when an HTTP request is received?
B
Explanation:
When an HTTP request is received and the HTTP Caching policy is applied first, it checks if there is a
cached response for that request in Object Store. If there is a cache hit, meaning that a valid cached
response exists, then only the HTTP Caching policy is evaluated and the cached response is returned
to the caller without invoking the OAuth policy or the API implementation. If there is a cache miss,
meaning that no valid cached response exists, then both the HTTP Caching policy and the OAuth
policy
are
evaluated
before
invoking
the
API
implementation.
Reference:
https://docs.mulesoft.com/api-manager/2.x/http-caching-policy#policy-ordering
A system API that communicates to an underlying MySQL database is deploying to CloudHub. The
DevOps team requires a readiness endpoint to monitor all system APIs.
Which strategy should be used to implement this endpoint?
A
Explanation:
To implement a readiness endpoint to monitor all system APIs, the developer should create a
dedicated endpoint that responds with the API status and reachability of the underlying systems.
This way, the DevOps team can check if the system API is ready to receive requests and if it can
communicate with its backend systems without errors. Reference:
https://docs.mulesoft.com/mule-
runtime/4.3/deployment-strategies#readiness-probes
The HTTP Request operation raises an HTTP CONNECTIVITY error.
Which HTTP status code and body are returned to the web client?
C
Explanation:
When the HTTP Request operation raises an HTTP CONNECTIVITY error, it triggers an on-error-
continue handler that sets a payload with ‘Error in processing your request’. Since no status code is
explicitly set in this handler, it defaults to 500 (INTERNAL SERVER ERROR). Therefore, the web client
receives an HTTP response with status code 500 and body ‘Error in processing your request’.
Reference:
https://docs.mulesoft.com/mule-runtime/4.3/error-handling#on-error-continue
A Mule application defines as SSL/TLS keystore properly ‘tis,keystore.keyPassword’’ as secure.
How can this property be referenced to access its value within the application?
B
Explanation:
∗∗
secure::tiskeystore,keyPassowrd
ShortExplanationofCorrectAnswerOnly:Toreferenceasecureproper
tyvaluewithintheapplication,thedeveloperneedstousethesyntax{secure::}. In this case, the property
name is tiskeystore,keyPassword, so the correct syntax is ${secure::tiskeystore,keyPassowrd}.
Reference:
https://docs.mulesoft.com/mule-runtime/4.3/secure-configuration-
properties#referencing-secure-properties
In a Mule project, Flow-1 contains a flow-ref to Flow-2 depends on data from Flow-1 to execute
successfully.
Which action ensures the test suites and test cases written for Flow-1 and Flow-2 will execute
successfully?
B
Explanation:
To ensure the test suites and test cases written for Flow-1 and Flow-2 will execute successfully, the
developer should use a Set Event processor to pass the input that is needed by Flow-2, and keep the
test cases for Flow-1 and Flow-2 independent. This way, the developer can isolate the testing of each
flow and avoid coupling them together. Reference:
https://docs.mulesoft.com/munit/2.3/munit-test-
flow
A Mule application need to invoice an API hosted by an external system to initiate a process. The
external API takes anywhere between one minute and 24 hours to compute its process.
Which implementation should be used to get response data from the external API after it completes
processing?
D
Explanation:
To get response data from the external API after it completes processing, the developer should
expose an HTTP callback API in Mule and register it with the external system. This way, the external
API can invoke the callback API with the response data when it is ready, instead of making the Mule
application wait for a long time or poll for a response repeatedly. Reference:
https://docs.mulesoft.com/mule-runtime/4.3/http-listener-ref#callback
Refer to the exhibit.
A Mute Object Store is configured with an entry TTL of one second and an expiration interval of 30
seconds.
What is the result of the flow if processing between os’store and os:retrieve takes 10 seconds?
A
Explanation:
The result of the flow is nullPayload if processing between os:store and os:retrieve takes 10 seconds.
This is because the entry TTL of the object store is one second, which means that any stored value
expires after one second and is removed from the object store. The expiration interval of 30 seconds
only determines how often the object store checks for expired values, but it does not affect the TTL.
Therefore, when os:retrieve tries to get the value after 10 seconds, it returns nullPayload because
the value has already expired and been removed. Reference:
https://docs.mulesoft.com/object-
store/osv2-faq#how-does-the-time-to-live-work
Which plugin or dependency is required to unit test modules created with XML SDK?
C
Explanation:
To unit test modules created with XML SDK, the developer needs to use the MUnit Extensions Maven
plugin. This plugin allows testing XML SDK modules using MUnit by adding a dependency to the
module under test and using a custom processor tag to invoke it. Reference:
https://docs.mulesoft.com/mule-sdk/1.1/xml-sdk#testing
Which statement is true when working with correlation IDS?
C
Explanation:
When working with correlation IDs, the HTTP Listener generates correlation IDs unless a correlation
ID is received in the HTTP request. In that case, it propagates the received correlation ID throughout
the flow execution. Correlation IDs are used to track events across different flows or applications.
Reference:
https://docs.mulesoft.com/mule-runtime/4.3/about-mule-message#message-attributes