Explain how you'd debug a slow endpoint (in English)
Pergunta
Scenario: "A production endpoint that used to respond in 100ms now takes 3 seconds. Walk me through how you'd investigate — in English."
Resposta esperada
Narrate a funnel, out loud, in English: start with observability ("First I'd check the dashboards — is it all requests or a subset? When did it start? Does it line up with a deploy or a traffic change?"), then narrow (logs, traces, slow-query logs), form a hypothesis ("most likely a missing index after the table grew, or an N+1 that only shows up at this data size"), and say how you'd confirm it before changing anything (EXPLAIN, a trace, reproducing in staging). The interviewer is grading the ordered reasoning and the English narration, not a lucky guess.
Por que perguntam isso
Mesmo conteúdo do cenário de query lenta, mas o desafio aqui é conduzir a investigação em voz alta em inglês sem perder a ordem. Quem pula direto pra "I'd add an index" perde nos dois idiomas.