Exam MCD - Level 1 All QuestionsBrowse all questions from this exam
Question 105

Refer to the exhibits.

A JSON payload is set in the Set Payload transformer.

What is logged by the Logger?

    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
pgarciarOption: B

B is correct

Ella_ZOption: B

B ->Object

RessSysopOption: B

B is correct

miguel_romeroOption: B

B is correct

ExamDevOption: A

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

ExamDev

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

aook002Option: B

B = Object

ExamDevOption: B

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

martademanzanaOption: B

B is correct

MannyJassOption: A

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

HonestSeeker

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