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

Exam MCIA - Level 1 All Questions

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

Exam MCIA - Level 1 topic 1 question 70 discussion

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

In a Mule application, a flow contains two (2) JMS Consume operations that are used to connect to a JMS broker and consume messages from two (2) JMS destinations. The Mule application then joins the two consumed JMS messages together.
The JMS broker does NOT implement high availability (HA) and periodically experiences scheduled outages of up to 10 minutes for routine maintenance.
What is the most idiomatic (used for its intended purpose) way to build the Mule flow so it can best recover from the expected outages?

  • A. Enclose the two (2) JMS operations in a Try scope with an On Error Continue error handler
  • B. Enclose the two (2) JMS operations in an Until Successful scope
  • C. Configure a transaction for the JMS connector
  • D. Configure a reconnection strategy for the JMS connector
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Alandt
5 months ago
Selected Answer: D
D is correct. Ignore my other comment.
upvoted 1 times
...
Alandt
5 months, 1 week ago
Selected Answer: A
A is correct according to official practice exam
upvoted 1 times
Alandt
5 months ago
I mean D. configure a new reconnection strategy.
upvoted 1 times
...
...
Viv2005
2 years ago
If a JMS broker is not available the JMS consume operation of JMS connector will throw connection error. With option A, when consume fails the control goes to on error continue and go to subsequent step which will again fail. In case of option B, the connector will keep failing and filling up the logs until the operation is successful. This will work but not an effective solution. There is no point of creating a transaction and rollback on failure because both the destinations are on same broker. Also, it will rollback and will not reconnect. Reconnection strategy, however, will try to reconnect after a regular interval and the consume will not poll for a message till the connection is established. This surely is a more elegant way to handle the error and establish the connection again.
upvoted 2 times
...
madgeezer
2 years, 3 months ago
Selected Answer: D
D. Configure a reconnection strategy for the JMS connector
upvoted 2 times
Alandt
5 months, 1 week ago
Correct
upvoted 1 times
...
...
Outdoor25
2 years, 11 months ago
Should be D. Reconnect setting will allow mule to reconnect after JMS broker outage. Cannot be A, B or C because in all of those scenarios, mule flow will throw an error and fail rather than recover.
upvoted 1 times
...
Ricky9
3 years, 1 month ago
D is correct
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 ...