Pergunta de entrevista da empresa Riyad Bank

System design question based on scanrio.