Interview Prep
💡 Prep Tips
→ Think in trade-offs
→ Start with requirements
→ Scale incrementally
Interview Preparation Journey
When would you choose horizontal scaling over vertical scaling?
How do you choose between different load balancing strategies?
When would you use cache-aside vs write-through caching strategy?
What is the CAP theorem and how does it apply to distributed systems?
What is the difference between sharding and replication?
What is consistent hashing and why is it important?
What is the difference between message queues and event streaming?
What is the difference between SQL and NoSQL databases?
What is the difference between horizontal and vertical partitioning?
What is the difference between synchronous and asynchronous replication?
What is the difference between blue-green and canary deployments?
How would you manage deployments and rollbacks to reduce downtime?
What is the difference between stateful and stateless services?
If you are using AWS API Gateway or any API Gateway, do you still need a Load Balancer?
What is the difference between eventual and strong consistency?
What is the difference between read and write replicas?
What is the difference between polling and push notifications?
If something goes wrong in production, what is your first approach to troubleshoot?
How would you respond to a sudden spike in traffic causing performance degradation?
Scenario: When would you choose microservices over monolithic architecture for a new project?
How do microservices communicate with each other?
How do you convert a monolithic application to microservices and vice versa?
Scenario: Design a system that can handle 10 million concurrent users. What are the key considerations?
Scenario: When would you choose event-driven architecture over request-response?
Scenario: How would you design a system to handle both read-heavy and write-heavy workloads?
Scenario: Design a URL shortener like bit.ly. How would you architect it?
Scenario: How would you design a distributed cache system that handles failures gracefully?
Scenario: You need to design a system that processes millions of images per day. How would you architect it?
Scenario: You need to design a recommendation system. How would you approach it?
Scenario: You need to design a system that handles time-series data. What would you consider?
Scenario: You need to design a system for handling financial transactions. What are the key requirements?
Scenario: You need to design a system that handles geolocation data. How would you approach it?
Scenario: You need to design a system for handling video streaming. What are the key components?
Scenario: You need to design a system that handles real-time analytics. How would you architect it?
Scenario: You need to design a system for handling user sessions across multiple servers. How would you do it?
How would you set up automation using serverless services?
What is AWS CDK (Cloud Development Kit) and how does it differ from CloudFormation?
How would you plan for future scalability while controlling costs?