click below
click below
Normal Size Small Size show me how
Backend Questions
| Question | Answer |
|---|---|
| - What is API versioning? | |
| - What are common API vulnerabilities? | |
| - Difference between PUT vs PATCH | |
| - How do you secure APIs? | |
| - What is rate limiting? | |
| - How do you prevent duplicate requests? | |
| - What is covering index? | |
| - What is N+1 query problem? | |
| - What is isolation level? | |
| - What is schema migration strategy? | |
| - How do you handle schema evolution in distributed systems? | |
| - What is soft delete vs hard delete? | |
| - How do you handle replication lag? | |
| - What happens when cache and DB are inconsistent? | |
| - What is distributed lock? | |
| - What is distributed transaction? | |
| - What is Saga pattern? | |
| - How do you handle partial failure in microservices? | |
| - How do you ensure data consistency across services? | |
| - What is service mesh? | |
| - How do you design for multi-region systems? | |
| - What is fan-out problem? | |
| - What is backpressure? | |
| - How do you handle high traffic spikes? | |
| - How do you design a system for high write throughput? | |
| - How do you handle the hot key problem in Redis? | |
| - How do you handle hot partitions in sharding? | |
| - How do you design pagination at scale? | |
| - What is connection pooling? | |
| - DB is becoming bottleneck, what next? | |
| - Your DB CPU is 100%. What do you do? | |
| - What is blue-green deployment? | |
| - How do you design a system that supports rollback safely? | |
| - What is observability? | |
| - What are latency percentiles (p50, p95, p99)? | |
| - How do you debug a production issue? | |
| - Your system is slow under high load, how do you debug? | |
| - How do you identify a slow API? | |
| - What is circuit breaker? | |
| - Difference between process vs thread vs async (event loop) | |
| - Explain blocking vs non-blocking I/O | |
| - How do you handle race conditions? | |
| - How does garbage collection impact performance? |