nerdexam
MuleSoft

MCD-LEVEL-1 · Question #89

Refer to the exhibits. A web client sends a GET request to the HTTP Listener. What response message is returned to the web client?

The correct answer is B. "End". 1. Set Payload "Start" 2. 'Is Balnk String' Creates an Error object with #[error.description] ="String is not blank" 3. Default Error Handler catches and Propagates error 4. 'On Error Propogate' is 'RED IN RED OUT'. It Returns Status Code : 500 & #[error.description]…

Handling Errors in Mule Applications

Question

Refer to the exhibits. A web client sends a GET request to the HTTP Listener. What response message is returned to the web client?

Exhibit

MCD-LEVEL-1 question #89 exhibit

Options

  • A""
  • B"End"
  • C"Start"
  • D"String is not blank"

How the community answered

(29 responses)
  • A
    7% (2)
  • B
    72% (21)
  • C
    3% (1)
  • D
    17% (5)

Explanation

  1. Set Payload "Start" 2. 'Is Balnk String' Creates an Error object with #[error.description] ="String is not blank" 3. Default Error Handler catches and Propagates error 4. 'On Error Propogate' is 'RED IN RED OUT'. It Returns Status Code : 500 & #[error.description] -------------------------------------------------------------------------------------------------------------------------- Correct answer is String is not blank. Because validation component will throw an error as payload is

Topics

#HTTP Listener#GET request#error handling#flow execution order

Community Discussion

No community discussion yet for this question.

Full MCD-LEVEL-1 Practice