Exam MCD - Level 1 All QuestionsBrowse all questions from this exam
Question 146

Refer to the exhibits. The my-app.xml file contains an Error Handler scope named “global-error-handler”.

The Error Handler scope needs to be set to be the default error handler for every flow in the Mule application.

Where and how should the value “global-error-handler" be added in the Mule project so that the Error Handler scope is the default error handler of the Mule application?

    Correct Answer: B

    To make the 'global-error-handler' the default error handler for the entire Mule application, it should be configured in the 'my-app.xml' file. This configuration is typically done as an attribute of a configuration element in the primary Mule configuration file, ensuring it is applied globally to all the flows within the application.

Discussion
marcop1Option: B

Agreed

ExamDevOption: B

ChatGPT: The information about the exhibits is missing, but assuming the "my-app.xml" file contains an Error Handler scope named "global-error-handler," and the goal is to set it as the default error handler for every flow in the Mule application, the typical way to achieve this is by configuring it in the Mule configuration file ("my-app.xml"). Therefore, the correct answer is: B. In the my-app.xml file, as an attribute of a configuration element You would configure the "global-error-handler" within the Mule configuration file to make it the default error handler for the entire application.

AlandtOption: B

ChatGPT (I have uploaded the exhibits too with chatgpt 4.5): Given the options provided and based on MuleSoft best practices and the structure of Mule applications: B. In the my-app.xml file, as an attribute of a configuration element This is the most likely answer because you can reference the global error handler in the <configuration> element of the my-app.xml file, which will apply to all flows within that Mule configuration file.