Interview practice question
Function timing out on large files
Data Engineering · AWS Lambda · Beginner
A Lambda that converts uploaded CSV files to Parquet works for small files but times out on large ones. What do you do?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Check duration against the timeout and memory usage.
- Increase memory for more CPU, and timeout up to 15 minutes.
- Stream processing instead of loading the whole file.
- Split large files or route them to Glue or Fargate.
- Monitor duration trends.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.