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
- Which of these is a typical objective of testing? Junior
- Which check does the term “validation” describe, as opposed to “verification”? Junior
- A test triggered a failure. Which sequence of actions is debugging? Junior
- A review found a contradiction between two items of a specification. What is true about debugging this defect? Junior
- 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
- 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
- Which statement about the relation between testing and quality assurance (QA) is correct? Junior
- Who on a project is responsible for quality assurance (QA) as a process approach? Junior
- 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;
}
- 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
- Does every defect that exists in a product necessarily lead to a failure? Junior
- All 500 automated tests passed, and a manager declared that the product has no defects. Which testing principle does this conclusion contradict? Junior
- 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
- 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
- Which task belongs to test design? Junior
- An iteration has ended. The team archives useful testware, collects lessons learned and prepares a report for stakeholders. Which activity is this? Junior
- 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
- 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
- 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
- Which is a work product of test analysis? Junior
- Which belongs to the results of test implementation? Junior
- Requirement REQ-12 has changed. The team has links between requirements, test cases and results. What benefit does this give? Junior
- A manager asks whether all requirements are covered by tests and what residual risk remains in the product. What does traceability offer here? Junior
- Which list of activities matches the test management role? Junior
- 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
- A tester found a defect and must report it to the developer without causing offence. Which skills matter most here, and why? Junior
- 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
- What is the whole team approach? Junior
- What is an advantage of the whole team approach? Junior
- What is the main benefit of independent testing? Junior
- Which drawback can independent testing have? Junior
Take the quiz for this chapter
Testing Throughout the Software Development Lifecycle
- 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
- 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
- Which testing practice counts as good regardless of the chosen lifecycle model? Junior
- According to good testing practices, when should testers get involved in reviewing a work product such as a specification? Junior
- 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
- Which sequence of steps is characteristic of test-driven development (TDD)? Junior
- A team moved to a DevOps pipeline where automated regression tests run after every commit. Which benefit for testing does this give? Junior
- A manager proposes adopting DevOps and asks what extra work and difficulties to expect for testing. What is the right answer? Junior
- What does “shift left” mean in testing? Junior
- Which of these practices is an example of shift left? Junior
- 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
- 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
- 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
- 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
- Which statement about acceptance testing is correct? Junior
- 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
- 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
- Which statement about the relation between test types and test levels is correct? Junior
- 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
- Which statement about regression testing and confirmation testing is correct? Junior
- 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
- 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
- Which work product is NOT suitable for static testing? Junior
- What is required before a tool-based static analysis can be applied to a work product? Junior
- A team reviews requirements at the start of a project even though it takes time. Which argument explains the benefit best? Junior
- Besides finding defects, what further benefit comes from involving varied stakeholders in a requirements review? Junior
- What is the difference in how static and dynamic testing lead to a defect? Junior
- Which quality characteristic is better measured by dynamic rather than static testing? Junior
- 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
- What is a benefit of early and frequent stakeholder feedback throughout the lifecycle? Junior
- What can happen if stakeholders are barely involved during the development lifecycle? Junior
- In what order do the activities of the review process come? Junior
- After individual review the reviewers logged ten anomalies. What happens next, in the communication and analysis activity? Junior
- 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
- Which role chooses the object of a review and supplies the people and time for it? Junior
- Which review type follows no defined process, needs no formally documented output, and has detecting anomalies as its main objective? Junior
- What distinguishes an inspection from the other review types? Junior
- 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
- Which of these factors contributes to the success of reviews? Junior
- Why is it recommended to review the work product in small chunks? Junior
Take the quiz for this chapter
Test Analysis and Design
- 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
- A team decided to write tests before the module is implemented, from the specification alone. Which statement about such tests is correct? Junior
- Why are experience-based techniques seen as a complement to black-box and white-box techniques rather than a replacement? Junior
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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)
- 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)
- 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)
- 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
- A test suite reached 100% statement coverage and a manager claims the code is “fully tested”. Which statement is justified? Junior
- 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
- A report says a test suite reached 100% branch coverage. What follows from this for certain? Junior
- 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
- A team runs only black-box tests. Which argument best justifies adding code coverage measurement? Junior
- What does error guessing describe? Junior
- A tester wants to run a fault attack. What does this approach need as its basis? Junior
- 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
- A tester plans an exploratory session using the session-based approach. What matches this approach? Junior
- A team is writing a checklist for testing a registration form. Which item fits best? Junior
- 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
- 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
- A business representative cannot say how to check the finished story. What may this indicate, according to the syllabus? Junior
- 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
- Which statement about acceptance criteria formats is correct? Junior
- A team starts working on a story using ATDD. Which sequence matches this approach? Middle
- 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
- 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
- What does the content of a test plan typically include? Junior
- A new manager asks why time should go into a test plan that will change anyway. Which answer describes its purpose? Junior
- In which activity does a tester add value during release planning? Junior
- Which of the following does a tester do specifically in iteration planning? Junior
- Which of these is an entry criterion rather than an exit criterion of system testing? Junior
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- According to the test pyramid model, which tests are needed in the greatest number for reasonable coverage? Junior
- What happens to tests when moving from the bottom layer of the pyramid to the top? Junior
- In which quadrant of the testing quadrants model are exploratory testing, usability testing and user acceptance testing placed? Junior
- A team plans performance and security testing, largely automated. Where do they sit on the testing quadrants diagram? Junior
- Which two factors make up the risk level? Junior
- 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
- Which of these risk register entries is a product risk? Junior
- 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
- 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
- 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
- During risk analysis the team assessed the security risk of the login module as high. Which decision follows from this analysis? Junior
- The risk of wrong tax calculation was assessed as high. Which of these risk responses is mitigation? Junior
- 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
- Which metric is a defect metric? Junior
- A manager wants to know the current quality of the test object, not the progress of the test team. Which metric is appropriate? Junior
- What does a test completion report typically contain that a daily progress report does not? Junior
- How does reporting in a stable Scrum team differ from reporting at the end of a test level? Junior
- A team is spread over three time zones with almost no shared working hours. How is it appropriate to communicate the test status? Junior
- 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
- 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
- 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
- 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
- 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
- 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
- A team needs a tool that links requirements, tests and defects and helps manage versions and configuration. Which group does it belong to? Junior
- 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
- Which of these is a risk of test automation? Junior
- What is a potential benefit of test automation? Junior
Take the quiz for this chapter