System Design
Debugging Nightmares
Architecture Patterns
DevOps & SRE
Cloud Engineering
100

What is the primary purpose of a load balancer in a distributed system?

To distribute incoming traffic across multiple servers to improve availability and performance.

100

What’s the first step when debugging a production issue?

Reproduce or observe the issue using logs/metrics.

100

What architecture separates UI, business logic, and data access into three layers?

Three‑tier architecture.

100

What does CI/CD stand for?

Continuous Integration / Continuous Delivery

100

What does “serverless” primarily mean?

The cloud provider manages servers and scaling automatically.

200

Name the database pattern used when different services own their own data stores.

Database‑per‑service pattern.

200

A memory leak in a long‑running service is often caused by what?

Unreleased references preventing garbage collection.

200

What pattern allows behavior to be added to an object dynamically without modifying its code?

Decorator pattern.

200

What metric measures the percentage of time a system is operational?

Uptime (or availability)

200

What cloud storage model stores objects rather than files or blocks?

Object storage.

300

What technique is used to reduce read load by storing frequently accessed data closer to the user?

Caching.

300

What debugging tool allows you to inspect the state of a crashed process post‑mortem?

A core dump.

300

What architecture pattern organizes code around events and reactions to those events?

Event‑driven architecture.

300

What is the term for automatically scaling resources based on demand?

Auto‑scaling

300

What is the term for running containers without managing servers?

Container‑as‑a‑Service (e.g., AWS Fargate).  

400

What is the term for splitting a database by rows, often based on a key like user ID?

Horizontal partitioning (sharding).

400

What type of bug occurs when multiple threads access shared data without proper synchronization?

Race condition.

400

What pattern is used to provide a simplified interface to a complex subsystem?

Facade pattern.

400

What SRE concept defines how much downtime is acceptable over a period?

Error budget.

400

What cloud concept isolates resources within a virtual network?

VPC (Virtual Private Cloud).

500

In a high‑traffic system, what design pattern helps prevent cascading failures by isolating failing components?

Circuit breaker pattern.

500

What technique helps identify performance bottlenecks by sampling CPU usage over time?

Profiling.

500

What architecture pattern uses immutable logs and append‑only storage to maintain system state?

Event sourcing.

500

What deployment strategy gradually shifts traffic from the old version to the new version?

Canary deployment.

500

What distributed system challenge occurs when different nodes have slightly different views of the system state?

Eventual consistency.