Interview practice question
A runaway process generates a huge bill overnight
Cloud & DevOps · Cloud Platforms · Experienced
A Lambda function triggered by S3 uploads wrote its output back into the same bucket, triggering itself in a loop and generating a large bill overnight. How do you stop it and prevent this class of problem?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Stop: disable trigger, set concurrency to 0.
- Clean up generated objects.
- Separate input/output buckets or prefixes.
- Recursive loop detection features, budgets, anomaly alerts.
- Concurrency limits as safety.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.