Reviewed by Aditya Kumar Β· Last reviewed 2026-03-24
Architectural logic: GetMetadata lists files/folders; ForEach iterates; Copy Data moves data. Flow: GetMetadata path β childItems β ForEach items β Copy Data per item. Why: Dynamic file iteration; per-file control. Scalability: ForEach batchCount for parallelism; Copy...
Architectural logic: GetMetadata lists files/folders; ForEach iterates; Copy Data moves data. Flow: GetMetadata path β childItems β ForEach items β Copy Data per item. Why: Dynamic file iteration; per-file control. Scalability: ForEach batchCount for parallelism; Copy parallelCopies. Best practice: GetMetadata + ForEach for dynamic; handle empty; use @item().Name.
Red Flag: Sequential ForEach when parallelism is possible. Pro-Move: 'We use batchCount 10 on ForEach; GetMetadata filters by dateβprocess 500 files in 5 min vs 30 min sequential.'
According to DataEngPrep.tech, this is one of the most frequently asked Cloud/Tools interview questions, reported at 1 company. DataEngPrep.tech maintains an editor-reviewed database of 1,863 data engineering interview questions across 7 categories.