44Your app runs database migrations in an init container on every deploy. Defend or attack that pattern.▼easyNewFlipkartPhonePeRazorpay◆ premiumThe gating instinct is right and the cardinality is wrong: init containers make every new replica race the same migration. Here is the once-per-release shape interviewers want, plus the rollback rule that shapes all DDL review.Open full answer →
23A rolling update stalls halfway: new replicas crash-loop and old ones are already scaled down. What are your first moves?▼mediumNewFlipkartPhonePeSwiggy◆ premiumThe reflex is rollback and it is usually right. There is exactly one class of failure where undo makes things worse, and knowing it is the entire interview.Open full answer →
24All stages green except the production deploy, which failed three runs in a row. Nobody changed anything. Where do you dig first?▼hardNewAccentureWalmart Global TechInfosys◆ premiumAn unchanged pipeline failing in one environment means the environment moved, not the code. Failures that start on an expiry boundary narrow the field to two suspects fast.Open full answer →