FoMS Experts

News / Exam Questions

QUESTION, ANSWER, EXPLANATION

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

Exam Question MS-21-003 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! In the requestFlow an HTTP Request operation is configured to send an HTTP request with an XML payload. The request is sent to the HTTP Listener in the transformFlow.

That flow transforms the incoming payload into JSON format and returns the response to the HTTP request. The response of the request is stored in a target variable named the Result.

What is the payload at the Logger component after the HTTP Request?

Answer

A) A non-empty Java object
B) The original XML payload
C) null
D) The returned JSON response

The correct answer to this question is B.

Explanation

Since the target variable in the response section of the HTTP Request procesor has be defined to catch the response from the transformFlow in the variable "theResult", the original payload from the requestFlow has never been changed.

Register now