nerdexam
MuleSoft

MCD-LEVEL-1 · Question #121

Refer to the exhibits.

The correct answer is D. Validation error. ----------------------------------------------------------------------------------------------------------------------------------- Here's specifically what is happening here: 1) Payload is successfully set to "Before" 2) Is null validation is used which will pass the message…

Building Integration Applications with Mule 4

Question

Refer to the exhibits.

Exhibit

MCD-LEVEL-1 question #121 exhibit

Options

  • AAfter
  • Bnull
  • CBefore
  • DValidation error

How the community answered

(56 responses)
  • A
    9% (5)
  • B
    2% (1)
  • C
    4% (2)
  • D
    86% (48)

Explanation

----------------------------------------------------------------------------------------------------------------------------------- Here's specifically what is happening here: 1) Payload is successfully set to "Before" 2) Is null validation is used which will pass the message only if payload is null. In this case as payload is not null, it creates an Error Object. Flow execution stops #[error.description] = "Validation error" 3) Because no error handler is defined, the Mule default error handler handles the error with HTTP Status Code: 500

Topics

#validation#error handling#flow execution#payload

Community Discussion

No community discussion yet for this question.

Full MCD-LEVEL-1 Practice