Pergunta de entrevista da empresa Microsoft

5. A database call takes 500 ms. How would you optimize it?

Resposta da entrevista

Sigiloso

14 de mar. de 2026

Approach: First identify the bottleneck, then optimize using caching (Redis), indexing queries, reducing unnecessary data fetch, connection pooling, and read replicas for scaling read-heavy workloads.