FoMS Experts

News / Exam Questions

QUESTION, ANSWER, EXPLANATION

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

Exam Question MS-21-028 for MuleSoft Certified Developer (MCD) - Level 1
Share
FacebookGoogle plusLinkedInStumbleuponTwitter
FoMS12.4.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

What is the response to a web client's request to http://localhost:8081?


Answer

A) After
B) Before
C) Validation Error
D) null

The correct answer to this question is C.

Explanation

This question is tricky, because the answer is not visible in the visual flow, but in the XML code.

As we can see in the code, if the payload is null, the flow will continue on the next component. If not, the "Validator" component is going to write "Validation Error" into the payload.

Since the payload is set in the first "Set Payload" component, it is not null anymore and it is going to be changed by the "Validator" component.

Register now