MuleSoft Certified Developer – Level 1 — Question 33

A Mule application contains a global error handler configured to catch any errors.
Where must the global error handler be specified so that the global error handler catches all errors from flows without their own error handlers?

Answer options

Correct answer: D

Explanation

The correct answer is D because the global error handler must be defined in a configuration properties file to ensure it applies to all flows without their own error handlers. Option A is incorrect as a global element does not ensure that it catches all errors; option B is irrelevant as the pom.xml file is for project dependencies and configurations, not error handling; and option C is false because the global error handler must be explicitly defined to be utilized.