nerdexam
MuleSoft

MCD-LEVEL-1 · Question #189

Refer to the exhibit. The default scope in choice router recursively calls the color flow. A web client sends a PUT request to the HTTP listener with payload Blue. What response is returned to the…

The correct answer is C. A timeout error. Sequence can be described as follows. When web client sends the request , it sends payload as Blue (mentioned in question) In first iteration this will go to default choice , which sets payload to Red Via default route , flow will call itself with payload as Red In second…

Mule Runtime

Question

Refer to the exhibit. The default scope in choice router recursively calls the color flow. A web client sends a PUT request to the HTTP listener with payload Blue. What response is returned to the web client?

Exhibit

MCD-LEVEL-1 question #189 exhibit

Options

  • A"Blk"
  • B"Green"
  • CA timeout error

How the community answered

(36 responses)
  • A
    25% (9)
  • B
    14% (5)
  • C
    61% (22)

Explanation

Sequence can be described as follows. * When web client sends the request , it sends payload as Blue (mentioned in question) * In first iteration this will go to default choice , which sets payload to Red * Via default route , flow will call itself with payload as Red * In second iteration , as payload is Red , it will go to first route in choice router which will set payload to Blk and second iteration will end returning back payload as Blk to first iteration. * This Blk will be again set to payload and first iteration will end returning back response as Blk

Topics

#Choice router#flow reference#recursive calls#timeout

Community Discussion

No community discussion yet for this question.

Full MCD-LEVEL-1 Practice