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

Exam MCD - Level 1 All Questions

View all questions & answers for the MCD - Level 1 exam

Exam MCD - Level 1 topic 1 question 147 discussion

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

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?



  • A. In the Validation folder, as the value of a global element in the error-handling.yaml file
  • B. In the my-app.xml file, as an attribute of a configuration element
  • C. In the pom.xml file, as the value of a global element
  • D. In the mule-artifact.json file, as the value of a key-value pair
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Alandt
9 months, 3 weeks ago
Selected Answer: 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.
upvoted 1 times
...
marcop1
10 months ago
Selected Answer: B
Agreed
upvoted 2 times
...
ExamDev
10 months ago
Selected Answer: 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.
upvoted 2 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 ...