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

All topics

ISTQB CTFL 4.0 interview questions

145 questions on ISTQB CTFL 4.0, 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

Fundamentals of Testing

  1. Which of these is a typical objective of testing? Junior
  2. Which check does the term “validation” describe, as opposed to “verification”? Junior
  3. A test triggered a failure. Which sequence of actions is debugging? Junior
  4. A review found a contradiction between two items of a specification. What is true about debugging this defect? Junior
  5. Before every release the team reports open defects and the risk level to a manager, who decides whether to postpone the release. Which contribution of testing does this illustrate? Junior
  6. A project cannot keep a representative group of users involved: it is costly and suitable people are scarce. Which contribution of testing makes up for this? Junior
  7. Which statement about the relation between testing and quality assurance (QA) is correct? Junior
  8. Who on a project is responsible for quality assurance (QA) as a process approach? Junior
  9. Requirement: the discount applies from a total of 100 inclusive. In a hurry, a developer wrote the condition below, and an order of exactly 100 gets no discount. What is the defect here? Junior
    if (total > 100) {
      discount = 10;
    }
  10. The specification asks for a password of at least 6 characters, though the security policy requires 8. The implementation follows the specification, so weak passwords are accepted. Analysis showed that the analyst had no access to the policy. What is the root cause here? Junior
  11. Does every defect that exists in a product necessarily lead to a failure? Junior
  12. All 500 automated tests passed, and a manager declared that the product has no defects. Which testing principle does this conclusion contradict? Junior
  13. A team has been running an unchanged set of tests for months. Fewer and fewer defects are found, yet users report problems in scenarios the set does not touch. Which principle does this illustrate? Junior
  14. A team tested every requirement and fixed every defect found, yet users do not use the product: it does not solve their problem. Which principle does this illustrate? Junior
  15. Which task belongs to test design? Junior
  16. An iteration has ended. The team archives useful testware, collects lessons learned and prepares a report for stakeholders. Which activity is this? Junior
  17. A test lead gathered daily execution metrics, compared progress with the plan, spotted a delay and reassigned people between tasks. Which of these is test control? Junior
  18. One team tests software for medical infusion pumps with regulatory requirements, another tests an internal demo prototype. How will context affect their test processes? Junior
  19. A project moves from releases twice a year to daily releases with CI/CD. What in the test process will change first because of this contextual factor? Junior
  20. Which is a work product of test analysis? Junior
  21. Which belongs to the results of test implementation? Junior
  22. Requirement REQ-12 has changed. The team has links between requirements, test cases and results. What benefit does this give? Junior
  23. A manager asks whether all requirements are covered by tests and what residual risk remains in the product. What does traceability offer here? Junior
  24. Which list of activities matches the test management role? Junior
  25. An Agile team has no separate test manager: a tester and the team lead plan testing and track progress together. What does this mean? Junior
  26. A tester found a defect and must report it to the developer without causing offence. Which skills matter most here, and why? Junior
  27. A tester on an insurance project does not understand the analysts’ terms and cannot discuss the expected behaviour with them. Which skill does the tester lack most? Junior
  28. What is the whole team approach? Junior
  29. What is an advantage of the whole team approach? Junior
  30. What is the main benefit of independent testing? Junior
  31. Which drawback can independent testing have? Junior

Take the quiz for this chapter

Testing Throughout the Software Development Lifecycle

  1. A project follows a sequential model (V-model). The requirements are still being written and agreed, and there is no code yet. What can testers usefully do right now? Junior
  2. An agile team works in two-week iterations and each one delivers a working product increment. Requirements change often. Which approach to testing fits best here? Junior
  3. Which testing practice counts as good regardless of the chosen lifecycle model? Junior
  4. According to good testing practices, when should testers get involved in reviewing a work product such as a specification? Junior
  5. A team describes a feature’s behavior as Given/When/Then scenarios, and the scenario steps are automatically bound to code and run as tests. Which approach is this? Junior
  6. Which sequence of steps is characteristic of test-driven development (TDD)? Junior
  7. A team moved to a DevOps pipeline where automated regression tests run after every commit. Which benefit for testing does this give? Junior
  8. A manager proposes adopting DevOps and asks what extra work and difficulties to expect for testing. What is the right answer? Junior
  9. What does “shift left” mean in testing? Junior
  10. Which of these practices is an example of shift left? Junior
  11. At the end of an iteration the team (testers, developers, product owner) discusses what was successful, what was not and how to improve. What is true about such a meeting? Junior
  12. A team holds retrospectives regularly and collects suggestions about testing, yet test effectiveness does not improve. It turns out that no suggestion was ever implemented. Which requirement for retrospectives was broken? Junior
  13. An online shop checks the interface between its own system and an external payment service in an environment similar to production. Which test level is this? Junior
  14. In their own environment a developer checks a single class in isolation from the rest of the system using a unit test framework. Which level is this and why? Junior
  15. Which statement about acceptance testing is correct? Junior
  16. A test runs a catalog search and checks that the result is returned within two seconds. Which test type does it belong to, judging by its objective? Junior
  17. A tester derives tests from the code structure and data flows, aiming to cover that structure with tests to an acceptable level. Which test type is this? Junior
  18. Which statement about the relation between test types and test levels is correct? Junior
  19. A defect in the discount calculation was fixed. The tester repeats the test that failed because of it, and then runs a set of previously passing tests for checkout and invoicing. What are these two actions called, in order? Junior
  20. Which statement about regression testing and confirmation testing is correct? Junior
  21. A running application with no functional changes is moved to another platform, and data is migrated from an old store. What does maintenance testing cover in this case? Junior
  22. A defect in a large production system is fixed with a change of a few lines. What does the scope of the maintenance testing mainly depend on? Junior

Take the quiz for this chapter

Static Testing

  1. Which work product is NOT suitable for static testing? Junior
  2. What is required before a tool-based static analysis can be applied to a work product? Junior
  3. A team reviews requirements at the start of a project even though it takes time. Which argument explains the benefit best? Junior
  4. Besides finding defects, what further benefit comes from involving varied stakeholders in a requirements review? Junior
  5. What is the difference in how static and dynamic testing lead to a defect? Junior
  6. Which quality characteristic is better measured by dynamic rather than static testing? Junior
  7. A module has a branch that runs only on a rare failure of a third-party service. No test managed to trigger it. What is true here? Junior
  8. What is a benefit of early and frequent stakeholder feedback throughout the lifecycle? Junior
  9. What can happen if stakeholders are barely involved during the development lifecycle? Junior
  10. In what order do the activities of the review process come? Junior
  11. After individual review the reviewers logged ten anomalies. What happens next, in the communication and analysis activity? Junior
  12. Which review role is described by “runs the review meeting: keeps time, settles disputes and makes sure every participant can speak up without fear”? Junior
  13. Which role chooses the object of a review and supplies the people and time for it? Junior
  14. Which review type follows no defined process, needs no formally documented output, and has detecting anomalies as its main objective? Junior
  15. What distinguishes an inspection from the other review types? Junior
  16. An author runs a meeting for the team to explain a new design document, to educate colleagues and gather ideas. Individual preparation by reviewers is not required. Which review type is this? Junior
  17. Which of these factors contributes to the success of reviews? Junior
  18. Why is it recommended to review the work product in small chunks? Junior

Take the quiz for this chapter

Test Analysis and Design

  1. A tester builds tests from the control flow graph of a function a developer has just written. Which group does this technique belong to? Junior
  2. A team decided to write tests before the module is implemented, from the specification alone. Which statement about such tests is correct? Junior
  3. Why are experience-based techniques seen as a complement to black-box and white-box techniques rather than a replacement? Junior
  4. The “age” field allows only whole numbers to be entered and accepts values from 0 to 120. Age 0–17 gives the child tariff, 18–64 the adult one, 65–120 the senior one; any other whole number is rejected. What is the minimum number of tests for 100% equivalence partition coverage, invalid partitions included? Middle
  5. The “age” field accepts integers from 0 to 120, with partitions “below 0”, 0–17, 18–64, 65–120 and “above 120”. Tests with the values 10, 30, 40 and 200 were executed. What equivalence partition coverage was reached? Middle
  6. An order form has two independent fields: payment method (card, PayPal, transfer) and delivery (courier, pickup). Only valid partitions are considered. What is the minimum number of tests for 100% Each Choice coverage? Middle
  7. The “quantity” field accepts integers from 1 to 50 and rejects everything else. Which set of values gives 100% coverage with 2-value boundary value analysis? Middle
  8. A thermostat accepts integer temperatures from 16 to 30 and rejects the rest. Treat only the lowest and the highest valid value as boundaries. How many distinct values are needed for 100% coverage with 3-value boundary value analysis? Middle
  9. Requirement: “a password must have at least 8 characters”. It was wrongly implemented as “the password is accepted only if its length is exactly 8”. Which length, derived from boundary value analysis, exposes the defect with the 3-value method but not with the 2-value method? Middle
  10. A delivery decision depends on three Boolean conditions: pay by card, pay on delivery, order above 500. Choosing both payment methods at once is impossible, all other combinations are possible. How many tests are needed for 100% column coverage of this limited-entry decision table? Middle
  11. A minimized decision table (T = condition met, F = not met, “-” = irrelevant) describes whether a purchase is allowed. Tests are given as triples of values (A, B, C). Which set of tests gives 100% column coverage? Middle
    Rule                 R1  R2  R3  R4
    A: age >= 18         T   T   T   F
    B: ID verified       T   T   F   -
    C: balance enough    T   F   -   -
    Purchase allowed     X
  12. An insurance premium is described by a decision table. A tester checks a customer who had an accident last year, is 22 years old and completed the safe-driving course. What is the expected result? Middle
    Rule                  R1  R2  R3  R4  R5
    Accident last year    T   F   F   F   F
    Driver under 25       -   T   T   F   F
    Safe-driving course   -   F   T   F   T
    Surcharge             X   X
    Discount                              X
  13. A document model is given as a state diagram. A test case is a sequence of events starting in the Draft state. What is the minimum number of test cases for 100% all states coverage? Middle
    Draft     --submit-->  InReview
    InReview  --approve--> Published
    InReview  --reject-->  Rejected
    Published --archive--> Archived
    (start: Draft; Rejected and Archived are final states)
  14. For the same diagram 100% valid transitions coverage is required. Which set of test cases, given as event sequences from the Draft state, achieves it? Middle
    Draft     --submit-->  InReview
    InReview  --approve--> Published
    InReview  --reject-->  Rejected
    Published --archive--> Archived
    (start: Draft; Rejected and Archived are final states)
  15. The state table of the model in the diagram below has 5 states and 4 events, i.e. 20 cells; there are 4 valid transitions. The team exercised all 4 valid transitions and attempted 6 different invalid ones. What all transitions coverage was reached? Middle
    Draft     --submit-->  InReview
    InReview  --approve--> Published
    InReview  --reject-->  Rejected
    Published --archive--> Archived
    (start: Draft; Rejected and Archived are final states)
  16. Lines 4 and 7 contain only a closing brace, every other line is one executable statement. One test was run: qty = 20, isMember = false. What statement coverage was reached? Junior
    1  total = qty * price
    2  if (qty > 10) {
    3      total = total * 0.9
    4  }
    5  if (isMember) {
    6      total = total - 5
    7  }
    8  return total
  17. A test suite reached 100% statement coverage and a manager claims the code is “fully tested”. Which statement is justified? Junior
  18. One test with isMember = true gives 100% statement coverage of the code below. What is the smallest total number of tests needed for 100% branch coverage? Junior
    1  discount = 0
    2  if (isMember) {
    3      discount = 10
    4  }
    5  return price - discount
  19. A report says a test suite reached 100% branch coverage. What follows from this for certain? Junior
  20. The requirement “send an email after an order is cancelled” was forgotten, and the code has no such logic. Why might white-box testing fail to reveal this? Junior
  21. A team runs only black-box tests. Which argument best justifies adding code coverage measurement? Junior
  22. What does error guessing describe? Junior
  23. A tester wants to run a fault attack. What does this approach need as its basis? Junior
  24. A new feature with almost no specification must ship tomorrow and time is short. An experienced tester with domain knowledge has joined the team. Which approach fits best? Junior
  25. A tester plans an exploratory session using the session-based approach. What matches this approach? Junior
  26. A team is writing a checklist for testing a registration form. Which item fits best? Junior
  27. A checklist for a payment module has been used for two years. Its field validation items have long found nothing, and high-severity defects in fee calculation were recently found in production. What should be done with the checklist? Junior
  28. A product owner wrote a story on a card. The team discussed how it will be used and recorded the conditions under which the customer will accept it. Which of the “3 C’s” do these conditions correspond to? Junior
  29. A business representative cannot say how to check the finished story. What may this indicate, according to the syllabus? Junior
  30. An acceptance criterion is written as: “Given a cart with a total of 120, when the customer pays by card, then free shipping is applied”. Which format does it belong to? Junior
  31. Which statement about acceptance criteria formats is correct? Junior
  32. A team starts working on a story using ATDD. Which sequence matches this approach? Middle
  33. Story: “As a customer, I want to apply a promo code in the cart so that I pay less”. Criteria: a valid code reduces the total by its percentage; an expired code is rejected with a message; only one code applies per order. Which test case should the team prepare first under ATDD? Middle
  34. Story: “As a customer, I want to apply a promo code in the cart so that I pay less”. Criteria: a valid code reduces the total by its percentage; an expired code is rejected with a message; only one code applies per order. Which draft test case should be removed from the set? Middle

Take the quiz for this chapter

Managing the Test Activities

  1. What does the content of a test plan typically include? Junior
  2. A new manager asks why time should go into a test plan that will change anyway. Which answer describes its purpose? Junior
  3. In which activity does a tester add value during release planning? Junior
  4. Which of the following does a tester do specifically in iteration planning? Junior
  5. Which of these is an entry criterion rather than an exit criterion of system testing? Junior
  6. An Agile team requires a story to have acceptance criteria and a clear test basis before it is taken into development and testing. What is this called, and what is it? Junior
  7. For testing a new module the experts gave three estimates: optimistic 4, most likely 10, pessimistic 28 person-days. What final estimate and error does three-point estimation give with E = (a + 4m + b) / 6 and SD = (b − a) / 6? Middle
  8. The organization’s historical data shows a development-to-test effort ratio of 5:2 on similar projects. On the new project development is estimated at 450 person-days. How many person-days of testing does estimation based on ratios give? Middle
  9. A team estimates the test effort of the next iteration by extrapolation, as the average of the last three iterations: 36, 45 and 63 person-hours. What is the estimate? Middle
  10. The test cases are independent and are ordered by risk. Risk level = likelihood × impact (scales 1–5, see the table). Which execution order matches risk-based prioritization? Middle
    TC    likelihood  impact
    TC1   3           2
    TC2   2           5
    TC3   4           3
    TC4   1           4
  11. The test cases cover code statements (see the code). Which order does additional coverage prioritization give: first the highest coverage, then each time the test case with the largest increase in coverage? Middle
    A: S1 S2 S3 S4 S5 S6
    B: S1 S2 S3 S4 S5
    C: S5 S6 S7 S8
    D: S9 S10 S11
  12. Test case priorities are inherited from requirements set by stakeholders (see the code). There are no other dependencies or resource limits. Which order runs the most important test case as early as possible and then follows priority? Middle
    TC1  priority High    depends on TC3
    TC2  priority Medium  no dependencies
    TC3  priority Low     no dependencies
  13. According to the test pyramid model, which tests are needed in the greatest number for reasonable coverage? Junior
  14. What happens to tests when moving from the bottom layer of the pyramid to the top? Junior
  15. In which quadrant of the testing quadrants model are exploratory testing, usability testing and user acceptance testing placed? Junior
  16. A team plans performance and security testing, largely automated. Where do they sit on the testing quadrants diagram? Junior
  17. Which two factors make up the risk level? Junior
  18. In the quantitative approach risk level = likelihood × impact. Risk X: likelihood 0.3, impact 8; Y: 0.6 and 3; Z: 0.1 and 10 (impact scale 1–10). Which risk has the highest level? Junior
  19. Which of these risk register entries is a product risk? Junior
  20. A register entry reads: “Two experienced testers will be on leave during the release, and the rest of the team lacks performance testing skills”. What kind of risk is it and what does it affect first? Junior
  21. A register has two entries: (1) “Slow response under peak load”, (2) “The vendor of the payment sandbox may go bankrupt”. How should they be classified? Junior
  22. Risk analysis of an online banking release showed that the money transfer module has high likelihood and high impact, while changing the user avatar has low ones. How should the analysis result affect testing? Junior
  23. During risk analysis the team assessed the security risk of the login module as high. Which decision follows from this analysis? Junior
  24. The risk of wrong tax calculation was assessed as high. Which of these risk responses is mitigation? Junior
  25. Each iteration the team checks whether the mitigation actions for the payment feature really reduced its risk, and records new risks that have appeared. What activity is this? Junior
  26. Which metric is a defect metric? Junior
  27. A manager wants to know the current quality of the test object, not the progress of the test team. Which metric is appropriate? Junior
  28. What does a test completion report typically contain that a daily progress report does not? Junior
  29. How does reporting in a stable Scrum team differ from reporting at the end of a test level? Junior
  30. A team is spread over three time zones with almost no shared working hours. How is it appropriate to communicate the test status? Junior
  31. A small self-organizing Agile team sits in one room and has a shared task board and a daily meeting. Which way of communicating test status suits it? Junior
  32. A test failed on Tuesday’s build, but a week later nobody can reproduce it: the scripts and test data have been overwritten. Which configuration management practice would have helped? Junior
  33. An auditor asks which version of the test cases, run on which build, produced a result in an old report. What in configuration management makes this possible? Junior
  34. A tester runs TC-42 on staging, build 2.7.1, Chrome 131: adds an item for 100.00, enters promo code SAVE10 (10 % discount) and presses “Apply”. The expected total is 90.00, the actual is 100.00 with no message; the console shows HTTP 500 from POST /cart/promo. Which content of the defect report is most useful for the developer? Middle
  35. The draft report is shown in the code. Which field is filled in wrongly? Middle
    ID:              BUG-318
    Title:           Discount not applied
    Test object:     shop-web 3.4.0, staging
    Steps:           add item 100.00; apply code SAVE10; open the cart
    Expected result: total 90.00
    Actual result:   total 100.00
    Severity:        Critical, because the sprint demo is on Friday
    Priority:        High
  36. A draft says: “Steps: log in, open Orders, click Export. Expected: a file with the orders. Actual: the file is empty”. The tester noticed that it happens only for an account with over 1200 orders; small accounts export fine. What improves the report most? Middle

Take the quiz for this chapter

Test Tools

  1. A team needs a tool that links requirements, tests and defects and helps manage versions and configuration. Which group does it belong to? Junior
  2. You need to check how a system behaves when 10,000 virtual users work at once. By hand this is impossible. Which group of tools supports it? Junior
  3. Which of these is a risk of test automation? Junior
  4. What is a potential benefit of test automation? Junior

Take the quiz for this chapter