MyInternships.in
16 QUESTIONS · JUNIOR TO SENIOR · WITH ANSWERS

System Design and Low-Level Design for Interns Interview Questions and Answers

What system design actually looks like at internship level — load balancers, caching, database sharding, object-oriented and low-level design rounds, plus ML system design — scoped to what an intern is genuinely expected to know.

1 junior11 mid-level4 senior

How to use this set

Every question below is written the way an interviewer actually phrases it, followed by a model answer you could say out loud in 30–60 seconds, and — where it helps — the reason the question is asked and the trap most candidates fall into. Questions are tagged Junior, Mid or Senior so you can skip to your level.

This is one of 9 topic sets in the complete Internship Prep interview questions guide. Work through the fundamentals first, then the services your target role actually uses.

1
Junior level

Do internship interviews actually include system design?

Answer: Full distributed-system design rounds are uncommon for interns. What is common is a scoped design discussion — "how would you build a URL shortener" or "design the classes for a parking lot" — testing structured thinking rather than production architecture experience.

Why interviewers ask this: Treat it as a conversation about trade-offs. Nobody expects an intern to size a Kafka cluster; they expect you to ask what the requirements are, propose something reasonable, and know why you chose it.

2
Mid level

How do I structure a system design answer in 30 minutes?

Answer: Spend five minutes on requirements and scale, five on the API and data model, ten on the high-level design, five on one deep dive the interviewer picks, and five on bottlenecks and trade-offs. Write the requirements down and confirm them before designing.

Why interviewers ask this: The most common failure is drawing boxes before agreeing what the system must do. Asking "read-heavy or write-heavy?" and "how many users?" changes the entire design and shows the interviewer you know that.

3
Mid level

What does a load balancer do, and what are the trade-offs?

Answer: It distributes incoming requests across multiple servers so no single one is saturated, and removes failed servers from rotation. The main choices are the algorithm (round-robin, least-connections, hashing) and whether sessions are sticky.

Why interviewers ask this: Sticky sessions are the trap: they make scaling and failover worse because a server's loss takes its sessions with it. The better answer is to keep servers stateless and put session state in a shared store like Redis.

4
Mid level

When and where should I add a cache?

Answer: Add a cache when reads greatly outnumber writes and the same data is requested repeatedly. Common layers are the browser, a CDN for static assets, an application cache such as Redis, and the database's own buffer pool.

Why interviewers ask this: Always state the invalidation strategy — TTL, write-through, or explicit invalidation on write — because stale data is the cost you are trading for speed. Saying "I would add Redis" without saying how entries expire is an incomplete answer.

5
Senior level

What is database sharding and when is it justified?

Answer: Sharding splits one logical database across multiple machines by a shard key, so each holds a subset of rows. It is justified when a single primary can no longer hold the data or serve the write volume — not before.

Why interviewers ask this: The shard key is the whole decision. A poor key creates hot shards; a key that does not match your query pattern forces scatter-gather queries across every shard. Also note what you lose: cross-shard joins and transactions become hard or impossible. Try read replicas, caching and vertical scaling first.

6
Mid level

What is the difference between SQL and NoSQL for an interview answer?

Answer: Relational databases give you a fixed schema, joins and strong transactional guarantees, and are the right default. NoSQL stores trade joins and sometimes consistency for horizontal scale and flexible documents.

Why interviewers ask this: The credible answer names a reason, not a preference: "relational, because the data is highly interconnected and I need transactional integrity on payments" or "document store, because each record is self-contained and the schema varies by tenant". Saying "NoSQL because it scales" invites a follow-up you will not enjoy.

7
Mid level

How would I design a URL shortener?

Answer: Requirements: create a short code for a long URL and redirect on lookup, read-heavy. Generate a unique ID and base62-encode it, store the mapping, cache hot codes, and serve redirects with a 301 or 302. Discuss collision handling and custom aliases.

Why interviewers ask this: The nuance worth raising is 301 versus 302: a permanent redirect is cached by browsers, which cuts load but destroys your click analytics. Choosing 302 deliberately and saying why is exactly the trade-off reasoning being tested.

8
Mid level

What is a low-level design (LLD) round and how is it graded?

Answer: You design the classes, interfaces and relationships for a bounded system — a parking lot, an elevator, a splitwise-style expense app — and often write the core classes. It grades object modelling, separation of concerns and use of design patterns.

Why interviewers ask this: Start from the nouns for classes and verbs for methods, then ask what is likely to change and put an interface there. Naming a pattern is only worth marks if you can justify it: "Strategy for pricing, because the fee rule differs per vehicle type and I want to add types without editing existing code".

9
Mid level

What are the SOLID principles, briefly?

Answer: Single responsibility: one reason to change per class. Open/closed: extend without modifying. Liskov substitution: a subtype must be usable wherever its base type is. Interface segregation: many small interfaces beat one large one. Dependency inversion: depend on abstractions, not concretions.

Why interviewers ask this: Interviewers want an example, not a definition. The strongest is Liskov via the square-rectangle problem, or dependency inversion via injecting a payment gateway interface so tests can substitute a fake.

10
Mid level

How do I design a good REST API in an interview?

Answer: Use nouns for resources and HTTP verbs for actions, return correct status codes, make GET/PUT/DELETE idempotent, paginate collections, version the API, and never put actions in the path like /createUser.

Why interviewers ask this: Two follow-ups are near-guaranteed: which methods are idempotent (GET, PUT, DELETE — POST is not) and how you would handle a client retrying a payment (an idempotency key). Have both ready.

HTTP
GET    /api/v1/users?limit=20&cursor=abc   200
POST   /api/v1/users                       201 + Location
GET    /api/v1/users/42                    200 / 404
PUT    /api/v1/users/42                    200  (idempotent)
DELETE /api/v1/users/42                    204
11
Mid level

What database normalisation do I need to explain?

Answer: First normal form: atomic values, no repeating groups. Second: no partial dependency on part of a composite key. Third: no transitive dependency between non-key columns. Denormalise deliberately afterwards for read performance.

Why interviewers ask this: The mature answer acknowledges both directions: normalise to prevent update anomalies, then denormalise specific read paths when measurement shows the joins hurt. Reciting the forms without that trade-off reads as textbook recall.

12
Mid level

What does a database index actually do, and what does it cost?

Answer: An index is a sorted structure, usually a B-tree, that lets the database find rows without scanning the table, turning a linear scan into a logarithmic lookup. It costs disk space and slows every insert, update and delete, since the index must be maintained.

Why interviewers ask this: Know that a composite index on (a, b) helps queries filtering on a, or a and b, but not b alone — the leftmost-prefix rule. That single detail separates candidates who have tuned a query from those who have read about indexes.

Preparing for a Internship Prep role?

Browse live Internship Prep cloud internships and fresher jobs hiring across India right now.

Browse Internships
13
Senior level

What is the CAP theorem, in plain terms?

Answer: When a network partition occurs, a distributed system must choose between remaining consistent (rejecting requests it cannot confirm) and remaining available (answering with possibly stale data). You cannot have both during a partition.

Why interviewers ask this: The common misstatement is "pick two of three". Partition tolerance is not optional in a real network, so the actual choice is C or A during a partition. Ground it: a bank balance chooses consistency, a social feed chooses availability.

14
Senior level

What is machine learning system design and what gets asked?

Answer: You design an end-to-end ML product — a recommendation feed, fraud detection, search ranking. Cover framing the problem, data and labels, features, model choice, offline and online evaluation, serving latency, and monitoring for drift.

Why interviewers ask this: The step candidates skip is labels: where does ground truth come from, and how delayed is it? For fraud, labels arrive weeks later via chargebacks, which changes both training and evaluation. Raising that shows real understanding.

15
Mid level

What is the difference between concurrency and parallelism?

Answer: Concurrency is structuring a program so multiple tasks are in progress in overlapping time periods; parallelism is actually executing them simultaneously on multiple cores. Concurrency is about dealing with many things at once, parallelism about doing many things at once.

Why interviewers ask this: Follow-ups usually cover race conditions, mutexes and deadlock's four conditions. In Python, expect the GIL question: threads help with I/O-bound work, multiprocessing is needed for CPU-bound work.

16
Senior level

How do I answer "how would you scale this from 1,000 to 1 million users"?

Answer: In order: measure to find the actual bottleneck, add caching, add read replicas, move static assets to a CDN, scale the application tier horizontally behind a load balancer, make services stateless, then introduce queues for asynchronous work — and only then consider sharding.

Why interviewers ask this: Leading with "I would measure first" is the answer senior engineers give and interns rarely do. Jumping straight to microservices and Kafka is the classic over-engineering signal.

Continue your Internship Prep interview prep

See all 9 Internship Prep topics →

Ready to apply for Internship Prep roles?

Cloud internships and fresher jobs across India — filtered to roles that actually name Internship Prep in the requirements.

Browse Internships

Canonical: https://myinternships.in/tech-internship-prep/system-design-for-interns