Aiven interview question

How would solve Use Case(s) ?