Interview questions
Security, auth & multi-tenancyMediumSDE-2

Your app uses phone number + SMS OTP login. Your SMS bill tripled last month, with lots of OTPs sent to numbers in other countries, and some accounts were brute-forced. How do you redesign the OTP flow?

Asked at
PaytmPhonePeSwiggyZepto

Think first

Answer out loud as you would in the room — clarify, give numbers, name the trade-off — then compare with the model answer.

Saved on this device. Create a free account to keep it on every device.

Practise this with Sam

A real mock interview, out loud, with an honest scorecard. Free to start.

Start free