Ultimate access to all questions.
Which two file detection modes does the Auto Loader support?
Explanation:
Auto Loader supports two modes for detecting new files: Directory Listing and File Notification. These modes ensure exactly-once data processing guarantees, even across stream restarts.
Directory Listing Mode: Auto Loader identifies new files by listing the input directory. This mode is quick to start with minimal permission requirements and can optimize API calls for files arriving in lexical order.
File Notification Mode: This mode uses cloud infrastructure services for file events, offering better performance for large directories or high file volumes but requires additional cloud permissions.
The correct answer is Directory Listing and File Notification.