Refer to the exhibits. In the choice router, the When expression for the domestic shipping route is set to "#[payload= "FR"]".
What is the output of logger after the execution of choice router is completed?

Suggested Answer: D
Get Premium Salesforce Certified MuleSoft Developer (Mule-Dev-201) Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
To compare, DataWeave syntax is #[payload == 'FR'].
In this case only one = is used so it will give syntax error.
Hence the correct answer isA dataweave syntax error
32 comments · newest first
DE
Denny
11 months ago
I’m surprised it’s not just 'US'!
AI
Aide
11 months ago
Wait, is there a chance of a syntax error?
LI
Ligia
12 months ago
I think it might actually log 'International' instead.
JI
Jill
12 months ago
So, it should log 'Domestic', right?
DE
Deane
1 year ago
The When expression checks for "FR".
AL
Albert
1 year ago
What if there's a syntax error in the expression? I feel like that could lead to option D being the output.
RO
Rolande
1 year ago
I practiced a similar question where the output depended on the payload value. If it matches "FR", then 'Domestic' seems correct.
GI
Giovanna
1 year ago
I'm not entirely sure, but I remember something about the When expression needing to match exactly. Could it be 'International' if it doesn't match?
NI
Nidia
1 year ago
I think the choice router checks the payload, so if it's "FR", it should log 'Domestic', right?
NA
Nadine
1 year ago
I'm not too sure about this one. The When expression seems straightforward, but I want to double-check the payload value to be certain of the correct output.
MA
Malinda
1 year ago
Based on the image, the payload must be "FR" for the domestic shipping route to be selected. So the output of the logger should be 'Domestic'.
MI
Micah
1 year ago
Wait, I'm a bit confused. The question says the choice router is executed, but it doesn't specify what the payload value is. I'll need to make an assumption about the payload to answer this.
AL
Albina
1 year ago
Okay, the When expression is checking if the payload is equal to "FR". So if the payload is "FR", the domestic shipping route will be selected. I think the output should be 'Domestic'.
SO
Sonia
1 year ago
Hmm, this looks like a tricky one. I'll need to carefully review the When expression and the payload data to determine the expected output.
AB
Abel
1 year ago
I remember practicing similar questions, and I feel like option D might be the best long-term strategy for building a loyal audience.
CA
Caitlin
1 year ago
Hmm, this is a tricky one. Value Management is all about maximizing value, but the options are a bit nuanced. I'll need to really think through the differences between them to determine which one is the most fundamental.
GL
Gladys
1 year ago
Azure Sentinel is definitely the way to go. It's designed specifically for security monitoring and incident response, so it's the best fit for a SIEM use case.
JA
Jamey
2 years ago
This is a tricky one, but I reckon the correct answer is 'Domestic'. Gotta love those choice routers!
FL
Fletcher
2 years ago
Definitely not a DataWeave syntax error, that would be too easy. I'm going with 'Domestic'.
NO
Noe
2 years ago
I think it's 'Domestic' as well.
MI
Mignon
2 years ago
I agree, 'Domestic' seems like the correct output.
BU
Burma
2 years ago
Haha, I bet someone is going to choose 'US' just because it's a common shipping destination.
EL
Elena
2 years ago
Sylvia: Oh, I see. Thanks for clarifying!
MA
Marsha
2 years ago
I agree with Marsha, it will be 'Domestic'.
SY
Sylvia
2 years ago
No, it should be 'Domestic' based on the payload value.
SH
Shonda
2 years ago
I think the output will be 'US'.
PA
Paola
2 years ago
I think it might be a dataweave syntax error.
TH
Theola
2 years ago
The when expression looks correct, so I think the output should be 'Domestic'.
VA
Val
2 years ago
A) \'Domestic\'
CL
Clay
2 years ago
But the When expression is set to 'FR', so it should be 'US'.
DE
Denny
2 years ago
I believe it will be 'International'.
CL
Clay
2 years ago
I think the output will be 'Domestic'.