MCD - Level 1 Exam QuestionsBrowse all questions from this exam

MCD - Level 1 Exam - Question 105


Refer to the exhibits.

A JSON payload is set in the Set Payload transformer.

What is logged by the Logger?

Show Answer
Correct Answer: B

The flow sets a JSON payload using the Set Payload transformer with a DataWeave expression. The DataWeave expression evaluates to an object in MuleSoft. Therefore, when the Logger component logs the type of the payload, it logs "Object". The correct answer is therefore "Object".

Discussion

9 comments
Sign in to comment
pgarciarOption: B
Mar 29, 2021

B is correct

RessSysopOption: B
Jul 10, 2021

B is correct

Ella_ZOption: B
Sep 4, 2021

B ->Object

miguel_romeroOption: B
Dec 15, 2021

B is correct

ExamDevOption: A
Jan 25, 2024

A. "String". - Just tested in anypoint studio

ExamDev
Jan 25, 2024

The main hint here is that we don't have transformer to convert the payload to object!

MannyJassOption: A
Sep 25, 2022

A is correct as the '#[...]' is in single quote.

HonestSeeker
Jan 26, 2023

String values need to be in double quotes. Therefore A is not correct

martademanzanaOption: B
Nov 13, 2023

B is correct

ExamDevOption: B
Jan 23, 2024

B is correct. Look at the value of setPayload -> #[...] its Datawave expression, witch mean will transform the string into object

aook002Option: B
Apr 20, 2024

B = Object