Free Salesforce-MuleSoft-Developer-I Exam Braindumps (page: 5)

Page 4 of 59

Refer to the exhibit.



What is the output payload in the On Complete phase

  1. summary statistics with NO record data
  2. The records processed by the last batch step: [StepTwol, StepTwo2, StepTwo3]
  3. The records processed by all batch steps: [StepTwostepOnel, stepTwostepOne2, StepTwoStepOne3]
  4. The original payload: [1,2,31

Answer(s): A

Explanation:

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?

  1. APP: API RESOURCE NOT FOUND
  2. HTTP: NOT FOUND
  3. other error
  4. success - main flow

Answer(s): A

Explanation:

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: 500
Reference Diagram:



What is the correct syntax for a Logger component to output a message with the contents of a 3SON Object payload?

  1. The payload is: $(payload)
  2. #["The payload is: " ++ payload]
  3. The payload is: #[payload]
  4. #["The payload is: " + payload]

Answer(s): B

Explanation:

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 is
The payload is: #[payload]



Refer to the exhibit.



What data is expected by the POST /accounts endpoint?
A)



B)



C)



D)

  1. Option A
  2. Option B
  3. Option C
  4. Option D

Answer(s): D






Post your Comments and Discuss Salesforce Salesforce-MuleSoft-Developer-I exam with other Community members:

Salesforce-MuleSoft-Developer-I Exam Discussions & Posts