InterviewStack.io LogoInterviewStack.io

Infrastructure and Deployment Troubleshooting Questions

Covers a systematic approach to diagnosing and resolving infrastructure and deployment failures across cloud and on premise environments. Topics include collecting and interpreting logs, metrics, and traces; isolating failures and performing root cause analysis; verifying network connectivity, identity and access management, and resource configuration; debugging containerization and operating system level issues; diagnosing continuous integration and continuous delivery pipeline failures across build, test, and deploy stages; addressing infrastructure as code drift and service limits; applying rollback, canary, and incremental deployment strategies; deciding when to escalate versus handling directly; and conducting incident response and post incident learning to prevent recurrence.

HardTechnical
85 practiced
A subtle IaC change in the API Gateway (header normalization) increased per-request latency by ~30ms. Describe a forensic process to trace the change from an IaC git commit through CI/CD to runtime telemetry to prove causality, and recommend guardrails (perf tests in PRs, review checklists, canarying) to avoid similar regressions.
EasyTechnical
120 practiced
A Kubernetes Pod shows CrashLoopBackOff and container logs contain 'java.lang.OutOfMemoryError: Java heap space'. Describe immediate mitigations to restore availability (short-term) and the next steps you would take to identify and fix the root cause (long-term).
EasyTechnical
93 practiced
Write a Python 3 script (streaming, memory-efficient) that reads a newline-delimited JSON log file and prints the top 5 components by error count over the last 24 hours. Each line contains fields: timestamp (ISO8601), component, level. File path is provided as argv[1]. Describe assumptions about timezones and malformed lines.
MediumSystem Design
134 practiced
Design a rollback orchestration mechanism for a microservice platform that needs to rollback a set of N services according to dependency ordering. Describe how you would handle partial failures during rollback, in-flight requests, idempotency requirements, and integration with CI/CD to automate safe, consistent rollback.
HardTechnical
73 practiced
A CI artifact repository silently consumed disk and filled up, causing build failures. Describe a forensic process to discover which projects created the most artifacts and when, steps to reclaim space safely without disrupting builds, and a long-term retention and garbage collection policy you would implement.

Unlock Full Question Bank

Get access to hundreds of Infrastructure and Deployment Troubleshooting interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.