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 120 discussion

Actual exam question from Mulesoft's MCD - Level 1
Question #: 120
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 Try scope throws an error.

What response message is returned to a client request to the main flows HTTP Listener?

  • A. “Error –main flow”
  • B. “Error –Try scope”
  • C. “Success –main flow”
  • D. Validation Error
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
2 months, 2 weeks ago
Selected Answer: C
Assuming no further errors occur after the Try scope, the payload set to "Success - main flow" will be the final payload, and that is what will be returned to the client. So, the response message returned to a client request to the main flow's HTTP Listener, after the Validation component in the Try scope throws an error and no further errors occur, will be: C. “Success – main flow”
upvoted 1 times
...
marcop1
3 months ago
Not sure if it wouldn't bubble up to the main flow error handling. If not then C is correct; https://blogs.mulesoft.com/dev-guides/how-to-tutorials/mule4-error-handling-use-cases/
upvoted 1 times
...
ExamDev
3 months ago
Selected Answer: C
Because the handler inside try scope is "On Error Continue" so will return the message from the last payload
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 ...