Revolut Interview Question

How would you implement indexes for databases?