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 MCIA - Level 1 topic 1 question 53 discussion

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

What is a recommended practice when designing an integration Mule 4 application that reads a large XML payload as a stream?

  • A. The payload must be cached using a Cache scope if it is to be sent to multiple backend systems
  • B. The payload size should NOT exceed the maximum available heap memory of the Mule runtime on which the Mule application executes
  • C. The payload should be dealt with as an XML stream, without converting it to a single Java object (POJO)
  • D. The payload should be dealt with as a repeatable XML stream, which must only be traversed (iterated-over) once and CANNOT be accessed randomly from DataWeave expressions and scripts
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Alandt
2 weeks, 5 days ago
Selected Answer: C
ChatGPT: C. The payload should be dealt with as an XML stream, without converting it to a single Java object (POJO).
upvoted 1 times
...
vikas_mule
4 months, 2 weeks ago
Selected Answer: C
C is correct, streaming is used to process lorge payload, in not storing whole as an object
upvoted 1 times
...
gilofernandes
8 months ago
Selected Answer: B
https://help.mulesoft.com/s/article/Error-that-the-max-streaming-memory-limit-has-been-exceeded
upvoted 1 times
...
jmay
1 year, 7 months ago
Selected Answer: C
Streaming is the only way to go
upvoted 1 times
...
Outdoor25
2 years, 6 months ago
It should be C. Cannot be B because single XML file maxing heap size means there is no space for any other operations in the runtime. Which is a problem.
upvoted 1 times
...
Rahul1387
2 years, 11 months ago
*Correction C
upvoted 3 times
...
Rahul1387
2 years, 11 months ago
The answer is B
upvoted 2 times
awstj
2 years, 10 months ago
When calculating the in-memory buffer size for repeatable auto-paging, you need to estimate the amount of memory each instance takes to avoid running out of memory. https://docs.mulesoft.com/mule-runtime/4.3/streaming-about
upvoted 1 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 ...
ex Want to SAVE BIG on Certification Exam Prep?
close
ex Unlock All Exams with ExamTopics Pro 75% Off
  • arrow Choose From 1000+ Exams
  • arrow Access to 10 Exams per Month
  • arrow PDF Format Available
  • arrow Inline Discussions
  • arrow No Captcha/Robot Checks
Limited Time Offer
Ends in