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

Exam MCD - Level 1 All Questions

View all questions & answers for the MCD - Level 1 exam

Exam MCD - Level 1 topic 1 question 141 discussion

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

Refer to the exhibits. In the Choice router, the When expression for the domesticShipping route is set to “#[payload =’FR’]”





What is logged after the Choice router completes?

  • A. The result of the domesticShipping flow
  • B. A string with value “FR”
  • C. A DataWeaver syntax error
  • D. The result of the internationalShipping flow
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
ExamDev
10 months ago
Selected Answer: B
Will fail and throw dataweave error, the correct syntax for the when clause would be: payload == 'FR'
upvoted 1 times
Alandt
9 months, 3 weeks ago
You mean C, right?
upvoted 1 times
...
...
ibrahim_akbiyik
1 year, 7 months ago
Selected Answer: C
To compare, DataWeave syntax is #[payload == "FR"]. In this case only one = is used so it will give syntax error.
upvoted 1 times
...
Ranjansingh
1 year, 9 months ago
Selected Answer: B
B syntax error, tested locally
upvoted 1 times
Ranjansingh
1 year, 9 months ago
Typo error, it's C - Syntax error (not B)
upvoted 2 times
...
...
dendarm
1 year, 11 months ago
Selected Answer: C
Will fail and throw dataweave error, the correct syntax for the when clause would be: payload == 'FR'
upvoted 2 times
[Removed]
1 year, 10 months ago
True, there should be a red circle with exclamation mark in the picture. The image was edited...
upvoted 1 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 ...