Refer to the exhibit.What is the output payload in the On Complete phase
Answer(s): A
This is a trcik question. On complete phase pyalod consists of summary of records processed which gives insight on which records failed or passed. Hence option 4 is correct answer MuleSoft Documentation Reference : https://docs.mulesoft.com/mule-runtime/4.3/batch- processing-concept#on-complete
Refer to the exhibit.The main flow is configured with their error handlers. A web client submit a request to the HTTP Listener and the HTTP Request throws an HTTP:NOT_FOUND error.What response message is returned?''What response message is returned?
Correct answer is APP: API RESOURCE NOT FOUND-------------------------------------------------------------------------------------------------------------------------------------- -------------1) A web client submits the request to the HTTP Listener.2) The HTTP Request throws an "HTTP:NOT_FOUND" error, execution halts.3) The On Error Propagate error Handler handles the error. In this case ,HTTP:NOT_FOUND error is mapped to custom error APP:API_RESOURCE_NOT_FOUND. This error processor sets payload to APP:API_RESOURCE_NOT_FOUND.4) "APP:API_RESOURCE_NOT_FOUND. " is the error message returned to the requestor in the body of the HTTP request with HTTP Status Code: 500Reference Diagram:
What is the correct syntax for a Logger component to output a message with the contents of a 3SON Object payload?
Answer(s): B
Option 3 is the only corect answer as it concatenates payload with String.Below option wont work.#["The payload is " ++ payload]Concatenation function expects both arguments to be string. As the question says payload is json object , this will throw error while running it. You can try this in Anypoint Studio and you will get the same result which I mentioned.hence correct answer isThe payload is: #[payload]
Refer to the exhibit.What data is expected by the POST /accounts endpoint?A)B)C)D)
Answer(s): D
Post your Comments and Discuss Salesforce Salesforce-MuleSoft-Developer-I exam prep with other Community members:
We’re offering these study questions to support your success. The least you can do? Drop a useful comment about each question. Help others. Build the community.