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

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

An Order microservice and a Fulfillment microservice are being designed to communicate with their clients through message-based integration (and NOT through
API invocations).
The Order microservice publishes an Order message (a kind of command message) containing the details of an order to be fulfilled. The intention is that Order messages are only consumed by one Mule application, the Fulfillment microservice.
The Fulfillment microservice consumes Order messages, fulfills the order described therein, and then publishes an OrderFulfilled message (a kind of event message). Each OrderFulfilled message can be consumed by any interested Mule application, and the Order microservice is one such Mule application.
What is the most appropriate choice of message broker(s) and message destination(s) in this scenario?

  • A. Order messages are sent to an Anypoint MQ exchange OrderFulfilled messages are sent to an Anypoint MQ queue Both microservices interact with Anypoint MQ as the message broker, which must therefore scale to support the load of both microservices
  • B. Order messages are sent to a JMS queue OrderFulfilled messages are sent to a JMS topic Both microservices interact with the same JMS provider (message broker) instance, which must therefore scale to support the load of both microservices
  • C. Order messages are sent directly to the Fulfillment microservices OrderFulfilled messages are sent directly to the Order microservice The Order microservice interacts with one AMQP-compatible message broker and the Fulfillment microservice interacts with a different AMQP-compatible message broker, so that both message brokers can be chosen and scaled to best support the load of each microservice
  • D. Order messages are sent to a JMS queue OrderFulfilled messages are sent to a JMS topic The Order microservice interacts with one JMS provider (message broker) and the Fulfillment microservice interacts with a different JMS provider, so that both message brokers can be chosen and scaled to best support the load of each microservice
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

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
gilofernandes
3 months ago
Selected Answer: B
one single JMS broker ; Order can be consumed by only one arget, hence queue, OrderFulfilled must be consumed by several targets, hence topic
upvoted 1 times
...
Viv2005
1 year, 1 month ago
A - Incorrect, because OF messages are sent to a queue. But remember queue can only have one consumer, here the many application should be listening for OF message. C - Incorrect, because as per question order MS is designed to communicate through message-based integration. D - Incorrect, 2 message broker is extra cost. 1 MB can handle a good amount of load of many queues and topics. B is the correct answer.
upvoted 1 times
...
majda091983
1 year, 2 months ago
Selected Answer: D
correct answer is D the OrderFulfilled message shoud be publiseh to topic so it can be consumed by any interested Mule application
upvoted 1 times
...
madgeezer
1 year, 4 months ago
Selected Answer: B
B. Order messages are sent to a JMS queue OrderFulfilled messages are sent to a JMS topic Both microservices interact with the same JMS provider (message broker) instance, which must therefore scale to support the load of both microservices
upvoted 1 times
...
AkanshaR91
1 year, 5 months ago
Selected Answer: B
B be right
upvoted 1 times
...
rodriguescont
1 year, 6 months ago
Selected Answer: B
B Cannot be “D” to not make Order Mule App connect to 2 different message brokers (Queue to send messages to Fulfillment and Topic to consume Fulfillment event)
upvoted 1 times
...
Outdoor25
1 year, 12 months ago
It should be D. The key here is fulfillment app publishes order fulfilled message which needs to be consumed by more than one (order service). this will cause different loads for Order JMS broker vs Order Fulfilled (topif) JMS broker. Hence there is a need to scale them differently. B is correct as well, but there is an unnecessary scaling of one JMS broker to accommodate load of fulfilled messages.
upvoted 2 times
...
Grump
2 years ago
It could be B or D. Leaning more towards B because you do not need to worry about load difference of Order and fulfillment services. fulfillment service will only be processing messages from Order service. orderfulfilled messages an be published on topic which can be consumed by multiple consumers, but number of messages will be same as generated by order service.
upvoted 2 times
_d4d_
1 year ago
This explanation seems apt, based on which I would assume answer should be B
upvoted 1 times
...
...
Pavan_Nagineni
2 years, 4 months ago
B. Order messages are sent to a JMS queue OrderFulfilled messages are sent to a JMS topic Both microservices interact with the same JMS provider (message broker) instance, which must therefore scale to support the load of both microservices
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