ISTQB CTFL v4.0 Practice Test 40
Question 390
A tester and product owner review the following behavior: A travel policy distinguishes approved leave and employee termination flags, and some combinations conflict with established business rules. Which TWO complementary steps together provide the most appropriate response and a direct test of its effectiveness? Select TWO answers.
- Compare the transition graph and visited state list with executed ordered state-event pairs and identify uncovered edges.
- Assume every mathematical Boolean combination must be reachable even when the business domain prohibits particular states.
- Enumerate candidate condition combinations, identify and justify infeasible combinations, then derive executable tests from feasible rules.
- Translate strict or inclusive comparison and input precision into explicit adjacent representable boundary values before deriving expected results.
- Inspect business constraints, each condition combination and the documented basis for omitting infeasible rules from executable coverage.
Explanation
Correct Answers
C:This is the appropriate testing Recommended action: Enumerate candidate condition combinations, identify and justify infeasible combinations, then derive executable tests from feasible rules. The case involves A travel policy distinguishes approved leave and employee termination flags, and some combinations conflict with established business rules.
E:This check addresses the issue: Inspect business constraints, each condition combination and the documented basis for omitting infeasible rules from executable coverage. The test should distinguish observed facts from the assumption that assume every mathematical Boolean combination must be reachable even when the business domain prohibits particular states. The intended testing outcome is: Every feasible decision-rule combination is exercised and each excluded combination has an explicit justified constraint.
Incorrect Answers
A:This is a misconception related to a different testing issue, namely Transition coverage versus state coverage, and is not the most direct assumption behind this case. Here, A travel policy distinguishes approved leave and employee termination flags, and some combinations conflict with established business rules.
B:This shortcut is unsafe: Assume every mathematical Boolean combination must be reachable even when the business domain prohibits particular states. It neglects the relevant behavior: Decision tables can contain logically impossible or contradictory combinations, which should be marked rather than treated as reachable scenarios. In this scenario: review the following behavior: A travel policy distinguishes approved leave and employee termination flags, and some combinations conflict with established business rules.
D:This is a misconception related to a different testing issue, namely Boundary analysis with decimal precision and open limits, and is not the most direct assumption behind this case. Here, A travel policy distinguishes approved leave and employee termination flags, and some combinations conflict with established business rules.
Question 391
During test preparation, a team encounters the following issue: An account changes from Active to Locked after three failed logins, but tests check only successful authentication from Active. Which testing action BEST addresses the stated issue? Select ONE best answer.
- Build a state model with allowed event-triggered transitions and include selected invalid transitions as well as the happy path.
- Use a time-boxed exploratory charter, learn and adapt tests during the session, and record findings, ideas and reproducible evidence.
- Identify valid and invalid equivalence classes for each relevant input and combine representatives deliberately according to interaction risk.
- Assume testing one sequence through the happy path proves that invalid transitions and alternate states are handled correctly.
Explanation
Correct Answer
A:This is the appropriate testing action: Build a state model with allowed event-triggered transitions and include selected invalid transitions as well as the happy path. The case involves An account changes from Active to Locked after three failed logins, but tests check only successful authentication from Active.
Incorrect Answers
B:This is an appropriate consideration for a different situation (Exploratory testing charters and learning), but it does not directly resolve the one given here.
C:This is an appropriate consideration for a different situation (Multiple-input equivalence classes without exhaustive product), but it does not directly resolve the one given here. Here, An account changes from Active to Locked after three failed logins, but tests check only successful authentication from Active. The necessary control or test is: Build a state model with allowed event-triggered transitions and include selected invalid transitions as well as the happy path.
D:That option would assume testing one sequence through the happy path proves that invalid transitions and alternate states are handled correctly, but it addresses a different concern. It follows the principle that State transition testing targets state-dependent behavior, including correct reactions to events that are invalid in the current state.
Question 392
During iteration planning and quality review, this issue appears: An account changes from Active to Locked after three failed logins, but tests check only successful authentication from Active. Which principle of software testing BEST explains the problem? Select ONE best answer.
- Visiting every state does not imply exercising every transition, because multiple events and edges can lead into or out of the same state.
- Assume testing one sequence through the happy path proves that invalid transitions and alternate states are handled correctly.
- Test techniques derive tests from different information sources; no single technique establishes complete coverage of requirements, code and likely failures.
- State transition testing targets state-dependent behavior, including correct reactions to events that are invalid in the current state.
Explanation
Correct Answer
D:This is the relevant underlying rule: State transition testing targets state-dependent behavior, including correct reactions to events that are invalid in the current state. In the situation described, An account changes from Active to Locked after three failed logins, but tests check only successful authentication from Active.
Incorrect Answers
A:This is an appropriate consideration for a different situation (Transition coverage versus state coverage), but it does not directly resolve the one given here. Here, An account changes from Active to Locked after three failed logins, but tests check only successful authentication from Active. The necessary control or test is: Build a state model with allowed event-triggered transitions and include selected invalid transitions as well as the happy path.
B:That option would assume testing one sequence through the happy path proves that invalid transitions and alternate states are handled correctly, but it addresses a different concern. The practical response is to build a state model with allowed event-triggered transitions and include selected invalid transitions as well as the happy path.
C:This is an appropriate consideration for a different situation (Selecting black-box white-box and experience approaches), but it does not directly resolve the one given here. Here, An account changes from Active to Locked after three failed logins, but tests check only successful authentication from Active. The necessary control or test is: Build a state model with allowed event-triggered transitions and include selected invalid transitions as well as the happy path.
Question 393
A project team is deciding how to test this condition: An account changes from Active to Locked after three failed logins, but tests check only successful authentication from Active. Which specific test or review evidence MOST directly establishes what happened? Select ONE best answer.
- Inspect a transition table with initial state, input event, expected next state and observed result for valid and invalid cases.
- Inspect the documented inclusive limits and execute representatives such as 17, 30 and 66 with their expected acceptance or rejection.
- Inspect comparison operators, permitted precision and test cases immediately below, at and above the effective threshold.
- Assume testing one sequence through the happy path proves that invalid transitions and alternate states are handled correctly.
Explanation
Correct Answer
A:This directly verifies the issue: Inspect a transition table with initial state, input event, expected next state and observed result for valid and invalid cases. The test should distinguish observed facts from the assumption that assume testing one sequence through the happy path proves that invalid transitions and alternate states are handled correctly.
Incorrect Answers
B:This is an appropriate consideration for a different situation (Equivalence partitioning valid and invalid classes), but it does not directly resolve the one given here. Here, An account changes from Active to Locked after three failed logins, but tests check only successful authentication from Active.
C:This is an appropriate consideration for a different situation (Boundary analysis with decimal precision and open limits), but it does not directly resolve the one given here. Here, An account changes from Active to Locked after three failed logins, but tests check only successful authentication from Active.
D:This shortcut is unsafe: Assume testing one sequence through the happy path proves that invalid transitions and alternate states are handled correctly. It neglects the relevant behavior: State transition testing targets state-dependent behavior, including correct reactions to events that are invalid in the current state.
Question 394
A foundation-level tester investigates: An account changes from Active to Locked after three failed logins, but tests check only successful authentication from Active. Which observed result BEST demonstrates that the testing activity met its stated objective? Select ONE best answer.
- Both inclusive edge values are accepted and the immediately adjacent excluded values are rejected.
- Only cases satisfying both required conditions receive the benefit, and the other three combinations are rejected appropriately.
- The system follows defined legal transitions and rejects events prohibited in the current state without silently changing state.
- Assume testing one sequence through the happy path proves that invalid transitions and alternate states are handled correctly.
Explanation
Correct Answer
C:This is the observable acceptance result: The system follows defined legal transitions and rejects events prohibited in the current state without silently changing state. It follows from the testing approach: Build a state model with allowed event-triggered transitions and include selected invalid transitions as well as the happy path.
Incorrect Answers
A:This is an appropriate consideration for a different situation (Two-value boundary value analysis for inclusive range), but it does not directly resolve the one given here. Here, An account changes from Active to Locked after three failed logins, but tests check only successful authentication from Active. The necessary control or test is: Build a state model with allowed event-triggered transitions and include selected invalid transitions as well as the happy path.
B:This is an appropriate consideration for a different situation (Decision table complete rule combination coverage), but it does not directly resolve the one given here. Here, An account changes from Active to Locked after three failed logins, but tests check only successful authentication from Active. The necessary control or test is: Build a state model with allowed event-triggered transitions and include selected invalid transitions as well as the happy path.
D:This shortcut is unsafe: Assume testing one sequence through the happy path proves that invalid transitions and alternate states are handled correctly. It neglects the relevant behavior: State transition testing targets state-dependent behavior, including correct reactions to events that are invalid in the current state. For the scenario (An account changes from Active to Locked after three failed logins, but tests check only successful authentication from Active.), the required evidence is: Inspect a transition table with initial state, input event, expected next state and observed result for valid and invalid cases.
Question 395
A test analyst considers this real project scenario: An account changes from Active to Locked after three failed logins, but tests check only successful authentication from Active. Which misleading assumption about state transition testing allowed and invalid events MOST directly contributes to this problem and should be rejected? Select ONE best answer.
- Assume testing one sequence through the happy path proves that invalid transitions and alternate states are handled correctly.
- Assume every mathematical Boolean combination must be reachable even when the business domain prohibits particular states.
- Assume exhaustive cross-products are always necessary and that invalid partitions can be ignored if the normal combinations pass.
- Assume exploratory testing means completely undocumented random interaction with no focus, learning or recording of observations.
Explanation
Correct Answer
A:The correct principle is: State transition testing targets state-dependent behavior, including correct reactions to events that are invalid in the current state.
Incorrect Answers
B:This is a misconception related to a different testing issue, namely Decision table infeasible conditions and rule reduction, and is not the most direct assumption behind this case. Here, An account changes from Active to Locked after three failed logins, but tests check only successful authentication from Active.
C:This is a misconception related to a different testing issue, namely Multiple-input equivalence classes without exhaustive product, and is not the most direct assumption behind this case. Here, An account changes from Active to Locked after three failed logins, but tests check only successful authentication from Active.
D:This is a misconception related to a different testing issue, namely Exploratory testing charters and learning, and is not the most direct assumption behind this case.
Question 396
In a software test-design exercise, the following case arises: A subscription can move from Pending to Active after payment, yet an erroneous Cancel event is accepted directly from an undefined state. Which testing action BEST addresses the stated issue? Select ONE best answer.
- Build a state model with allowed event-triggered transitions and include selected invalid transitions as well as the happy path.
- Identify valid and invalid equivalence classes for each relevant input and combine representatives deliberately according to interaction risk.
- Assume testing one sequence through the happy path proves that invalid transitions and alternate states are handled correctly.
- Use two-value boundary sets just below and at each inclusive boundary, explicitly testing 9 and 10 at the lower edge and 50 and 51 at the upper edge.
Explanation
Correct Answer
A:This is the appropriate testing action: Build a state model with allowed event-triggered transitions and include selected invalid transitions as well as the happy path. The case involves A subscription can move from Pending to Active after payment, yet an erroneous Cancel event is accepted directly from an undefined state.
Incorrect Answers
B:This is an appropriate consideration for a different situation (Multiple-input equivalence classes without exhaustive product), but it does not directly resolve the one given here. Here, A subscription can move from Pending to Active after payment, yet an erroneous Cancel event is accepted directly from an undefined state. The necessary control or test is: Build a state model with allowed event-triggered transitions and include selected invalid transitions as well as the happy path.
C:This shortcut is unsafe: Assume testing one sequence through the happy path proves that invalid transitions and alternate states are handled correctly. It neglects the relevant behavior: State transition testing targets state-dependent behavior, including correct reactions to events that are invalid in the current state. For the scenario (A subscription can move from Pending to Active after payment, yet an erroneous Cancel event is accepted directly from an undefined state.), the required evidence is: Inspect a transition table with initial state, input event, expected next state and observed result for valid and invalid cases.
D:This is an appropriate consideration for a different situation (Two-value boundary value analysis for inclusive range), but it does not directly resolve the one given here. Here, A subscription can move from Pending to Active after payment, yet an erroneous Cancel event is accepted directly from an undefined state. The necessary control or test is: Build a state model with allowed event-triggered transitions and include selected invalid transitions as well as the happy path.
Question 397
A release manager requests independent testing evidence: A subscription can move from Pending to Active after payment, yet an erroneous Cancel event is accepted directly from an undefined state. Which principle of software testing BEST explains the problem? Select ONE best answer.
- Equivalence partitioning groups values expected to receive equivalent processing, including both valid and invalid classes.
- Assume testing one sequence through the happy path proves that invalid transitions and alternate states are handled correctly.
- Visiting every state does not imply exercising every transition, because multiple events and edges can lead into or out of the same state.
- State transition testing targets state-dependent behavior, including correct reactions to events that are invalid in the current state.
Explanation
Correct Answer
D:This is the relevant underlying rule: State transition testing targets state-dependent behavior, including correct reactions to events that are invalid in the current state. In the situation described, A subscription can move from Pending to Active after payment, yet an erroneous Cancel event is accepted directly from an undefined state.
Incorrect Answers
A:This is an appropriate consideration for a different situation (Equivalence partitioning valid and invalid classes), but it does not directly resolve the one given here. Here, A subscription can move from Pending to Active after payment, yet an erroneous Cancel event is accepted directly from an undefined state. The necessary control or test is: Build a state model with allowed event-triggered transitions and include selected invalid transitions as well as the happy path.
B:This shortcut is unsafe: Assume testing one sequence through the happy path proves that invalid transitions and alternate states are handled correctly.
C:This is an appropriate consideration for a different situation (Transition coverage versus state coverage), but it does not directly resolve the one given here. Here, A subscription can move from Pending to Active after payment, yet an erroneous Cancel event is accepted directly from an undefined state. The necessary control or test is: Build a state model with allowed event-triggered transitions and include selected invalid transitions as well as the happy path.
Question 398
A software quality workshop reviews this situation: A subscription can move from Pending to Active after payment, yet an erroneous Cancel event is accepted directly from an undefined state. Which specific test or review evidence MOST directly establishes what happened? Select ONE best answer.
- Review class definitions per field, the chosen combination basis, omitted invalid classes and evidence for high-risk interactions.
- Inspect a transition table with initial state, input event, expected next state and observed result for valid and invalid cases.
- Compare the transition graph and visited state list with executed ordered state-event pairs and identify uncovered edges.
- Assume testing one sequence through the happy path proves that invalid transitions and alternate states are handled correctly.
Explanation
Correct Answer
B:This check addresses the issue: Inspect a transition table with initial state, input event, expected next state and observed result for valid and invalid cases. The test should distinguish observed facts from the assumption that assume testing one sequence through the happy path proves that invalid transitions and alternate states are handled correctly.
Incorrect Answers
A:This is an appropriate consideration for a different situation (Multiple-input equivalence classes without exhaustive product), but it does not directly resolve the one given here. Here, A subscription can move from Pending to Active after payment, yet an erroneous Cancel event is accepted directly from an undefined state.
C:This is an appropriate consideration for a different situation (Transition coverage versus state coverage), but it does not directly resolve the one given here. Here, A subscription can move from Pending to Active after payment, yet an erroneous Cancel event is accepted directly from an undefined state.
D:This shortcut is unsafe: Assume testing one sequence through the happy path proves that invalid transitions and alternate states are handled correctly. For the scenario (A subscription can move from Pending to Active after payment, yet an erroneous Cancel event is accepted directly from an undefined state.), the required evidence is: Inspect a transition table with initial state, input event, expected next state and observed result for valid and invalid cases.
Question 399
A defect investigation documents this situation: A subscription can move from Pending to Active after payment, yet an erroneous Cancel event is accepted directly from an undefined state. Which observed result BEST demonstrates that the testing activity met its stated objective? Select ONE best answer.
- Representative valid ages are accepted and each invalid partition is rejected according to the age rule.
- Every important independent class and necessary interaction appears in at least one interpretable test case.
- Assume testing one sequence through the happy path proves that invalid transitions and alternate states are handled correctly.
- The system follows defined legal transitions and rejects events prohibited in the current state without silently changing state.
Explanation
Correct Answer
D:This is the observable acceptance result: The system follows defined legal transitions and rejects events prohibited in the current state without silently changing state. It follows from the testing approach: Build a state model with allowed event-triggered transitions and include selected invalid transitions as well as the happy path. The case is: A subscription can move from Pending to Active after payment, yet an erroneous Cancel event is accepted directly from an undefined state.
Incorrect Answers
A:This is an appropriate consideration for a different situation (Equivalence partitioning valid and invalid classes), but it does not directly resolve the one given here. Here, A subscription can move from Pending to Active after payment, yet an erroneous Cancel event is accepted directly from an undefined state.
B:This is an appropriate consideration for a different situation (Multiple-input equivalence classes without exhaustive product), but it does not directly resolve the one given here.
C:It neglects the relevant behavior: State transition testing targets state-dependent behavior, including correct reactions to events that are invalid in the current state. For the scenario (A subscription can move from Pending to Active after payment, yet an erroneous Cancel event is accepted directly from an undefined state.), the required evidence is: Inspect a transition table with initial state, input event, expected next state and observed result for valid and invalid cases.
Question 400
A tester and product owner review the following behavior: A subscription can move from Pending to Active after payment, yet an erroneous Cancel event is accepted directly from an undefined state. Which THREE elements together describe an appropriate response, independent verification, and demonstrable completion evidence? Select THREE answers.
- Inspect annotated source statement counts or instrumentation and confirm that the previously unexecuted line is reached by a test.
- Build a state model with allowed event-triggered transitions and include selected invalid transitions as well as the happy path.
- Inspect a transition table with initial state, input event, expected next state and observed result for valid and invalid cases.
- The system follows defined legal transitions and rejects events prohibited in the current state without silently changing state.
- Use two-value boundary sets just below and at each inclusive boundary, explicitly testing 9 and 10 at the lower edge and 50 and 51 at the upper edge.
- Assume testing one sequence through the happy path proves that invalid transitions and alternate states are handled correctly.
Explanation
Correct Answers
B:This is the appropriate testing Recommended action: Build a state model with allowed event-triggered transitions and include selected invalid transitions as well as the happy path. The case involves A subscription can move from Pending to Active after payment, yet an erroneous Cancel event is accepted directly from an undefined state.
C:This check addresses the issue: Inspect a transition table with initial state, input event, expected next state and observed result for valid and invalid cases. The test should distinguish observed facts from the assumption that assume testing one sequence through the happy path proves that invalid transitions and alternate states are handled correctly. The intended testing outcome is: The system follows defined legal transitions and rejects events prohibited in the current state without silently changing state.
D:The observable acceptance result is: The system follows defined legal transitions and rejects events prohibited in the current state without silently changing state. It follows from the testing approach: Build a state model with allowed event-triggered transitions and include selected invalid transitions as well as the happy path.
Incorrect Answers
A:This is a misconception related to a different testing issue, namely Statement coverage of a conditional branch, and is not the most direct assumption behind this case. Here, A subscription can move from Pending to Active after payment, yet an erroneous Cancel event is accepted directly from an undefined state.
E:This is a misconception related to a different testing issue, namely Two-value boundary value analysis for inclusive range, and is not the most direct assumption behind this case. Here, A subscription can move from Pending to Active after payment, yet an erroneous Cancel event is accepted directly from an undefined state.
F:This shortcut is unsafe: Assume testing one sequence through the happy path proves that invalid transitions and alternate states are handled correctly. It neglects the relevant behavior: State transition testing targets state-dependent behavior, including correct reactions to events that are invalid in the current state. In this scenario: er review the following behavior: A subscription can move from Pending to Active after payment, yet an erroneous Cancel event is accepted directly from an undefined state.