ClearCourse interview question

How would you investigate slow API responses?