ExamGecko
Home / MuleSoft / MCD - Level 1 / Practice Test 2
Ask Question

MuleSoft MCD - Level 1 Practice Test 2

00:00:00
Show Answer
Report Issue   Restart test

Question 1 / 40

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?

A configuration properties file
A configuration properties file
Nowhere, the global error handler is automatically used
Nowhere, the global error handler is automatically used
A global element
A global element
The pom.xml file
The pom.xml file
Comment (0)
Suggested answer: C
Explanation:

Correct answer is A global element

Global error handlers are to be created in global element .

Quick note to remember here is Global error handlers come in to picture only when there are no error handlers specified as flow level.

Steps to create Global error handler

1) Click Global Elements to open Global Configuration Elements. Global Elements is located below the Studio canvas

2) In Global Configuration Elements, click Create to open the Choose Global Type dialog

MuleSoft MCD - Level 1 image Question 41 explanation 52596 09182024213609000000

3) From the dialog, select Global Configuration - Configuration, and then click OK to open the Configuration dialog.

MuleSoft MCD - Level 1 image Question 41 explanation 52596 09182024213609000000

4) From the select Configuration dialog, select allErrorHandler for the Default Error Handler field, and click OK.

asked 18/09/2024
mustapha amraui
41 questions