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

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 theResult.

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

    Correct Answer: B

    The payload at the Logger component after the HTTP Request is the original XML payload. This is because the HTTP Request operation is configured to store the response in a target variable named 'theResult'. Therefore, the original payload, which is the XML message, remains unchanged. The JSON response from the 'transformFlow' is stored in the variable 'theResult' and does not overwrite the original payload.

Discussion
pgarciarOption: B

The payload is the original XML payload

Goat1234

Can you explain why?

test_nick1_

Because, the returned payload is stored in the target variable . So the original payload which is the xml message is Intact. Ok.. SO answer is the " original xml payload" ......IF IF the returned response is not saved to target variable then the original payload gets overwritten to JSON and the answer should have been json...... But here in this case Anwer is Original XML Payload. Thanks !

IvanlmlOption: B

Yes, I did a test about this Question, the real answer is B: "The payload is the original XML payload"

ahhdarnitOption: C

The Answer is C. When you make an HTTP Request, you are crossing the Transport Boundary, so when returned the payload is changed

66666Option: B

the rigth answer is letter b, I did this program in anypoint studio an the answer is B

senthil_Kumar_MuruganOption: B

the payload will be in XML since we are storing the payload in target variable in the child flow

xasihih752Option: B

I tested using Anypoint Studio and that's the correct answer

ExamDevOption: B

The question is "What is the payload at the Logger component after the HTTP Request?" not "What is the value of a variable?" So payload remains the same (xml) while the varaible contains the json.

ExamDevOption: B

I think correct answer is B

peeman004Option: B

I tried it to be sure.

notthatgerryOption: B

Every time a processor stores a payload into a target variable, the payload is not affected. https://docs.mulesoft.com/mule-runtime/4.4/target-variables

Raju039Option: B

B is correct

SuckerForPunishmentOption: B

The XML payload before the HTTP request is preserved because the response from the HTTP request goes into the target variable.

vibhu1996Option: B

The returned payload is stored in variable.

MaxroyoOption: B

B is correct

MaxroyoOption: B

MAT : ANSWER B

trithien1Option: B

B is correctly

Al_HamadOption: B

the returned payload is stored in the target variable