QA Interview Hub · Knowledge base · Quizzes · Українська

System Design › How to answer a System Design interview

What exactly is assessed in QA System Design

QA System Design assesses not a tool name but the path from a vague brief to a solution that can be defended. The interviewer collects four signals: questions before drawing, scale in numbers, trade-offs and a measurable result. The round covers designing a test system and understanding the backend, and for a payments product business risks such as a double debit become requirements for the test system.

System design · How to answer

You are asked to design a test framework. Start with a tool or with questions?

The interviewer says: «Design a test framework for a payments product». Within a minute the candidate is naming Playwright, Allure and Docker. The interviewer nods and asks: «For how many teams? And in what time should a run finish?». There is no answer, because the candidate had libraries in mind, not the task. This lesson covers what the round actually assesses and why a tool name is not an answer.

What is really checked. System Design for a Senior QA Automation role has two parts. The first is designing a test system (a framework, a CI pipeline, a data strategy, a testing strategy for microservices). The second is understanding the backend: on a diagram «client, load balancer, services, cache, DB, queue» you must say what can break there and how to check it. Some companies ask only one of the parts, or mix them in one conversation.

Two parts of one round

Part 1

Designing a test system

A framework, a CI pipeline, data, a strategy for microservices. The question: «what will you build and why this way».

Part 2

Understanding the backend

A diagram «client, load balancer, services, cache, DB, queue». The question: «what breaks here and how would you test it».

Figure 1. Both parts are judged the same way: requirements, trade-offs and a way to measure the result.

Why the task is vague on purpose. There is no reference diagram to compare the answer with. The ambiguity is the test: at work a Senior gets the same kind of task («tests are slow», «a new team needs a framework») and builds the wrong thing if nothing is clarified. So the interviewer watches not the final diagram but how the candidate moves from a blurry condition to a decision that can be defended. That explains the four signals collected:

  • Questions before drawing. Who uses the framework, how many tests, what the target is. Without this any decision is random.
  • Scale in numbers. Tests, teams, environments, run time. Numbers turn «fast» into a checkable requirement and let you calculate whether the solution works at all.
  • Trade-offs. Every choice costs something: speed against isolation, infrastructure cost against feedback time. A candidate who sees no price usually has not seen the consequences.
  • A measurable result. Pipeline time, the share of unstable tests, time to feedback on a PR. Without a metric «it got better» can be neither proved nor disproved.

Example: a weak answer and a structured one.

The first minute of an answer

Typical

Starting with tools

«I will take Playwright, Allure, Docker, GitHub Actions». Not known for whom, how many tests or in what time. What and why is not said.

Better

Starting with the problem

«First I clarify: how many tests, the time target, how many teams, which environments. Then I split into layers and name what I pay for each decision».

Figure 2. The same candidate, the same task: the only difference is the order.

Why the left variant is weak rather than merely «less polished»: Playwright or Cypress, Allure or ReportPortal can be swapped without changing the essence of the task. The essence is how many tests must pass in what time, how they avoid interfering on shared data, and who will maintain the code. A tool is chosen after the answers and with an explanation of what it solves. The right variant has not decided anything yet, but it has already shown what the decision will follow.

Fintech as input. For a payments product the business risks become requirements for the test system, not decoration of the answer. Money must not be debited twice, so tests of repeated requests and idempotency belong in the strategy. A balance must not go negative without permission, so data with known starting balances is needed. Every operation is traceable, so the test report must keep operation identifiers. If these links are named naturally, it is a strong signal; if the word «idempotency» is just tacked on at the end, it is noticed.

Limits and alternatives. The format varies: a whiteboard, a conversation, a take-home task with a discussion. A Middle is expected to show less scale and fewer trade-offs; a Senior is also asked about people and maintenance (who owns the core, how new teams are onboarded). The whole conversation need not have one structure: if the interviewer stops and asks to go deep into one layer, a rigid scheme only gets in the way. And if a company has no separate round, the same signals are sought in the question «how would you build automation from scratch».

Common mistakes.

  • Starting with tools: it is a library choice without a problem, and the interviewer does not see your thinking.
  • Not clarifying numbers and not fixing assumptions: every later calculation hangs in the air.
  • Naming a solution without its price: «parallelise everything», although it needs isolated data and costlier infrastructure.
  • Ending with a diagram and no metrics: it is unclear how to learn that the solution works.
  • Drawing in silence for several minutes: the interviewer does not hear the logic and has nowhere to steer from.

Check yourself

A candidate immediately proposes «Playwright + Allure + sharding on GitHub Actions». Which two things are missing to make it a design?

Answer

Requirements and prices. It is not known how many tests, teams and environments there are or what the time target is, so it is unclear whether sharding is needed at all. And no trade-offs are named: what parallelisation costs (data isolation, runner cost) and how success is measured. Without them the tools are just a list.

Why does a System Design interview deliberately give a vague condition, and is there a «correct» diagram?

Answer

Vagueness models real work: a Senior must turn a request into requirements. There is no reference diagram; the process is assessed: clarification, numbers, trade-offs, metrics. Two different architectures can be equally good if each is justified by what follows from the requirements.

In an interview. Junior: I understand System Design for QA as two things: how to build a test system and how to test a distributed system knowing its architecture. I start not with tools but with questions about requirements. Middle/Senior: The task is deliberately vague, so I first fix the scale in numbers (tests, teams, environments, the time target), then split it into layers and name a solution with its price for each: speed against isolation, runner cost against feedback time. I finish with metrics that show the solution works: time to feedback on a PR, the share of unstable tests. For a payments product I add the risks of double debit and audit as requirements for data and reporting.

More articles in this chapter