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 18 discussion

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

Refer to the exhibit. A Mule 4 application has a parent flow that breaks up a JSON array payload into 200 separate items, then sends each item one at a time inside an Async scope to a VM queue.
A second flow to process orders has a VM Listener on the same VM queue. The rest of this flow processes each received item by writing the item to a database.
This Mule application is deployed to four CloudHub workers with persistent queues enabled.
What message processing guarantees are provided by the VM queue and the CloudHub workers, and how are VM messages routed among the CloudHub workers for each invocation of the parent flow under normal operating conditions where all the CloudHub workers remain online?

  • A. EACH item VM message is processed AT LEAST ONCE by ONE ARBITRARY CloudHub worker Each of the four CloudHub workers can be expected to process some item VM messages
  • B. ALL item VM messages are processed AT MOST ONCE by ONE ARBITRARY CloudHub worker This one CloudHub worker processes ALL 200 item VM messages
  • C. ALL item VM messages are processed AT LEAST ONCE by the SAME CloudHub worker where the parent flow was invoked This one CloudHub worker processes ALL 200 item VM messages
  • D. EACH item VM message is processed AT MOST ONCE by ONE CloudHub worker, with workers chosen in a deterministic round-robin fashion Each of the four CloudHub workers can be expected to process 1/4 of the item VM messages (about 50 items)
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
tchine88
2 weeks, 6 days ago
Selected Answer: C
the right answer is C, because by default the VM queue is an in memory queue, so all items will be processed in the same worker
upvoted 1 times
...
bkahraman
2 months, 3 weeks ago
Selected Answer: A
D cannot be because of undeterministic distribution
upvoted 1 times
...
Viv2005
1 year, 7 months ago
Selected Answer: A
Why D is not the right answer? Because persistent queues do not guarantee one-time delivery i.e messages can be duplicated. Though it is true that traffic will be load balanced for VM listeners but there is no document that says it is a deterministic round-robin.
upvoted 2 times
...
majda091983
1 year, 7 months ago
Selected Answer: A
explication from Mule doc : When running a Mule application in single runtime instance mode, persistent queues work by serializing and storing the contents on the disk. However, when running the Mule application in cluster runtime instance mode, the persistent queues are backed up in the memory grid. Thereby, when a flow uses VM Connector to publish content to a queue, Mule runtime engine determines whether to process the message in the same origin node or to send the message to the cluster to pick another node. Using VM Connector facilitates the load distribution across a cluster.
upvoted 3 times
...
majda091983
1 year, 8 months ago
Selected Answer: A
answer is A
upvoted 1 times
...
madgeezer
1 year, 10 months ago
Selected Answer: A
A. EACH item VM message is processed AT LEAST ONCE by ONE ARBITRARY CloudHub worker Each of the four CloudHub workers can be expected to process some item VM messages Persistent Queue means all workers share the memory so it could processed by more than one worker
upvoted 1 times
...
AkanshaR91
1 year, 11 months ago
Selected Answer: D
At MOST once. Should be D
upvoted 1 times
...
[Removed]
1 year, 12 months ago
Selected Answer: A
should be A, point to be noted is we are using a persistent queue over here, which means all the workers share the same memory for the queue, it might be possible another worker would pickup msg from the queue
upvoted 1 times
...
razz123098
2 years ago
Selected Answer: A
A is the answer
upvoted 1 times
...
awsuser1
2 years ago
A is correct answer
upvoted 2 times
...
anonymouse69420
2 years, 2 months ago
Selected Answer: A
https://help.mulesoft.com/sfc/servlet.shepherd/version/renditionDownload?rendition=THUMB720BY480&versionId=0682T000003zVkE&operationContext=CHATTER&contentId=05T2T00000G1WXS&page=0
upvoted 2 times
...
sanni27
2 years, 5 months ago
It should be A
upvoted 3 times
...
Outdoor25
2 years, 5 months ago
Selected Answer: D
It should be D. Persistent VM queues in Cloudhub are meant to distribute load across different workers. https://help.mulesoft.com/s/article/CloudHub-Persistent-Queues-Explained
upvoted 3 times
majda091983
1 year, 7 months ago
yes but not on a deterministic round-robin fashion
upvoted 2 times
...
...
Pavan_Nagineni
2 years, 10 months ago
A. EACH item VM message is processed AT LEAST ONCE by ONE ARBITRARY CloudHub worker Each of the four CloudHub workers can be expected to process some item VM messages CLoudhub your app workers would be sharing OSV2 and VM queues space by not being with cluster But some other ways
upvoted 4 times
...
awstj
2 years, 10 months ago
A is the answer
upvoted 4 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago