Review 57 CERTIFIED-MULESOFT-DEVELOPER-II practice questions with answer explanations and community insights.
Question 1
A system API that communicates to an underlying MySQL database is deployed to CloudHub. The DevOps team requires a readiness endpoint to monitor all system APIs. Which strategy should be used to implement this endpoint?
Create a dedicated endpoint that responds with the API status only
Create a dedicated endpoint that responds with the API status and health of the server
Create a dedicated endpoint that responds with the API status and reachability of the underlying systems
Use an existing resource endpoint of the API
Question 2
A Mule API receives a JSON payload and updates the target system with the payload. The developer uses JSON schemas to ensure the data is valid. How can the data be validated before posting to the target system?
Apply the JSON Schema policy in API Manager and reference the correct schema in the policy configuration
Use a DataWeave 2.0 transform operation, and at the top of the DataWeave script, add: %dw 2.0 import json-module
Add the JSON module dependency and add the validate-schema operation in the flow, configured to reference the schema
Using the DataWeave If Else condition, test the values of the payload against the examples included in the schema
Question 3
Refer to the exhibit. A Mule 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?
originalPayload
OS:KEY_NOT_FOUND
testPayload
nullPayload
Question 4
Which pattern can a web API use to notify its client of state changes as soon as they occur?
Schedule Event Publisher
Shared database trigger
HTTP Webhook
ETL data load
Question 5
When implementing a synchronous API where the event source is an HTTP Listener, a developer needs to return the same correlation ID back to the caller in the HTTP response header. How can this be achieved?
No action is needed as the correlation ID is returned to the caller in the response header by default
Enable the CorrelationID checkbox in the HTTP Listener configuration
Configure a custom correlation policy
Enable the auto-generate CorrelationID option when scaffolding the flow
We are moving to a new platform
CertificationTest is being migrated. Some pages may be slow or briefly unavailable; everything will be back to normal within a few hours. If you run into any issue, email support@certificationtest.net.