QA Interview Hub · Knowledge base · Quizzes · Українська
All topics
System Design interview questions
37 questions on System Design, from the basics to the hard ones. Answers and explanations are in the quiz and the knowledge base.
By level: Junior QA interview questions · Middle QA interview questions · Senior QA interview questions
How to answer a System Design interview
- The interviewer gives the task "design a test framework". Where is it best for the candidate to start? Junior
- The interviewer says: "There are no numbers, decide yourself". What is best to do? Middle
- Which block ends an answer following the scheme "requirements, layers, solution, trade-offs, ...", to show how, after launch, you will know the solution actually worked? Middle
- Which phrase best shows senior-level thinking in a payments task? Senior
Take the quiz for this chapter · Read the explanation in the knowledge base
Test framework architecture
- Why move locators and page actions into a Page Object? Junior
- Before an e2e transfer test you need a verified user with a balance. What is the best way to prepare one? Middle
- 2000 e2e tests of 20 seconds each must finish in 15 minutes (about 3 minutes of which is overhead). How many parallel slots are needed at minimum? Middle
- The team suggests solving a slow e2e suite by buying 10 more CI machines. What will a Senior QA suggest considering first? Senior
- Five product teams write tests. How do you organise the shared framework code? Senior
Take the quiz for this chapter · Read the explanation in the knowledge base
Test data and environments
- Why shouldn't a test be built on data created by another test? Junior
- Transfer tests on 64 workers sometimes see an unexpected balance. They all use the account test_user_1. Which solution is the most correct? Middle
- In Playwright, creating an account takes 5 seconds. How do you isolate parallel tests from each other and not pay those 5 seconds in every test? Middle
- The provider's payment sandbox is unstable and can't reproduce timeouts. Which strategy is best? Senior
Take the quiz for this chapter · Read the explanation in the knowledge base
CI/CD, parallelization and sharding
- What does the
--shard=2/4 flag do in Playwright? Junior - A Playwright suite is split into 8 shards, but one shard takes 14 minutes while the others take 5-6. One file has 200 tests. What is most likely to help? Middle
- What is a quality gate in CI/CD? Junior
- After increasing shards from 8 to 16 the run time didn't change, and there are more timeouts. What is most likely? Senior
Take the quiz for this chapter · Read the explanation in the knowledge base
Stability and flaky tests
- Which test is called flaky? Junior
- A test checks the balance text right after a transfer and sometimes fails. What should you fix first? Middle
- A debit test fails about 1 time in 10 and passes on retry. What is the right reaction? Senior
- What must a test that is moved to quarantine have? Middle
- Why is an automatic step-level retry dangerous for POST /transfers? Senior
Take the quiz for this chapter · Read the explanation in the knowledge base
Reporting, metrics, observability
- The average pipeline time is 10 minutes, but developers complain about slowness. Which metric is worth looking at? Middle
- Why should a test pass its own correlation id in API requests? Middle
- Which metric most honestly shows the effectiveness of a test system for the business? Senior
Take the quiz for this chapter · Read the explanation in the knowledge base
Backend basics: LB, cache, DB, queues
- What is the main job of a load balancer? Junior
- A user created a transfer, but the history page doesn't show it for another 1-2 seconds. The history is read from a replica. What is this? Middle
- A queue gives an at-least-once guarantee. What does that mean for a consumer that credits money? Middle
- After introducing a cache, a user sometimes sees another user's balance. What is the most likely cause? Middle
- What is a DLQ (dead letter queue) for? Junior
Take the quiz for this chapter · Read the explanation in the knowledge base
Microservices and test strategy
- What does a contract test between two services verify? Junior
- What is a component test for a microservice? Middle
- A transfer is asynchronous: the status is first
PENDING, then COMPLETED. How should an e2e test check the result? Middle - In an order saga "reserve, pay, deliver" creating the delivery failed for good: the retries are exhausted. What should the test check? Senior
Take the quiz for this chapter · Read the explanation in the knowledge base
Scaling and reliability
- What response does an API usually return when a client exceeds the rate limit? Junior
- A client repeated a payment POST with the same idempotency key and the same body. What is the expected behaviour? Middle
- Which type of load test looks for memory and connection leaks? Junior
Take the quiz for this chapter · Read the explanation in the knowledge base