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

Exam MCIA - Level 1 All Questions

View all questions & answers for the MCIA - Level 1 exam

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: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Alandt
4 months, 2 weeks 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
8 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
12 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, 11 months ago
Selected Answer: C
Streaming is the only way to go
upvoted 1 times
...
Outdoor25
2 years, 10 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
3 years, 3 months ago
*Correction C
upvoted 3 times
...
Rahul1387
3 years, 3 months ago
The answer is B
upvoted 2 times
awstj
3 years, 2 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 ...