Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.

Unlimited Access

Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.

Exam MCD - Level 1 topic 1 question 121 discussion

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

Refer to the exhibit. The Default scope in the 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?

  • A. “Green”
  • B. A timeout error
  • C. “Bik”
  • D. [“Blue”, “Red”, “Bik”]
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
samfloyd
2 months, 1 week ago
If the set payload defaulted to Blue is removed then only C , otherwise it will be in loop resulting in B
upvoted 1 times
...
Alandt
2 months, 3 weeks ago
Selected Answer: C
I don't know why people vote B but the correct answer is C. "BIK"
upvoted 1 times
...
marcop1
3 months ago
Selected Answer: C
It's C
upvoted 1 times
...
ExamDev
3 months ago
Selected Answer: C
The correct answer is C. “Bik” Here is the explanation: 1. Client send "Blue" payload 2. Choice router matches the default route because we don't have a "Blue" case 3. Inside the default case we set the payload to "Red" and trigger the choice again with that payload 4. Now we have a "Red" case and inside we change the payload to "Blk" color.
upvoted 1 times
Alandt
2 months, 2 weeks ago
Exactly this. A timeout error would only occur when the flow turns into an infinite loop. But there is no loop here.
upvoted 1 times
...
samfloyd
2 months, 1 week ago
As per the image, a Set Payload defaulted to Blue is placed before the Choice router. That will call the default router path everytime.
upvoted 1 times
...
...
ExamDev
3 months ago
I Agree with AntarJalil. C is correct.
upvoted 1 times
...
AntarJalil
3 months, 2 weeks ago
"C" is correct. I just recreated the scenario on Studio . At first, it went to the "Default" part of the choice . Then, on the "auto call" , it entered to the "payload contains Red" choice and payload "Blk" was the final response .
upvoted 2 times
...
reklame_info
5 months, 2 weeks ago
C is correct.
upvoted 1 times
...
Neo_0000
7 months, 1 week ago
C is correct, verified in studio as well. It doesn't throw any timeout error.
upvoted 1 times
...
[Removed]
11 months, 1 week ago
Selected Answer: B
B is correct
upvoted 2 times
...
Abhay14
1 year ago
Selected Answer: B
B- is the correct
upvoted 1 times
...
aiden_03
1 year, 1 month ago
C is correct - Payload is accessible to childflow (even if recursive), final choice sets payload to red which then sends it through top branch on second iteration.
upvoted 3 times
Rahul_16
10 months, 4 weeks ago
But this contains listener as a source. I think it will throw error.
upvoted 1 times
...
mb72
1 year, 1 month ago
are you 100% sure
upvoted 2 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 ...