Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.

Unlimited Access

Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.

Exam MCD - Level 1 topic 1 question 150 discussion

Actual exam question from Mulesoft's MCD - Level 1
Question #: 150
Topic #: 1
[All MCD - Level 1 Questions]

Refer to the exhibits. The Mule application does NOT define any global error handlers.





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?

  • A. "Child error"
  • B. "Parent error"
  • C. "Validation Error"
  • D. "Parent completed"
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Alandt
3 months, 1 week ago
Selected Answer: C
Ignore my other comment. According to Mulesoft expert it's answer C: https://help.mulesoft.com/s/question/0D56R00008fIqYTSA0/error-handling-in-mule-4-course
upvoted 2 times
...
Alandt
3 months, 1 week ago
Selected Answer: B
Answer B
upvoted 1 times
Alandt
3 months, 1 week ago
I was wrong. According to Mulesoft expert it's answer C: https://help.mulesoft.com/s/question/0D56R00008fIqYTSA0/error-handling-in-mule-4-course
upvoted 1 times
...
...
marcop1
3 months, 3 weeks ago
Selected Answer: C
OnContinue returns the Payload, OnPropagate returns the Error object, which contains the message "Validation Error".
upvoted 2 times
...
AntarJalil
3 months, 3 weeks ago
The correct answer is "C". I've replicated this scenario in Studio to confirm it. It's crucial to note that "On error propagate" generates an "error," unlike "on error continue," which produces a successful message. Since the listener's default error response configuration is "output text/plain --- error.description " any payload set within this error handling (on error propagate) becomes ineffective. To display the actual payload set inside an "on error propagate," you need to modify the default behaviour. Change "output text/plain --- error.description" to "payload" in the Listener -> Responses -> error response section - Body.
upvoted 2 times
...
ExamDev
3 months, 3 weeks ago
Selected Answer: B
If both the private flow and the parent flow have on-error-propagate elements, and the private flow's on-error-propagate specifies "Child error" while the parent flow's on-error-propagate specifies "Parent error," then the error would be propagated to the parent flow's on-error-propagate. In this case, the error message returned to the web client would be "Parent error." So, if the parent flow has an on-error-propagate element with the message "Parent error," the correct response message to the web client request in the main flow's HTTP Listener is: B. "Parent error"
upvoted 2 times
Alandt
3 months, 1 week ago
I agree with your answer
upvoted 1 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...