FoMS Experts

News / Exam Questions

QUESTION, ANSWER, EXPLANATION

Exam Question MS-21-001 for MuleSoft Certified Developer (MCD) - Level 1

Exam Question MS-21-001 for MuleSoft Certified Developer (MCD) - Level 1
Share
FacebookGoogle plusLinkedInStumbleuponTwitter
FoMS22.2.2021

This question has been asked by one of our members and a similar question could most likely be on the exam. All answers have been verified by MuleSoft certified FoMS experts.

Question

A web client sends a POST request to the HTTP Listener with a payload "Hello-". What response is returned to the web client?

Answer

A) Hello-HTTP-JMS2-Three
B) HTTP-JMS2-Three
C) Hello-JMS1-HTTP-JMS2-Three
D) Hello-HTTP-Three

The correct answer to this question is A.

Explanation

The flow starts with the payload "Hello-" from the POST request. Since the VM-Publish processor is asynchronous, the Set Payload in the flow oneJmsQueueListener does not change the payload at this moment. Continuing to the Request processor, a "HTTP-" is being appended to the payload. Next is the VM-Publish consume processor which is synchronous and "JMS2-" is being appended to the payload. At the end of the flow, the Set Payload processor appends "Three" to the payload.

Register now