PracHub
QuestionsPremiumLearningGuidesCheatsheetNEWCoaches
|Home/System Design/Microsoft

Design REST APIs for JSON file storage

Last updated: Mar 29, 2026

Quick Overview

This question evaluates system design and RESTful API skills for building JSON document storage, covering metadata modeling, concurrency control, authentication/authorization, scalability, and operational features such as versioning and large-file handling.

  • medium
  • Microsoft
  • System Design
  • Software Engineer

Design REST APIs for JSON file storage

Company: Microsoft

Role: Software Engineer

Category: System Design

Difficulty: medium

Interview Round: Onsite

## Scenario Design a service that stores **JSON files/documents** and exposes a **RESTful API** for clients. ## Requirements - Clients can **upload**, **download**, **list**, and **delete** JSON files. - Each file has metadata: `owner/tenant`, `fileId`, `createdAt`, `updatedAt`, `size`, and optional tags. - Handle concurrency (simultaneous updates) and provide a way to avoid lost updates. - Include authentication/authorization. - Scale to many files and large aggregate storage. ## Nice-to-haves (state your assumptions) - Versioning (keep old versions) - Partial updates (PATCH) - Search by metadata/tags - Rate limiting and quotas - Large file handling (multipart upload)

Quick Answer: This question evaluates system design and RESTful API skills for building JSON document storage, covering metadata modeling, concurrency control, authentication/authorization, scalability, and operational features such as versioning and large-file handling.

Related Interview Questions

  • Design A Scalable Web Crawler - Microsoft (medium)
  • Design User Re-engagement Notifications - Microsoft (medium)
  • Design a typeahead search service - Microsoft (hard)
  • Design a Secure Copilot API - Microsoft
  • Design a URL Shortener - Microsoft (hard)
Microsoft logo
Microsoft
Jan 22, 2026, 12:00 AM
Software Engineer
Onsite
System Design
4
0
Loading...

Scenario

Design a service that stores JSON files/documents and exposes a RESTful API for clients.

Requirements

  • Clients can upload , download , list , and delete JSON files.
  • Each file has metadata: owner/tenant , fileId , createdAt , updatedAt , size , and optional tags.
  • Handle concurrency (simultaneous updates) and provide a way to avoid lost updates.
  • Include authentication/authorization.
  • Scale to many files and large aggregate storage.

Nice-to-haves (state your assumptions)

  • Versioning (keep old versions)
  • Partial updates (PATCH)
  • Search by metadata/tags
  • Rate limiting and quotas
  • Large file handling (multipart upload)

Solution

Show

Comments (0)

Sign in to leave a comment

Loading comments...

Browse More Questions

More System Design•More Microsoft•More Software Engineer•Microsoft Software Engineer•Microsoft System Design•Software Engineer 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.