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

Refer to the exhibits. The main flow contains an HTTP Request operation configured to call the child flow’s HTTP Listener.

A web client sends a GET request the HTTP Listener with the qty query parameter set to 30.

After the HTTP Request operation completes, what parts of the Mule event at the main flow’s Logger component are the same as the Mule event that was input to the HTTP Request operation?

    Correct Answer: C

    In MuleSoft, when an HTTP Request operation completes, the variables set before the request are maintained, but the payload and attributes usually reflect the response received from the request. In this case, after the HTTP Request operation, the only parts of the Mule event that do not change are the variables. The payload is updated by the child flow and the attributes are related to the HTTP response. Therefore, the correct answer is that only the variables remain the same.

Discussion
AntarJalilOption: C

Correct answer is “C”. I have re- created the scenario on Studio to confirm it. Request operation input : (I have placed an extra logger just before the request operation) "flow": "main", "qty Attribute": "30", "quantity Var": "30", "payload": "\"Order01\"" Logger after the request operation : "flow": "main", "qty Attribute": null, "quantity Var": "30", "payload": "\"child flow finished\"" In this particular case, the payload was changed at the child flow. Then , after the request operation completes , the only part of the mule event that did not changed was the variable “quantity”.

Alandt

You are correct

minu21Option: D

Correct answer is D

AlandtOption: C

Everyone says answer is C: https://help.mulesoft.com/s/question/0D56R00008fJNMHSA4/mule-4-training-question-on-variable-scope

AlandtOption: C

ChatGPT: C. All variables. In MuleSoft, variables set before an HTTP Request are maintained after it executes, but the payload and attributes typically change to reflect the response of the request.

ExamDevOption: B

In MuleSoft, when a web client sends a GET request to the HTTP Listener with the qty query parameter set to 30, and the HTTP Request operation completes, the parts of the Mule event at the main flow's Logger component that are the same as the input Mule event to the HTTP Request operation depend on the configuration of your flow. However, typically, in MuleSoft, the answer would be: B. The payload and all variables This means that the payload and all variables in the Mule event at the Logger component would be the same as the Mule event that was input to the HTTP Request operation. The payload represents the data being transferred, and variables store additional information that can be carried along with the Mule event.