Interview practice question
Validating incoming files
Data Engineering · AWS Lambda · Beginner
Partners upload files to S3, and sometimes they're malformed. How would you use Lambda to validate them before processing?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Trigger a Lambda on upload to a landing prefix.
- Check file type, size, header and schema.
- Move valid files to an accepted prefix and invalid ones to a rejected prefix.
- Notify partners or the team about rejections.
- Keep validation fast and lightweight.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.