Design a RAG Ranking Pipeline | Microsoft Interview Question