Exam MCD-Level-1 Topic 5 Question 24 Discussion

Actual exam question for MuleSoft's MCD-Level-1 exam
Question #: 24
Topic #: 5
What is the correct syntax for a Logger component to output a message with the contents of a 3SON Object payload?

Suggested Answer: B Vote an answer

Option 3 is the only corect answer as it concatenates payload with String.
Below option wont work.
#["The payload is " ++ payload]
Concatenation function expects both arguments to be string. As the question says payload is json object , this will throw error while running it. You can try this in Anypoint Studio and you will get the same result which I mentioned.
hence correct answer is
The payload is: #[payload]

by marksamir955 at Jun 28, 2026, 05:17 PM

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Nick name: Submit Cancel
marksamir955
2026-06-28 17:17:38
Selected Answer: C
C
upvoted 1 times
...
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.

0
0
0
10