Exam MCD - Level 1 All QuestionsBrowse all questions from this exam
Question 100

Refer to the exhibits.

The Validation component in the private flow throws an error.

What response message is returned to a web client request to the main flow's HTTP Listener?

    Correct Answer: C

    When the validation component in the private flow throws an error, the error is propagated to the main flow due to the 'On Error Propagate' element in the private flow's error handler. Once the error reaches the main flow, the 'On Error Continue' element in the main flow's error handler catches the error and sets the payload to 'Error - main flow'. Consequently, the response message returned to the web client request to the main flow's HTTP Listener is 'Error - main flow'.

Discussion
Neo_0000Option: C

C is the correct answer. Tested in anypoint studio as well.

ExamDevOption: C

C. Error - main flow - Because we have "On Error continue" with a custom message! - The final result will be Error - main flow with status code 200

HADAOOption: C

C - Error Propqgate will propagate the error to the triggered flow, after that the triggered flow will catch error by On Error Continue scope. Because of Error Continue scope type, all processes on main flow canceled and logged error by payload in Error Continue Scope

ilya_tsyOption: D

D - is the correct answer

Sowmya0249Option: C

C is correct. Private flow throws the error as it is having On error propagate. So The Flow ref will throw error in main flow, then the Error handler in main flow comes into the picture. so 3rd option satisfies.

Maddy_123Option: C

C is the answer Refer https://blogs.mulesoft.com/dev-guides/how-to-tutorials/mule4-error-handling-deep-dive/

RanjansinghOption: C

Private flow propagate the error which is handled by main flow error handler and override the message to "Error - main flow" and no error object will be generated as it is on error continue.