nerdexam
MuleSoft

MCD-LEVEL-1 · Question #152

What is the object type returned by the File List operation?

The correct answer is D. Array of Mule event objects. The List operation returns an array of messages in which: Each message holds the file's content in its payload. The file's attributes section carries the file's metadata (such as name, creation time, and size). The payload is empty if the element is a folder.

Connectors and Integration Patterns

Question

What is the object type returned by the File List operation?

Options

  • BArray of String file names
  • CObject of Mule event objects
  • DArray of Mule event objects

How the community answered

(51 responses)
  • B
    4% (2)
  • C
    2% (1)
  • D
    94% (48)

Explanation

The List operation returns an array of messages in which: Each message holds the file's content in its payload. The file's attributes section carries the file's metadata (such as name, creation time, and size). The payload is empty if the element is a folder.

Topics

#File connector#List operation#Mule events#return types

Community Discussion

No community discussion yet for this question.

Full MCD-LEVEL-1 Practice