MCD - Level 1 Exam QuestionsBrowse all questions from this exam

MCD - Level 1 Exam - Question 114


Refer to the exhibits.

The Mule application contains a Choice router.

What is logged when the flow completes?

Show Answer
Correct Answer: A

The flow sets the payload to 'REGION' initially. When the Choice router evaluates the conditions, it first checks if the payload is not empty using the expression '#[not isEmpty(payload)]'. Since 'REGION' is a non-empty string, this condition is true. Consequently, the payload is set to 'US', and then this value is logged. Therefore, the correct answer is 'US'.

Discussion

8 comments
Sign in to comment
almoraimaOption: A
Mar 28, 2021

Correct is A

DavidAccMuleOption: A
Jul 1, 2021

Correct is A, because payload is not empty

miguel_romeroOption: A
Dec 15, 2021

Correct is A

ExamDevOption: A
Jan 25, 2024

A is correct. "Region" is not an empty string and we don't have a flow reference to the default choice

MaxroyoOption: A
Aug 29, 2022

A is correct

HonestSeekerOption: A
Jan 26, 2023

@Moderator - Please set the correct response as A

martademanzanaOption: A
Nov 13, 2023

A is correct

aook002Option: A
Apr 20, 2024

"Region" is a string payload, therefore the not isEmpty (is not empty) validator is true, so hits the first choice condition. Payload = "US". Answer = A.