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 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: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
ExamDev
3 months, 3 weeks 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
3 months, 1 week ago
You mean C, right?
upvoted 1 times
...
...
ibrahim_akbiyik
1 year 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, 3 months ago
Selected Answer: B
B syntax error, tested locally
upvoted 1 times
Ranjansingh
1 year, 3 months ago
Typo error, it's C - Syntax error (not B)
upvoted 2 times
...
...
dendarm
1 year, 5 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, 4 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 ...