Exam MCIA - Level 1 All QuestionsBrowse all questions from this exam
Question 99

A marketing organization is designing a Mule application to process campaign data. The Mule application will periodically check for a file in a SFTP location and process the records in the file. The size of the file can vary from 10MB to 5GB. Due to the limited availabiltty of vCores, the Mule application is deployed to a single CloudHub worker configured with vCore size 0.2.

The application must transform and send different formats of this file to three different downstream SFTP locations.

What is the most idiomatic (used for its intended purpose) and performant way to configure the SFTP operations or event sources to process the large files to support these deployment requirements?

    Correct Answer: D

    Given the constraints of limited vCore sizes and the need to handle file sizes that can range from 10MB to 5GB, using an in-memory stream is not practical due to the limited heap memory available. File-stored streams help manage large files by using disk storage instead of memory, preventing potential crashes due to memory overflow. Additionally, the requirement to send different formats of the file to three different downstream locations means that the stream should be repeatable to allow multiple read operations. Therefore, the most suitable option is to use a file-stored repeatable stream to ensure both performance and reliability.

Discussion
ExamschafferOption: D

I'll go with D. Use a file-stored repeatable stream. File-stored, because heap memory assigned to 0.2 vCores is 1 GB. If the size of the processed file is more than 1 GB and the disc storage isn't available, the application will crash. So the disc (file) storage is needed. Repeatable, since there are three downstream SFTP locations which expect different file formats, it can be assumed, that the mule application needs to access the stored data three times to transform them into three different formats.

awsuser1Option: D

I think D is right answer.

awsuser1

https://docs.mulesoft.com/mule-runtime/4.4/streaming-about