PracHub
QuestionsPremiumLearningGuidesInterview PrepNEWCoaches
|Home/ML System Design/Microsoft

Design a RAG system with agentic tools

Last updated: Mar 29, 2026

Quick Overview

This question evaluates a candidate's ability to design a Retrieval-Augmented Generation (RAG) system with agentic tool-calling for enterprise knowledge bases, testing competencies in scalable ML system architecture, data ingestion and indexing, retrieval and reranking, prompting, tool integration, evaluation, monitoring, and safety (ML System Design domain). It is commonly asked to assess architectural reasoning, trade-off analysis, and handling of evolving document stores for grounded QA, combining practical application (system design and operational considerations) with conceptual understanding of retrieval, generation, and guardrails.

  • medium
  • Microsoft
  • ML System Design
  • Machine Learning Engineer

Design a RAG system with agentic tools

Company: Microsoft

Role: Machine Learning Engineer

Category: ML System Design

Difficulty: medium

Interview Round: Technical Screen

Design a Retrieval-Augmented Generation (RAG) question-answering system for an enterprise knowledge base. Requirements: - Users ask natural-language questions; the system answers with grounded responses and citations. - The knowledge base includes documents that change over time (updates, deletions). - The system should handle multi-step questions, and may use agentic tool-calling (e.g., search, calculator, database lookup). - Discuss architecture, data ingestion/indexing, retrieval and reranking, prompting, tool use, evaluation, monitoring, and safety/guardrails.

Quick Answer: This question evaluates a candidate's ability to design a Retrieval-Augmented Generation (RAG) system with agentic tool-calling for enterprise knowledge bases, testing competencies in scalable ML system architecture, data ingestion and indexing, retrieval and reranking, prompting, tool integration, evaluation, monitoring, and safety (ML System Design domain). It is commonly asked to assess architectural reasoning, trade-off analysis, and handling of evolving document stores for grounded QA, combining practical application (system design and operational considerations) with conceptual understanding of retrieval, generation, and guardrails.

Related Interview Questions

  • Design Chatbot Personalization Memory - Microsoft (medium)
  • Design a Product Search System - Microsoft (medium)
  • Design a RAG Ranking Pipeline - Microsoft (medium)
  • Design quality checks for spreadsheet LLM data - Microsoft (medium)
  • Design a video VLM end-to-end - Microsoft (medium)
Microsoft logo
Microsoft
Feb 9, 2026, 12:00 AM
Machine Learning Engineer
Technical Screen
ML System Design
6
0

Design a Retrieval-Augmented Generation (RAG) question-answering system for an enterprise knowledge base.

Requirements:

  • Users ask natural-language questions; the system answers with grounded responses and citations.
  • The knowledge base includes documents that change over time (updates, deletions).
  • The system should handle multi-step questions, and may use agentic tool-calling (e.g., search, calculator, database lookup).
  • Discuss architecture, data ingestion/indexing, retrieval and reranking, prompting, tool use, evaluation, monitoring, and safety/guardrails.

Solution

Show

Comments (0)

Sign in to leave a comment

Loading comments...

Browse More Questions

More ML System Design•More Microsoft•More Machine Learning Engineer•Microsoft Machine Learning Engineer•Microsoft ML System Design•Machine Learning Engineer ML System Design
PracHub

Master your tech interviews with 7,500+ real questions from top companies.

Product

  • Questions
  • Learning Tracks
  • Interview Guides
  • Resources
  • Premium
  • For Universities
  • Student Access

Browse

  • By Company
  • By Role
  • By Category
  • Topic Hubs
  • SQL Questions
  • Compare Platforms
  • Discord Community

Support

  • support@prachub.com
  • (916) 541-4762

Legal

  • Privacy Policy
  • Terms of Service
  • About Us

© 2026 PracHub. All rights reserved.