Q1
Walk me through how you would design a CI/CD pipeline for a microservices application deployed on Kubernetes. What tools would you choose and why?
Why they ask this:* They want to assess your understanding of modern deployment practices, container orchestration, and your ability to design scalable infrastructure solutions that are core to DevOps work.
Q2
Explain the difference between stateful and stateless applications in containerized environments. How would you handle persistent data in Kubernetes?
Why they ask this:* This tests your grasp of container architecture and storage management—critical knowledge for ensuring data integrity and application reliability in production environments.
Q3
You notice your application's response time has degraded by 40% over the past hour. Walk me through your troubleshooting approach using monitoring and logging tools you've worked with.
Why they ask this:* They're evaluating your systematic debugging methodology, familiarity with observability tools (Prometheus, ELK, Datadog, etc.), and ability to quickly identify root causes in production.
Q4
How would you implement Infrastructure as Code (IaC) for managing cloud resources across multiple environments? What are the trade-offs between Terraform and CloudFormation?