Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.

Unlimited Access

Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.

Exam MCD - Level 1 topic 1 question 61 discussion

Actual exam question from Mulesoft's MCD - Level 1
Question #: 61
Topic #: 1
[All MCD - Level 1 Questions]

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?

  • A. A non-empty Java object
  • B. The original XML payload
  • C. The returned JSON response
  • D. null
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
pgarciar
Highly Voted 3 years ago
The payload is the original XML payload
upvoted 25 times
Goat1234
2 years, 6 months ago
Can you explain why?
upvoted 3 times
test_nick1_
2 years, 6 months ago
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 !
upvoted 11 times
...
...
...
Ivanlml
Highly Voted 2 years, 11 months ago
Yes, I did a test about this Question, the real answer is B: "The payload is the original XML payload"
upvoted 14 times
...
xasihih752
Most Recent 2 months ago
Selected Answer: B
I tested using Anypoint Studio and that's the correct answer
upvoted 1 times
...
ExamDev
2 months, 3 weeks ago
Selected Answer: 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.
upvoted 1 times
...
ExamDev
2 months, 4 weeks ago
Selected Answer: B
I think correct answer is B
upvoted 1 times
...
peeman004
5 months, 3 weeks ago
Selected Answer: B
I tried it to be sure.
upvoted 1 times
...
notthatgerry
5 months, 4 weeks ago
Selected Answer: 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
upvoted 1 times
...
Raju039
8 months ago
Selected Answer: B
B is correct
upvoted 1 times
...
SuckerForPunishment
8 months, 3 weeks ago
Selected Answer: B
The XML payload before the HTTP request is preserved because the response from the HTTP request goes into the target variable.
upvoted 1 times
...
vibhu1996
1 year, 1 month ago
Selected Answer: B
The returned payload is stored in variable.
upvoted 1 times
...
Maxroyo
1 year, 7 months ago
Selected Answer: B
B is correct
upvoted 1 times
...
Maxroyo
1 year, 7 months ago
MAT : ANSWER B
upvoted 1 times
...
trithien1
2 years, 1 month ago
Selected Answer: B
B is correctly
upvoted 1 times
...
66666
2 years, 2 months ago
the rigth answer is letter b, I did this program in anypoint studio an the answer is B
upvoted 2 times
...
Al_Hamad
2 years, 4 months ago
Selected Answer: B
the returned payload is stored in the target variable
upvoted 1 times
...
senthil_Kumar_Murugan
2 years, 4 months ago
Selected Answer: B
the payload will be in XML since we are storing the payload in target variable in the child flow
upvoted 2 times
...
ahhdarnit
2 years, 8 months ago
The Answer is C. When you make an HTTP Request, you are crossing the Transport Boundary, so when returned the payload is changed
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...