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?
Answer(s): A
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.
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?
Answer(s): C
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'.
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?
Answer(s): B
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}.
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?
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.
https://docs.mulesoft.com/munit/2.3/munit-test- flow
Post your Comments and Discuss MuleSoft MCD-Level-2 exam with other Community members:
Anonymous commented on November 10, 2024 Good ONE FOR mcd l2 INDIA upvote
RM commented on October 30, 2024 Thank you for the dumps Anonymous upvote
Champ commented on September 26, 2024 Good to see that something is still free. I truly appreciate this service. Mexico upvote
Our website is free, but we have to fight against bots and content theft. We're sorry for the inconvenience caused by these security measures. You can access the rest of the MCD-Level-2 content, but please register or login to continue.