Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

MuleSoft Exam MCD-Level-2 Topic 1 Question 4 Discussion

Actual exam question for MuleSoft's MCD-Level-2 exam
Question #: 4
Topic #: 1
[All MCD-Level-2 Questions]

A Mule application for processing orders must log the order ID for every log message output.

What is a best practice to enrich every log message with the order ID?

Show Suggested Answer Hide Answer

Contribute your Thoughts:

Nieves
2 days ago
I think option B sounds like a good way to enrich the log messages with the order ID.
upvoted 0 times
...
Lili
12 days ago
Alright, alright, let's not get too carried away here. I think Option C is the way to go. Encapsulate the logging in a custom component and keep the rest of the code clean. Simple and effective, just like my grandma used to say.
upvoted 0 times
...
Polly
24 days ago
I agree, but I'm not sure about the best approach. Option A seems like it could work, but it might make the code a bit messier to manage. Option B sounds promising, but modifying the log4j/2.xml file could be a bit of a hassle.
upvoted 0 times
...
Gail
26 days ago
I think this is a great question to test our understanding of best practices for logging in Mule applications. Enriching log messages with relevant context is crucial for effective troubleshooting and monitoring.
upvoted 0 times
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77