MuleSoft Certified Developer – Level 1 — Question 56
What is the object type returned by the File List operation?
Answer options
- A. Object of String file names
- B. Array of String file names
- C. Object of Mule event objects
- D. Array of Mule event objects
Correct answer: D
Explanation
The File List operation returns an Array of Mule event objects, which contain metadata and data about the files listed. The other options inaccurately describe the return type, as they suggest returning String file names or a single object, rather than the correct array of Mule event objects.