FoMS Experts

News / Exam Questions

QUESTION, ANSWER, EXPLANATION

Exam Question MS-21-006 for MuleSoft Certified Developer (MCD) - Level 1

Exam Question MS-21-006 for MuleSoft Certified Developer (MCD) - Level 1
Share
FacebookGoogle plusLinkedInStumbleuponTwitter
FoMS24.2.2021

This question has been asked by one of our members and a similar question could most likely be on the exam. All answers have been verified by MuleSoft certified FoMS experts.

Question

Refer to the exhibits! What is a valid expression for the Choice routers's when expression to route events to the documenticShipping flow?

Answer

A) #[payload = 'US']
B) #[payload == 'US']
C) #[if(payload = 'US')]
D) #[if(payload == 'US')]

The correct answer to this question is B.

Explanation

In order to ask a question, it is necessary to use a logical operator. In this case it is an "==" and not "=", which is an assignment operator. That eliminates answers A and C. Answer D is eliminated because of the "if", since the Choice component asks for the condition written without it, which leave us B as the correct answer.

Register now