ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 105 - MCIA - Level 1 discussion

Report
Export

Mule application is deployed to Customer Hosted Runtime. Asynchronous logging was implemented to improved throughput of the system. But it was observed over the period of time that few of the important exception log messages which were used to rollback transactions are not working as expected causing huge loss to the Organization. Organization wants to avoid these losses. Application also has constraints due to which they cant compromise on throughput much.

What is the possible option in this case?

A.
Logging needs to be changed from asynchronous to synchronous
Answers
A.
Logging needs to be changed from asynchronous to synchronous
B.
External log appender needs to be used in this case
Answers
B.
External log appender needs to be used in this case
C.
Persistent memory storage should be used in such scenarios
Answers
C.
Persistent memory storage should be used in such scenarios
D.
Mixed configuration of asynchronous or synchronous loggers should be used to log exceptions via synchronous way
Answers
D.
Mixed configuration of asynchronous or synchronous loggers should be used to log exceptions via synchronous way
Suggested answer: D

Explanation:

Correct approach is to use Mixed configuration of asynchronous or synchronous loggers shoud be used to log exceptions via synchronous way Asynchronous logging poses a performance-reliability trade-off. You may lose some messages if Mule crashes before the logging buffers flush to the disk. In this case, consider that you can have a mixed configuration of asynchronous or synchronous loggers in your app. Best practice is to use asynchronous logging over synchronous with a minimum logging level of WARN for a production application. In some cases, enable INFO logging level when you need to confirm events such as successful policy installation or to perform troubleshooting. Configure your logging strategy by editing your application's src/main/resources/log4j2.xml file

asked 18/09/2024
Jermaine Wells
41 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first