What is the difference between VM transient queues and persistent queues?

Prepare for the MuleSoft Developer 2 Certification Exam. Access practice quizzes featuring flashcards and multiple choice questions with explanations. Get confident and ready for your certification success!

Multiple Choice

What is the difference between VM transient queues and persistent queues?

Explanation:
VM queues differ in durability and speed. Transient queues live in memory, so they are fast but not durable — if the app crashes or the VM restarts, the messages in a transient queue are lost. Persistent queues are stored durably (on disk or another persistent store), so the messages survive crashes and restarts, but that durability comes with slower performance due to the disk I/O involved. This is exactly what the option describes: persistent queues are slower, while transient queues are lost if the app crashes. The other statements mix up durability and continuity, claiming identical durability or that persistent queues survive outages in a way that isn’t accurate.

VM queues differ in durability and speed. Transient queues live in memory, so they are fast but not durable — if the app crashes or the VM restarts, the messages in a transient queue are lost. Persistent queues are stored durably (on disk or another persistent store), so the messages survive crashes and restarts, but that durability comes with slower performance due to the disk I/O involved. This is exactly what the option describes: persistent queues are slower, while transient queues are lost if the app crashes. The other statements mix up durability and continuity, claiming identical durability or that persistent queues survive outages in a way that isn’t accurate.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy