nerdexam
MuleSoft

MCD-LEVEL-1 · Question #126

MCD-LEVEL-1 Question #126: Real Exam Question with Answer & Explanation

The correct answer is B. String is not blank. Correct answer is String is not blank. -------------------------------------------------------------------------------------------------------------------------------------- Here's specifically what is happening here: 1) Payload is successfully set to "Start" 2) The Is Blank Stri

Question

Refer to the exhibits. A web client submits the request to the HTTP Listener. What response message would be returned to web client?

Exhibits

MCD-LEVEL-1 question #126 exhibit 1
MCD-LEVEL-1 question #126 exhibit 2

Options

  • AEnd
  • BString is not blank
  • CNo response would be sent back to client and request will get errored out in Mule
  • DStart

Explanation

Correct answer is String is not blank. -------------------------------------------------------------------------------------------------------------------------------------- Here's specifically what is happening here: 1) Payload is successfully set to "Start" 2) The Is Blank String validator creates an Error Object because the payload is string "Start". #[error.description] = "String is not blank" 3) Because no error handler is defined, the Mule default error handler handles the error. Remember, at its heart, the Mule Default Error handler is an error handling scope with just an on error propagate 4) "String is not blank" is the error message returned to the requestor in the body of the HTTP requestHTTP Status Code: 500

Community Discussion

No community discussion yet for this question.

Full MCD-LEVEL-1 Practice