ISTQB Advanced (CTAL-TA v4.0) Mock Exam #4 — Questions & Answers

Every question in this mock exam, with the correct answer marked and a written rationale behind each option below — for reading and review, not a timed run.

Chapter 1 · The Tasks of the Test Analyst in the Test Process — 8 questions

Question 1

A Test Analyst on a marine port terminal operating system is writing the test environment requirements for system testing, following ISO/IEC/IEEE 29119-3. Which content belongs in that specification?

The hardware, software and network configuration the tests need, together with the test data to be loaded and any stubs, drivers or simulators standing in for components that are not available.

Correct answer

This is what the standard asks a test environment requirements specification to state: the configuration, the data it must hold and the test doubles replacing absent components.

The entry criteria and exit criteria for system testing, the agreed definition of done for each user story in the release, and the escalation path to follow when the agreed exit criteria are not met on the planned date.

Entry and exit criteria and the escalation path belong to test planning and test monitoring documents, not to the environment requirements.

The risk levels assigned to each berth allocation feature, with the depth of testing agreed for each level and the residual risk that the stakeholders have accepted for the release.

Risk levels and agreed test depth come from risk analysis and are recorded in the risk register and test plan.

The defect report template and the states a defect passes through, so that anomalies found while exercising the berth allocation flows are reported consistently by every tester on the project.

The defect workflow is part of defect management, and is defined for the project rather than for a particular test environment.

Why

ISO/IEC/IEEE 29119-3 asks the test environment requirements to describe the environment the tests will need: hardware and software configuration, network and interface arrangements, the test data it must hold and the test doubles replacing components that are absent. Entry and exit criteria, risk levels and defect workflow belong in other documents.

Question 2

A legal case management product keeps several thousand test cases, test procedures and test data sets that are reused across releases. Which type of tool supports the Test Analyst in managing that testware?

A code coverage tool, which instruments the application so that the proportion of statements and branches exercised by the existing suite can be reported release by release.

Coverage tools measure what the code executes; they do not store or version the testware itself.

A load generation tool, which replays recorded case searches at increasing concurrency so that the response time of the search service under realistic load can be observed.

Load generation addresses performance efficiency, which is a Technical Test Analyst concern and unrelated to managing testware.

A test management tool, which stores the test cases, procedures and suites under version control and keeps their traceability to the test basis and to the defects they found.

Correct answer

The syllabus names test management tools as the support for organising, versioning and tracing reusable testware.

A static analysis tool, which parses the source of the case management modules and reports coding standard violations and suspicious constructs before the build is handed over for testing.

Static analysis examines code quality early; it has no role in organising or versioning test cases and test data.

Why

Testware management is supported by test management tools, which hold test cases, procedures and suites, keep them under version control and maintain traceability to the test basis. Coverage measurement, performance load generation and static code analysis address other needs.

Question 3

Which TWO work products does the CTAL-TA syllabus treat as outputs that the Test Analyst produces, rather than as inputs the Test Analyst receives? (Choose two.)

The organizational test strategy, which states how testing is approached across all projects in the organization and is maintained independently of any single release.

The organizational test strategy is written above project level and is an input the Test Analyst works within.

Test procedures, which sequence the test cases into an executable order together with their pre-conditions and post-conditions.

Correct answer

Building test procedures out of test cases is a test implementation task owned by the Test Analyst.

The project test plan, which fixes the schedule, the staffing and the entry and exit criteria for each test level in the release.

The test plan is a test management product; the Test Analyst supplies input to it but does not produce it.

Test conditions derived from the test basis and prioritised against the agreed product risks.

Correct answer

Identifying and prioritising test conditions is the core test analysis output of the Test Analyst.

The test policy, which records the organization's objectives for testing and the principles that every project is expected to follow when planning its test effort.

The test policy is an organizational document that constrains projects rather than something a Test Analyst writes.

Why

The Test Analyst produces test conditions, test cases, test procedures, test suites and test data requirements. The test policy and the organizational test strategy are produced above project level, and the project test plan is a test management product the Test Analyst contributes to but does not own.

Question 4

An aviation maintenance records system is certified under DO-178C. During test implementation the Test Analyst is asked to make the work auditable. What does that add to the usual implementation tasks?

Test design techniques must be replaced by techniques the standard names explicitly, because experience-based testing is not accepted as evidence of coverage by a certification authority.

The regulated context constrains the evidence that is kept, not the catalogue of techniques; experience-based testing may still complement the scripted suite.

Evidence must be retained and kept reproducible for every run: the requirement each test case covers, the exact procedure executed, the environment and test data used, and the outcome recorded.

Correct answer

Retaining traceable, reproducible evidence of execution is exactly what the regulated context adds to test implementation.

The Test Analyst takes responsibility for signing off the certification package on behalf of the project, confirming to the authority that the maintenance records system is fit for operational use.

Certification sign-off rests with the accountable authority and project management, not with the Test Analyst.

Exit criteria for system testing are set by the Test Analyst instead of the test manager, so that the evidence the standard requires is complete before the release is handed over for audit.

Defining exit criteria stays a test management responsibility whatever the regulatory regime.

Why

In a regulated context the Test Analyst must capture evidence: which test case covers which requirement, the exact procedure executed, the environment and data used, and the recorded result for each run. The design techniques themselves do not change, and the Test Analyst does not take over the auditor's or the test manager's role.

Question 5

A satellite imagery processing pipeline produces cloud-mask images that nobody can specify pixel by pixel in advance. The team embeds checks inside the pipeline that fail the run whenever the masked area exceeds the image area or a probability falls outside 0 to 1. Which oracle solution is this?

A pseudo-oracle, because a second implementation of the cloud-mask algorithm is being run over the same input scene and the two sets of results are compared against each other.

A pseudo-oracle needs an independent second implementation to compare against; here no second implementation exists.

A human oracle, because an analyst with domain knowledge is inspecting each produced mask and deciding from experience whether the result is plausible for the scene that was processed.

A human oracle relies on a person judging the result; these checks run automatically inside the pipeline.

A metamorphic relation, because the scene is transformed before a second run and the two outputs are then required to stand in a defined relationship to one another.

A metamorphic relation compares the outputs of a source and a follow-up run; a single run is being checked here.

Assertions, because properties that any correct output must satisfy are checked during the run itself, and a violation fails the run without any full expected result being needed.

Correct answer

Assertions embedded in the system verify invariants of the output and report a violation without a full expected result.

Why

Checks embedded in the system that flag any violation of a property the output must always satisfy are assertions. They judge partial correctness without needing a full expected result, which is what makes them useful when the exact output cannot be specified.

Question 6

A telecom provisioning platform is tested against a partner billing service that is available only four hours a day. Which TWO statements about the test data and test environment techniques the syllabus offers here are correct? (Choose two.)

Service virtualization can stand in for the partner billing service, so provisioning tests no longer depend on its four-hour availability window.

Correct answer

Simulating a restricted or unavailable dependency is exactly the purpose of service virtualization.

Once service virtualization is in place, integration testing against the real partner billing service can be dropped from the release scope, because the simulated responses were derived from the partner's own interface specification.

A simulated service reflects the specification, not the partner's actual behaviour; testing against the real service is still required.

Data aging can shift the dates in a copied subscriber set so that contract and billing periods remain plausible when the data is reused months later.

Correct answer

Data aging adjusts time-dependent values in reused data so that the set stays usable as time passes.

Generating synthetic subscriber records removes the obligation to pseudonymize the production extract that is still loaded alongside them for the regression suite, because the synthetic records dominate the data set by volume.

Any production-derived data in the environment still needs pseudonymization or anonymization, whatever else is loaded with it.

Personas replace the subscriber test data set, since a described user profile carries enough detail for provisioning rules on tariff, contract length and device eligibility to be exercised end to end.

Personas guide usability evaluation; they do not supply the concrete field values that provisioning rules need.

Why

Service virtualization replaces an unavailable or restricted dependency with a simulated service that responds as the real one would, so testing is no longer tied to its availability window. Data aging adjusts the dates in a copied data set so that time-dependent records stay realistic. Synthetic data does not remove the need for privacy controls on any production data still in use, and virtualization is not a substitute for eventually testing against the real partner.

Question 7

A test case for an agricultural irrigation controller reads: "With soil moisture…

A test case for an agricultural irrigation controller reads: "With soil moisture held at exactly 12.0% for 72 consecutive hours in a field of 40 hectares, verify that the controller opens valve bank C." The test environment has one 2-hectare test plot and a soil sensor simulator that cannot be driven for longer than four hours. Which test case quality criterion does this test case fail?

Correctness, because the expected result stated for the test case does not follow from the irrigation rules written down in the requirements specification for valve bank C.

Nothing in the scenario suggests the expected result contradicts the requirement; the problem is execution, not the expected outcome.

Feasibility, because the single two-hectare plot and the four-hour limit on the sensor simulator cannot produce the conditions that the test case requires in order to be executed at all.

Correct answer

Feasibility asks whether the case can be executed with the environment, data and time at hand, which here it cannot.

Conciseness, because the test case repeats information about moisture level and field size that is already recorded in the irrigation requirements and in the test data specification for the plot.

Conciseness concerns redundant wording; the stated preconditions are necessary to the case, not repetition.

Traceability, because the test case does not identify which requirement or test condition it was derived from and therefore cannot be linked back to the test basis during impact analysis.

Traceability is about the link to the test basis; the scenario describes an environment limitation instead.

Why

Feasibility asks whether the test case can actually be executed with the available environment, data, time and skills. The case is correct, necessary and traceable, but it cannot be run in the environment that exists, so it fails on feasibility.

Question 8

A recruitment platform screen is redesigned every sprint, while the underlying eligibility rules are stable. Testing is carried out by a newly contracted team with no recruitment domain knowledge. How should the Test Analyst split the test cases between high-level and low-level?

High-level cases for the screen flows, because they survive the sprint redesigns without rework, and low-level cases for the stable eligibility rules, because they carry the exact values the new team needs to run them.

Correct answer

This matches each form to its strength: abstraction where the interface churns, concrete data where domain knowledge is missing.

Low-level cases throughout, because a team without recruitment domain knowledge needs the exact input values and expected results written out for every case it executes, including the screen flows that are redesigned each sprint.

Low-level cases for a screen redesigned every sprint would have to be rewritten each sprint, which is why the syllabus warns about their maintenance cost.

High-level cases throughout, because keeping every case abstract minimises the rework caused by the sprint redesigns and lets the contracted team choose whatever concrete values it finds convenient at execution time.

Leaving the eligibility values to a team without domain knowledge means the rules would not be exercised at the boundaries that matter.

Low-level cases for the screen flows, because the redesigns change concrete controls, and high-level cases for the eligibility rules, because rules can be expressed abstractly and interpreted by the tester during execution.

This inverts the reasoning: the volatile part gets the costly concrete form and the part needing precise data gets the abstract one.

Why

High-level cases survive frequent user interface change because they do not fix concrete field values or screen mechanics, so they suit the volatile screen. Low-level cases carry the exact data and expected results a tester without domain knowledge needs, so they suit the stable eligibility rules. Choosing one form for everything sacrifices either maintainability or executability.

Chapter 2 · The Tasks of the Test Analyst in Risk-Based Testing — 3 questions

Question 9

A Test Analyst on a municipal waste collection scheduling system is asked to categorise the identified product risks. Which basis does the CTAL-TA syllabus recommend for that categorisation?

By the severity scale used in the defect management tool, so that each identified risk can later be matched directly against the defects that are reported during execution of the scheduling tests.

Defect severity describes reported defects after the fact; it is not a scheme for categorising risks during risk analysis.

By the IEEE 1044 defect classification, because it offers an agreed vocabulary that keeps the risk register consistent with the way anomalies are classified later in the lifecycle of the scheduling system.

IEEE 1044 classifies anomalies that have been found; the syllabus uses a quality model to categorise risks.

By the organizational unit that owns each affected component, so that every risk in the register has a named team accountable for the mitigation measures agreed with the stakeholders.

Ownership is useful for risk control but says nothing about the nature of the risk being categorised.

By the quality characteristics of ISO/IEC 25010 (2023), so that each risk in the register names the characteristic whose failure it describes and the matching test types can be chosen.

Correct answer

The syllabus uses the ISO/IEC 25010 quality model as the categorisation scheme for product risks.

Why

The syllabus recommends categorising product risks by the quality characteristics of ISO/IEC 25010 (2023), so that each risk points at the characteristic whose failure it describes and the right techniques and test types can be chosen. Severity scales, defect classifications and organizational unit are used for other purposes.

Question 10

Halfway through an iteration on an online auction platform, four things happen…

Halfway through an iteration on an online auction platform, four things happen. (1) Two high-risk bidding defects are found and fixed, with no new ones in that area. (2) Marketing confirms the launch will coincide with a televised campaign, raising expected peak traffic tenfold. (3) A proxy-bidding feature nobody planned to test is added to the scope. (4) The team rewrites the seller profile page without changing its behaviour. Which TWO developments should make the Test Analyst re-prioritise the remaining test effort? (Choose two.)

Development (1), because two high-risk bidding defects were found and fixed within the iteration and no further defects appeared in the same area afterwards.

Fixed defects with no follow-on findings lower the assessed risk; they do not call for shifting effort towards that area.

Development (2), because a tenfold rise in expected peak traffic increases the business impact of any failure in the bidding path at launch.

Correct answer

A change in expected impact is exactly the trigger risk monitoring looks for, and it raises the risk level of the bidding path.

Development (3), because proxy bidding entered the scope without passing through risk analysis, so its risk level is unknown.

Correct answer

Scope added after risk analysis carries unassessed risk and must be analysed before the remaining effort is allocated.

Development (4), because the seller profile page was rewritten during the iteration even though the rewrite left the observable behaviour of the page exactly as it was before.

A behaviour-preserving rewrite is handled by the regression selection already in place and does not change the risk picture.

The televised campaign is a project risk rather than a product risk, so it belongs in the test manager's plan and leaves the Test Analyst's allocation of the remaining test effort unchanged.

Expected peak traffic at launch bears directly on the product's behaviour under load, so it is a product risk the Test Analyst must act on.

Why

Risk monitoring reacts to changes in likelihood or impact. The tenfold traffic expectation raises the impact of failures in the bidding path, and newly added scope that nobody analysed carries unassessed risk. Successfully fixed defects lower a risk rather than requiring re-prioritisation, and a behaviour-preserving rewrite is covered by the existing regression selection.

Question 11

A real estate listing portal has no requirements traceability matrix and its…

A real estate listing portal has no requirements traceability matrix and its change records name only the modules touched, not the features. Three regression selection approaches are proposed: history-based (areas with most past defects), coverage-based (cases covering the most code), and operational-profile-based (the flows users exercise most). The Test Analyst has to defend a choice. Which analysis is sound?

Coverage-based selection alone is the strongest option, because the proportion of code exercised is the one figure that can be reported objectively to stakeholders when no requirements traceability matrix is available for the portal.

Code coverage measures what was executed, not whether the business-critical behaviour was verified, and a Test Analyst works black-box.

History-based selection alone is the strongest option, because past defect density is the most reliable single predictor of where the next regression failures in the listing portal will be found by the team.

Defect history points at known weak areas but misses newly changed code that has no history yet.

Combine history-based and operational-profile selection, since no single approach is best and the missing traceability weakens impact analysis, then measure how well the combination performed and adjust it next cycle.

Correct answer

This is the syllabus position: combine approaches, compensate for the missing traceability, and evaluate effectiveness after each cycle.

Operational-profile selection alone is the strongest option, because exercising the flows that real users run most often keeps the residual risk to the business lower than any other way of choosing a regression subset.

Usage frequency ignores rarely used but high-impact flows, so it cannot carry the selection by itself.

Why

The syllabus states that no single selection approach is best and that approaches should be combined and their effectiveness evaluated after each cycle. With traceability missing, impact analysis is weakened, so history-based and operational-profile selection together give the best available cover while the result is measured and adjusted.

Chapter 3 · Test Analysis and Test Design — 22 questions

Question 12

What does modelling behaviour as a Harel state chart with nested (composite) states give a Test Analyst that a flat finite state machine does not?

A coverage criterion stronger than N-switch coverage, because nesting defines a hierarchy of transitions and the chart can therefore be exercised level by level rather than transition by transition.

Nesting is a notation for grouping states; the coverage criteria available remain 0-switch, 1-switch and round-trip.

A transition shared by a group of substates can be drawn once on the boundary of the composite state instead of being repeated from each substate.

Correct answer

Factoring out a transition common to several substates is the modelling economy that composite states provide.

Guard conditions become available on transitions, so that a transition can be made to fire only when a stated condition over the system variables holds at the moment the event arrives.

Guard conditions belong to extended finite state machines and are available without nesting.

Concrete test data for each transition is derived automatically, because the hierarchy records which values of the system variables cause the chart to move between the nested states.

A state chart describes behaviour; the concrete input values still have to be designed separately.

Why

Nested states let a transition that applies to a whole group of substates be drawn once on the boundary of the composite state instead of being repeated from every substate. The notation does not change what counts as a transition, does not remove the need for coverage criteria and does not generate test data.

Question 13

In an activity diagram used as a basis for scenario-based testing, what is the difference between a decision node and a fork node?

A decision node splits the flow into concurrent paths that all continue in parallel, while a fork node selects exactly one outgoing path according to the guard conditions written on its outgoing edges.

This states the two the wrong way round: selection belongs to the decision node and concurrency to the fork node.

A decision node separates the actions performed by different actors, while a fork node marks the point at which responsibility for the remaining activity passes from one actor to the next one in the process.

Showing which actor performs an action is the job of swim lanes, not of decision or fork nodes.

A decision node has exactly two outgoing flows representing a true and a false branch, while a fork node may have any number of outgoing flows, which is the only difference between the two notations.

A decision node may have more than two guarded branches; the real distinction is selection against concurrency.

A decision node passes the flow to exactly one outgoing branch chosen by its guards, while a fork node starts several concurrent flows that all proceed.

Correct answer

Selection at a decision node and concurrency at a fork node is the distinction, and it drives different test coverage needs.

Why

A decision node branches to exactly one outgoing flow according to a guard, and a merge node brings alternative flows back together. A fork node splits the flow into concurrent paths that all proceed, and a join node waits for all of them. Swim lanes are an orthogonal device that shows which actor performs an action.

Question 14

Which TWO statements about the test bases used for scenario-based testing are correct? (Choose two.)

A use case description already distinguishes the main flow from extension and exception flows, so the scenarios to be tested can be read off it directly.

Correct answer

The flow structure of a use case is exactly what makes it a convenient basis for scenario-based test design.

Swim lanes in an activity diagram mark the parts of the process that run concurrently, so each lane corresponds to one thread of execution that a scenario test has to exercise in parallel with the others.

Swim lanes show which actor or organisational unit performs an action; concurrency is expressed by fork and join nodes.

A sequence diagram records the order of messages exchanged over time, which makes ordering and missing-response defects visible.

Correct answer

The time ordering of interactions is what a sequence diagram adds over the other scenario notations.

A BPMN gateway can express at most two alternative outgoing paths, so any business process with three or more mutually exclusive outcomes must be modelled as a decision table before scenario tests can be derived from it.

A BPMN gateway may have any number of outgoing paths, and nothing forces a conversion to a decision table.

An activity diagram carries the concrete input values for each action, so a path through the diagram can be executed as a test case without any further test data design being needed by the analyst.

An activity diagram describes control flow; the concrete data for each path still has to be designed.

Why

A use case description separates a main flow from extension and exception flows, which gives the Test Analyst a ready set of scenarios. A sequence diagram orders the messages exchanged between components or actors over time, which exposes ordering and missing-response defects. BPMN gateways are not limited to two branches, swim lanes do not imply concurrency, and an activity diagram does not carry the data values a test case needs.

Question 15

What does an operational profile contribute to random testing?

It weights the randomly generated inputs by how often each kind of transaction occurs in real production use, so the generated effort follows the distribution the live system sees.

Correct answer

Biasing random generation towards observed usage frequencies is what an operational profile is for.

It supplies the expected result for each generated input, because the profile records the outcome that production users saw for each kind of transaction over the measured period.

A profile records frequencies, not outcomes; random testing still needs an automated oracle.

It gives random testing a recognised coverage criterion, since the percentage of the profile exercised can be reported in the same way as a structural coverage figure.

The syllabus states that random testing has no generally recognised coverage criterion.

It ensures that rare transactions are exercised as thoroughly as common ones, because the generator compensates for low frequency by extending the run until every profile entry has been covered.

Weighting by frequency does the opposite: rare cases get fewer tests, so high-impact rare cases need separate design.

Why

An operational profile describes how often each kind of input or transaction occurs in real use. Used with random testing it biases the generated inputs towards that distribution, so the effort lands where the system is actually exercised. It does not supply expected results, does not define a coverage criterion and does not remove the need to test rare but high-impact cases.

Question 16

A fishing quota registry accepts a declared catch weight of 1 to 500 kg…

A fishing quota registry accepts a declared catch weight of 1 to 500 kg inclusive; values outside that range are rejected. The Test Analyst applies reliable domain coverage as defined by Forgács, which extends simplified domain coverage with IN and OUT points. How many test points does this single variable need, and which are they?

Four points: the ON points 1 and 500 on the two closed borders and the OFF points 0 and 501 just outside them, which is all that either of the two domain coverage criteria requires for a single variable.

Those four points satisfy simplified domain coverage; reliable domain coverage is defined as that set plus IN and OUT points.

Two points: the ON points 1 and 500, because reliable domain coverage concentrates on the borders themselves and treats the interior and the far exterior of the domain as already covered by other techniques.

Omitting the OFF points would leave the behaviour just outside each border untested, which is the core of domain testing.

Six points: ON 1 and 500, OFF 0 and 501, plus one IN point such as 250 and one OUT point such as 800.

Correct answer

Reliable domain coverage is the simplified set of ON and OFF points extended by an IN point and an OUT point.

Eight points: an ON, OFF, IN and OUT point for each of the two borders separately, because reliable domain coverage repeats the full set of four point types at the lower border and again at the upper border.

IN and OUT points characterise the domain as a whole rather than being duplicated for every border.

Why

Both boundaries are closed, so each contributes an ON point on the boundary and an OFF point just outside it: 1, 0, 500 and 501. Reliable domain coverage adds one IN point well inside the domain and one OUT point well outside it, for example 250 and 800, giving six test points in total. Simplified domain coverage would have stopped at four.

Question 17

A translation management system is modelled with a classification tree: source language (EN, DE, ES), target language (EN, DE, ES) and file type (DOCX, XLIFF). A constraint states that the source language and the target language must differ. How many feasible complete combinations remain?

Eighteen, because a constraint in a classification tree records a business rule that must itself be tested, and therefore keeps all of the combinations in the combination table rather than removing any of them.

Constraints mark combinations as infeasible and exclude them; the rejection of an identical language pair is tested separately.

Fifteen, because the constraint removes the three combinations in which the source language and the target language are the same, one for each of the three languages in the tree.

This forgets the file type: each identical language pair appears twice, once per file type, so six combinations are removed.

Six, because applying pairwise coverage to the tree after the constraint has been evaluated leaves six combinations, and a classification tree is reduced to its pairwise subset before counting.

The question asks for the feasible complete combinations; applying pairwise coverage is a separate, later reduction step.

Twelve: the tree yields 3 x 3 x 2 = 18 complete combinations, and the constraint removes the three identical language pairs multiplied by the two file types, which is six of them.

Correct answer

Eighteen complete combinations minus the six that the constraint makes infeasible leaves twelve.

Why

Without the constraint there are 3 x 3 x 2 = 18 complete combinations. The constraint removes every combination in which the source and the target language are the same: three language pairs multiplied by two file types, so six combinations. Eighteen minus six leaves twelve feasible combinations.

Question 18

A dairy plant pasteuriser firmware accepts a temperature setpoint from 0 to 100 degrees Celsius. Adaptive random testing has already run the setpoints 10, 20, 30 and 95. Four candidates are proposed for the next test: 15, 25, 55 and 92. Which one does adaptive random testing select?

The setpoint 92, because it lies next to the already-executed 95 and repeating a test in a region where a value has already been run concentrates the effort where failures are known to cluster.

Its nearest neighbour is only 3 away, the smallest gap of the four, so adaptive random testing would avoid it.

The setpoint 55, because its nearest already-executed value is 30, a distance of 25 degrees, which is the largest distance to any previously used input among the four candidates offered.

Correct answer

Maximising the distance from every input already used is the selection rule of adaptive random testing.

The setpoint 15, because it falls between the two executed values 10 and 20 and filling the gaps between previous inputs in ascending order is how an even spread over the domain is built up.

Its nearest neighbour is 5 away, so another candidate spreads the inputs further; ascending order is not part of the technique.

The setpoint 25, because it sits at the midpoint of the densest cluster of executed values and the technique prioritises the region where most previous test inputs were drawn from.

Adaptive random testing moves away from clusters of executed inputs rather than towards them.

Why

Adaptive random testing picks the candidate whose distance to the nearest already-executed input is largest. The nearest neighbours are 15 at distance 5, 25 at distance 5, 55 at distance 25 and 92 at distance 3. The setpoint 55 is the farthest from everything run so far, so it is selected.

Question 19

Production logs for an online auction site show that of all user actions, 70%…

Production logs for an online auction site show that of all user actions, 70% are placing a bid, 20% are adding an item to a watch list and 10% are asking the seller a question. A budget of 200 randomly generated transactions is available. How should the Test Analyst allocate it using the operational profile?

Approximately 67 transactions of each kind, because an even split gives every user action the same statistical confidence from the randomly generated sample that is executed against the auction site.

An even split ignores the profile entirely, which is the one input an operational-profile approach is built on.

20 bids, 40 watch-list additions and 140 seller questions, inverting the measured frequencies so that the least exercised of the three actions receives much the largest share of the randomly generated transaction budget.

Inverting the profile is a deliberate risk-based choice, not what operational-profile-based random testing does.

140 bids, 40 watch-list additions and 20 seller questions, because operational-profile-based random testing distributes the generated transactions in proportion to the frequencies measured in the logs.

Correct answer

Allocating in proportion to the measured usage frequencies is the operational-profile approach.

140 bids, 40 watch-list additions and 20 seller questions, after which the seller question path needs no further test design because its share of the profile has already been exercised proportionally.

The allocation is right but the conclusion is wrong: a low-frequency path may still carry high risk and need designed tests.

Why

Operational-profile-based random testing distributes the generated transactions in proportion to the observed frequencies: 140 bids, 40 watch-list additions and 20 seller questions. The point is to exercise the system the way real users do; rare but high-impact actions are covered by separate risk-based design, not by flattening the profile.

Question 20

A car rental fleet system is analysed with a CRUD matrix over the entities…

A car rental fleet system is analysed with a CRUD matrix over the entities Vehicle, Booking and Customer. The matrix shows that no function ever deletes a Vehicle, and that the Roadside Assistance function reads Booking although no function creates a Booking in the Roadside Assistance module. Which TWO conclusions can the Test Analyst draw from the matrix itself? (Choose two.)

Vehicle has no delete operation anywhere in the system, which is a completeness gap to confirm with the business before designing tests.

Correct answer

Reading the matrix for missing operations on an entity is exactly the static completeness check it supports.

Deleting a Customer who still has an active Booking will be rejected by the system, since the matrix shows that Booking is read by functions outside the module in which Customer records are maintained.

Referential behaviour on delete is dynamic and can only be established by executing a test, not by reading the matrix.

Roadside Assistance depends on a Booking created elsewhere, so a test has to sequence the creating function before it.

Correct answer

A read without a corresponding create in the same area is a sequencing dependency the matrix makes visible.

The implementation matches the matrix for the Vehicle entity, because the matrix was derived from the same functional specification that the developers worked from when the fleet module was built.

A matrix derived from the specification says nothing about what the code does; that needs dynamic testing.

CRUD coverage for the three entities has been achieved, because every one of them appears in the matrix with at least one create operation and at least one read operation recorded against a function.

CRUD coverage requires every applicable operation on every entity to be exercised, and here delete on Vehicle is absent.

Why

A CRUD matrix is read statically for completeness: an entity with no delete operation is a gap to raise with the business, and a function that reads an entity it never creates depends on another function having created it, which is a sequencing dependency worth a test. Whether referential integrity actually holds, and whether the matrix matches the implementation, can only be established by executing tests.

Question 21

A laundry kiosk controller is modelled as a state chart. Idle goes to the…

A laundry kiosk controller is modelled as a state chart. Idle goes to the composite state Running on start; inside Running the substates run Wash to Rinse to Spin; Spin goes to Done; Done returns to Idle on collect. A cancel transition is drawn from the boundary of Running back to Idle, and when the chart is flattened it becomes one transition out of each of the three substates. How many test cases does 0-switch coverage require?

Eight, because flattening the chart yields eight valid transitions and 0-switch coverage exercises each of them once.

Correct answer

Five transitions outside the composite boundary plus the three flattened cancel transitions give eight.

Six, counting the cancel transition only once because it is drawn once on the boundary of the composite state Running rather than separately from each of the three substates inside it.

The stem states that flattening turns the boundary transition into three, and 0-switch counts transitions after flattening.

Four, because 0-switch coverage exercises each state of the machine once and the chart has the four distinct top-level states Idle, Running, Done and the initial entry point into Running.

0-switch coverage is defined over transitions, not states; covering every state is a weaker criterion.

Sixteen, because every valid transition has to be paired with an attempt at the corresponding invalid transition from the same state in order to satisfy the 0-switch criterion for the whole chart.

Negative testing of invalid transitions is valuable but is not part of what 0-switch coverage requires.

Why

Flattening gives eight transitions: Idle to Wash on start, Wash to Rinse, Rinse to Spin, Spin to Done, Done to Idle on collect, and cancel from each of Wash, Rinse and Spin back to Idle. 0-switch coverage exercises every valid transition at least once, so eight test cases are needed.

Question 22

A legal case management workflow has the states Open, Under Review, Awaiting…

A legal case management workflow has the states Open, Under Review, Awaiting Info and Closed, with the transitions Open to Under Review, Under Review to Awaiting Info, Awaiting Info to Under Review, Under Review to Closed, and Closed to Open on reopening. Which set of sequences achieves round-trip coverage?

Open to Under Review to Closed only, because reaching the Closed state from the initial state is the longest path through the workflow and therefore subsumes the shorter loops inside it.

That sequence is not a loop at all: it ends in a different state from the one it started in.

Each transition in the machine executed once in any order, because round-trip coverage is satisfied as soon as every transition has appeared at least once in some executed test case.

Exercising each transition once is 0-switch coverage; round-trip coverage additionally demands that the loops close.

Under Review to Awaiting Info back to Under Review, and Open to Under Review to Closed back to Open.

Correct answer

These are the two loops that return to their starting state without repeating an intermediate state.

Under Review to Awaiting Info back to Under Review only, because it is the sole loop in the workflow and the reopening transition from Closed simply restarts the case rather than closing a cycle.

Reopening does close a cycle: Open to Under Review to Closed to Open returns to its starting state.

Why

Round-trip coverage requires every loop that returns to its starting state without repeating an intermediate state to be exercised. This machine contains two such loops: Under Review to Awaiting Info and back, and Open to Under Review to Closed and back to Open. Exercising both covers all round trips.

Question 23

A construction permit process is drawn as an activity diagram with three swim…

A construction permit process is drawn as an activity diagram with three swim lanes: Applicant, Inspector and Registrar. The Applicant submits a plan, the Inspector either approves or returns it for correction, and the Registrar issues the permit once it is approved. Which scenario test does the swim lane structure tell the Test Analyst to design in addition to the happy path?

The return of a plan from Inspector to Applicant and its resubmission, because that handoff crosses the lane boundaries against the main flow.

Correct answer

A backward handoff between two actors is the scenario the lane structure highlights beyond the happy path.

A test that runs the Inspector approval and the Registrar issuance at the same moment, since actions drawn in separate swim lanes are performed concurrently and must therefore be exercised in parallel to reveal timing defects.

Separate lanes mean separate actors, not concurrency; concurrency would be shown by fork and join nodes.

A test that measures how long the Inspector lane takes to complete under a realistic caseload, because the lane with the most actions in the diagram is the one most likely to become the bottleneck of the permit process.

Throughput under load is performance efficiency, which belongs to the Technical Test Analyst rather than to scenario design.

A test in which the Registrar issues the permit directly from the Applicant lane without the Inspector acting, because every pair of swim lanes in the diagram has to be exercised as a direct interaction at least once.

There is no flow between those two lanes to exercise; pairing lanes arbitrarily is not derived from the diagram.

Why

Swim lanes make the handoffs between actors visible, and a handoff is where work changes hands and information can be lost or blocked. The most valuable extra scenario is the return handoff from Inspector back to Applicant and the resubmission that follows, because it crosses two lane boundaries in the opposite direction from the main flow.

Question 24

A satellite ground station is specified with a sequence diagram: the Scheduler sends Acquire to the Antenna, the Antenna replies Locked, the Scheduler then sends StartDownlink, and the Antenna replies Streaming. Which defect is a test derived specifically from this sequence diagram aimed at?

The Antenna accepting a downlink frequency outside the band it supports, which would be found by applying domain testing to the frequency parameter carried on the Acquire message sent by the Scheduler.

Parameter values are a data-based concern; the diagram constrains the order of the messages, not their contents.

The Scheduler choosing the wrong antenna when several are free, which depends on the allocation rules in the specification and would be covered by building a decision table over those rules.

Selection logic is rule-based and is tested with a decision table, not with a message-ordering test.

The ground station failing to recover after the link drops mid-pass, which is a reliability concern exercised by interrupting the stream and observing whether the session is re-established within the agreed window.

Recovery after interruption is a reliability test; the diagram as given describes only the nominal message exchange.

The Antenna acting on StartDownlink although Locked has not been received, which the test provokes by issuing the two messages in the wrong order and checking that the Antenna rejects the premature request.

Correct answer

Ordering and missing-response defects are what a sequence-diagram-derived test is designed to expose.

Why

A sequence diagram fixes the order of messages over time, so tests derived from it target ordering and response defects: a component acting before the message it depends on has arrived, or a reply that never comes. Here the most valuable case is sending StartDownlink before Locked has been received and checking the Antenna rejects it.

Question 25

A waste collection fee table has three binary conditions, so eight condition…

A waste collection fee table has three binary conditions, so eight condition combinations exist. The table as written contains five rules; applying the checksum procedure, the Test Analyst finds that the rule weights add up to ten rather than eight. What has the checksum revealed, and what should be done?

Two condition combinations are missing from the table, because the shortfall between the five written rules and the eight possible combinations is what the checksum procedure reports as the gap to be filled by the analyst.

A missing combination makes the checksum fall below the total; here it is above, which signals the opposite problem.

At least one condition combination is matched by more than one rule, because the rule weights sum above the number of possible combinations, so the table overlaps and the conflicting rules must be resolved.

Correct answer

A checksum above the number of combinations is the overlap signal, and the conflict has to be settled before test design.

The table has been correctly minimised using don't-care entries, because merging rules with don't-cares is exactly what raises the sum of the rule weights above the number of distinct condition combinations in the table.

Don't-care entries raise individual rule weights, but a correctly minimised table still sums to the total number of combinations.

Two of the five rules are infeasible and should be struck out, since a checksum above the number of combinations is how the procedure marks rules whose condition values cannot occur together in practice.

Infeasible rules are identified from domain knowledge about which condition values can co-occur, not from the checksum.

Why

In the checksum procedure each rule contributes a weight equal to the number of condition combinations it represents, and the weights of a complete, non-overlapping table sum to the total number of combinations. A sum above that total means some combinations are matched by more than one rule, so the table overlaps and the conflicting rules must be resolved before tests are designed.

Question 26

A Test Analyst runs timeboxed exploratory sessions on a recruitment platform and has to report the sessions to the test manager. Besides the charter and the notes on what was found, what does session-based test management require the session sheet to record?

How the timebox was actually spent, broken down into test design and execution, investigating and reporting the defects found, and session setup, so the manager can see how much of the booked time produced coverage.

Correct answer

The time breakdown is the reporting device that makes exploratory sessions measurable and comparable.

A scripted test case with concrete inputs and expected results for every observation made during the session, so that any behaviour seen while exploring can be re-executed later by a different tester without further analysis.

Writing up findings as scripted cases may follow later; it is not part of what the session sheet records.

The percentage of the requirements specification covered by the session, calculated from the traceability matrix so that exploratory effort can be reported in the same units as the scripted regression suite.

Requirement coverage percentages are not what a session sheet produces; sessions are reported by charter and time.

A risk score for each defect found during the session, agreed with the product owner before the session is closed, so that the manager can rank the findings across all the sessions run during the iteration.

Risk scoring of defects is part of defect management and is done outside the session, not recorded on the sheet.

Why

Session-based test management makes an exploratory session measurable by recording how the timebox was actually spent, split between test design and execution, investigating and reporting defects, and session setup. That breakdown is what lets the manager see how much of the booked time produced coverage.

Question 27

A telecom provisioning rules engine had its test cases generated from a model…

A telecom provisioning rules engine had its test cases generated from a model for two years. The rules now change weekly, each change needs a modeller to rework the model, and the generated suite is regenerated in minutes but reviewed for a day. Which judgement about continuing with automated test design is sound?

Continue unchanged, because generation from a model produces systematic coverage and that benefit outweighs any amount of effort spent on keeping the model current with the weekly rule changes.

Systematic coverage is real, but the syllabus names model maintenance effort as a risk that can outweigh it.

Abandon generation and return to manual design, because a model that has to be reworked every week has been shown to be the wrong basis for designing tests for a rules engine of this kind.

Dropping generation discards consistent coverage before the actual cost driver has been examined.

Keep generating but stop reviewing the regenerated suite, because the generator applies the same coverage criterion every time and so cannot introduce a defect into the cases that it produces from the model.

Generated tests inherit any error in the model, which is precisely why the output still has to be reviewed.

Re-examine where the effort actually goes: the weekly modelling and the day spent reviewing now cost more than fast regeneration saves, so the balance has to be reassessed rather than assumed.

Correct answer

The syllabus weighs the benefits of test design automation against model maintenance cost, which is what has shifted here.

Why

The benefit of generating tests from a model is fast, consistent regeneration after change. That benefit is only realised if the model itself can be maintained at the pace of change. When modelling and reviewing the regenerated suite costs more than the regeneration saves, the economics have moved, and the right response is to re-examine where the effort goes rather than to assume either that automation always pays or that it never does.

Question 28

A chess tournament platform models a match with the states Scheduled, In…

A chess tournament platform models a match with the states Scheduled, In Progress, Completed and Abandoned, and the transitions Scheduled to In Progress, In Progress to Completed, In Progress to Abandoned, and Abandoned to Scheduled on rescheduling. Which TWO statements about 1-switch coverage of this machine are correct? (Choose two.)

Four transition pairs have to be exercised, because Completed has no outgoing transition and so begins no pair.

Correct answer

Pairs are counted only where a second transition can follow, which rules out any pair beginning at Completed.

Sixteen sequences have to be exercised, because 1-switch coverage requires every one of the four transitions to be followed by every one of the four transitions in the machine, including itself.

Only pairs in which the second transition actually leaves the state the first one arrived in are valid.

One test running Scheduled, In Progress, Abandoned, Scheduled, In Progress, Completed chains all the required pairs.

Correct answer

That run produces the four consecutive-transition pairs in sequence, so a single test case satisfies the criterion.

Achieving 0-switch coverage on this machine also achieves 1-switch coverage, because each of the four transitions takes part in exactly one pair and so is covered as soon as the transition itself has been executed.

0-switch coverage says nothing about which transition follows which; the pairs can be missed entirely.

Attempting the invalid sequence Completed followed by Scheduled is required, because 1-switch coverage is defined over all ordered pairs of states and therefore includes the pairs for which no transition is specified.

N-switch coverage is defined over valid transitions; testing invalid transitions is a separate, deliberate choice.

Why

1-switch coverage exercises every valid pair of consecutive transitions. Completed has no outgoing transition, so the pair starting with In Progress to Completed does not exist and four pairs remain. A single run through Scheduled, In Progress, Abandoned, Scheduled, In Progress, Completed chains all four of them.

Question 29

A forestry harvest permit is granted when the requested area is at most 50 hectares. The Test Analyst prepares domain test points for the area variable and considers the values 25, 50, 51 and 80 hectares. Which of them is the OUT point?

25 hectares, because it is the value furthest from either end of the permitted range and the OUT point is defined as the value that lies outside the region where boundary defects are expected to cluster.

25 hectares lies inside the domain, which makes it the IN point rather than the OUT point.

80 hectares, because an OUT point lies clearly outside the domain rather than immediately beyond its border, which is where the adjacent OFF point of 51 hectares sits on this closed border instead.

Correct answer

An OUT point is a value well outside the domain, in contrast to the adjacent OFF point.

51 hectares, because it is the first value that the permit system has to reject and the OUT point is by definition the smallest value lying outside the boundary of the domain under test.

The first rejected value immediately beyond a closed border is the OFF point, not the OUT point.

50 hectares, because the border value itself is the one most likely to be handled incorrectly and the OUT point is the name given to the value that sits exactly on a closed border.

The value on a closed border is the ON point; it is inside the domain and must be accepted.

Why

On a closed border the ON point sits on the border itself, so 50 is the ON point and 51 is the OFF point just outside it. An IN point lies well inside the domain, which 25 does. An OUT point lies clearly outside the domain rather than adjacent to the border, which is what 80 hectares is.

Question 30

A gym membership process is modelled in BPMN. One gateway is exclusive and…

A gym membership process is modelled in BPMN. One gateway is exclusive and routes a cancellation request to either a refund path or a no-refund path. A second gateway is inclusive and may trigger a confirmation email, a trainer notification and a locker release, in any combination. How does that difference change the scenario tests?

Both gateways need one test per outgoing path, because in BPMN every gateway hands control to a single outgoing sequence flow and the inclusive gateway merely relaxes the order in which those flows are evaluated.

An inclusive gateway can activate several outgoing flows at once, which is the difference the tests must reflect.

The exclusive gateway needs tests for every combination of its two outgoing paths, while the inclusive gateway needs only one test per path because its outputs are produced independently of one another at run time.

This reverses the two: it is the exclusive gateway that takes exactly one path.

One test per outgoing path is enough at the exclusive gateway, because exactly one of them is taken, while the inclusive gateway also needs the combinations of the three paths that can be activated together on one request.

Correct answer

An inclusive gateway may activate any non-empty subset of its outgoing flows, so combinations have to be exercised.

Neither gateway affects scenario test design, because gateway semantics are an implementation concern for the process engine and the Test Analyst derives scenarios from the use case descriptions instead of from the BPMN model.

The syllabus names BPMN among the bases for scenario-based testing, and gateway semantics drive the scenarios.

Why

An exclusive gateway activates exactly one outgoing path, so one test per path is enough. An inclusive gateway may activate any non-empty subset of its outgoing paths, so the tests have to cover the combinations that can be triggered together, not just each path on its own.

Question 31

An online auction listing has four parameters: category (Electronics, Clothing…

An online auction listing has four parameters: category (Electronics, Clothing, Collectibles), duration (3, 7, 10 days), reserve price (set, not set) and shipping (domestic, international). Production logs show Electronics 55%, 7 days 60%, no reserve 70% and domestic 80%. Which base test case and test count does base choice coverage give?

Base case Collectibles, 10 days, reserve set, international, giving 7 test cases, because taking the least frequent value of each parameter as the base concentrates the single-change variations on the paths users exercise least often.

Base choice coverage builds the base from the most frequent or most important values, not the rarest ones.

Base case Electronics, 7 days, no reserve, domestic, giving 36 test cases, because every value of every parameter has to be combined with every value of all the other parameters once the base case has been fixed.

Combining all values exhaustively gives 3 x 3 x 2 x 2 = 36 cases, which is what base choice coverage avoids.

Base case Electronics, 7 days, no reserve, domestic, giving 4 test cases, one for each parameter in the classification, since a single substituted variation per parameter is enough to satisfy the criterion.

Every non-base value needs its own variation, and category and duration each contribute two of them.

Base case Electronics, 7 days, no reserve, domestic, giving 7 test cases: the base is formed from the most frequently used value of each of the four parameters, and six further cases each substitute one other value into it.

Correct answer

The most frequent value of each parameter forms the base, and the six remaining values are substituted one at a time.

Why

The base test case for base choice coverage is formed from the most important or most frequently used value of each parameter, here Electronics, 7 days, no reserve and domestic. Each remaining value is then substituted into the base one at a time: two extra values for category, two for duration, one for reserve and one for shipping, so six variations plus the base make seven test cases.

Question 32

A water quality monitoring station parses telemetry files from field sensors. The Test Analyst fuzzes 50,000 malformed files, for which no expected output exists. Which TWO of the proposals below can serve as an oracle for that run? (Choose two.)

Treat any crash, hang or unhandled exception as a failure, since no input, however malformed, justifies one.

Correct answer

Robustness failures are judged without an expected result, which is why they are the standard fuzzing oracle.

Have a domain expert inspect the parsed output of each generated file and decide from experience whether the station has interpreted the malformed telemetry sensibly in that particular case.

A human oracle is sound in principle but cannot be applied to 50,000 generated files within any realistic budget.

Assert invariants that any output must satisfy, such as a pH within 0 to 14 and no more parsed records than lines in the file.

Correct answer

Property-based assertions give an automatic verdict without a per-input expected result.

Compare the parsed output of each generated file with the parsed output of the previous one, and report a failure whenever the two results differ by more than a configured tolerance for the measured values.

Two fuzzed inputs are unrelated, so comparing their outputs compares two unknowns and yields no verdict.

Accept the run as passed for every file that produced no entry in the station's error log, on the grounds that the parser writes a log entry whenever it encounters input it cannot interpret correctly.

Silent misparsing is the defect class fuzzing looks for, so an empty log is not evidence of a correct result.

Why

Without expected results, a fuzz run needs oracles that judge a result from properties rather than from a specified value. A crash, hang or unhandled exception is a failure whatever the input was. So is a violation of an invariant the output must always satisfy, such as a pH outside 0 to 14 or more parsed records than lines in the file. Manual inspection does not scale to 50,000 files, comparing consecutive fuzzed outputs compares two unknowns, and a silent log proves nothing about what was parsed.

Question 33

A bike-share dock releases a bike when the member balance is at least 2.00 EUR…

A bike-share dock releases a bike when the member balance is at least 2.00 EUR, and the dock itself moves Occupied to Released to Empty and back to Occupied when a bike is returned. The proposed suite uses the balances 2.00, 1.99 and 5.00, and exercises Occupied to Released and Released to Empty. The analyst claims it achieves reliable domain coverage and 1-switch coverage. Evaluate that claim.

Reliable domain coverage is achieved but 1-switch coverage is not, because 2.00, 1.99 and 5.00 supply the ON, OFF and IN points that the reliable criterion asks for on a closed lower border.

The reliable criterion also needs an OUT point well outside the domain, which the three balances do not provide.

Neither is achieved: an OUT point well outside the balance domain is missing, and with the Empty to Occupied transition left unexercised the suite does not even reach 0-switch coverage, let alone a pair.

Correct answer

Reliable domain coverage needs an OUT point, and 1-switch coverage needs pairs the suite never forms.

1-switch coverage is achieved but reliable domain coverage is not, because running Occupied to Released and then Released to Empty forms a consecutive pair and no further transitions exist in the dock model.

The return transition Empty to Occupied does exist, so further pairs are available and the criterion is not met.

Both are achieved, because the three balances cover the border of the balance domain from both sides and the two transitions cover the dock cycle from the moment of release to the moment the dock becomes free.

Covering a border from both sides is simplified domain coverage, and two of three transitions is not a full cycle.

Why

The balances give the ON point 2.00, the OFF point 1.99 and an IN point 5.00, but no OUT point well outside the domain, so reliable domain coverage is not reached. On the state side only two of the three transitions are exercised, so even 0-switch coverage is incomplete and no transition pair is covered at all. Both claims therefore fail.

Chapter 4 · Testing Quality Characteristics — 4 questions

Question 34

A conference submission system is evaluated with reviewers who complete a full submission without difficulty, yet afterwards report that the process left them unsure whether submitting was worth the effort. Which quality concept does that second finding belong to?

Interaction capability, because the reviewers formed a judgement about the submission process while operating it and any evaluation gathered during operation falls under that characteristic of the product quality model.

Interaction capability covers whether the product can be operated; the reviewers operated it successfully.

Functional appropriateness, because a submission process whose value the reviewers doubt cannot be facilitating their task, and appropriateness is the sub-characteristic concerned with task support in the functional group.

Functional appropriateness asks whether the functions support the task; the reviewers completed the task as intended.

Beneficialness, a quality-in-use concept in ISO/IEC 25019 covering the benefit the user perceives from using the product.

Correct answer

Perceived benefit after successful operation is what beneficialness addresses, alongside interaction capability.

Accessibility, because reviewers who are uncertain about the value of the process have in effect been excluded from using the system fully, and accessibility covers the widest possible range of people being able to use a product.

Accessibility concerns people with the widest range of characteristics being able to use the product, not perceived value.

Why

Interaction capability in ISO/IEC 25010 covers whether the product can be operated: learnability, operability, user error protection and so on. Beneficialness in ISO/IEC 25019 is a quality-in-use concept covering whether using the product leaves the user with a perceived benefit. Here operation succeeded, so the gap is in beneficialness.

Question 35

A public library is preparing usability test sessions for its new catalogue. Which TWO statements about the use of personas and operational profiles in those sessions are correct? (Choose two.)

Personas describe representative users and their goals, so the participants recruited and the tasks they are given reflect real catalogue users.

Correct answer

Grounding participants and tasks in representative user descriptions is what personas contribute to a session.

Using well-researched personas lets the session run without recruiting real participants, because the described behaviour of each persona can be walked through by the Test Analyst against the catalogue instead.

A walkthrough against a persona is a usability review; a usability test session needs real users.

An operational profile shows how often each catalogue task occurs, so the session concentrates on the tasks users perform most.

Correct answer

Usage frequencies let the limited session time be spent on the tasks that dominate real use.

A session built on personas yields a defect count comparable with the one produced by functional system testing, since every difficulty a participant meets is recorded as a defect against the catalogue requirements.

Usability findings are observations about the interaction and are not comparable with functional defect counts.

Including a persona with a visual impairment covers the accessibility requirements for the catalogue, so a separate evaluation against the WCAG success criteria is no longer needed before the catalogue is released.

Accessibility is evaluated against WCAG success criteria in its own right; a persona does not replace that.

Why

Personas describe representative users, including their goals and their level of experience, so that participants and tasks reflect the people who will really use the catalogue. Operational profiles say how often each task occurs in practice, so the session concentrates on the tasks users perform most. Neither replaces real participants, neither produces a defect count, and a persona is not a substitute for accessibility testing.

Question 36

A point-of-sale terminal application is rolled out to shops. Observation A: the…

A point-of-sale terminal application is rolled out to shops. Observation A: the installer fails on terminals where the shop has moved the data folder to a second disk. Observation B: once installed, the application cannot be configured for shops whose receipt printer uses a narrower paper roll. Which flexibility sub-characteristics do A and B belong to?

A is installability, because the installation itself fails in one of the target environments, and B is adaptability, because the installed product cannot be adjusted to a different environment without being changed.

Correct answer

Installability covers installing in the target environment; adaptability covers adjusting to a different one afterwards.

A is adaptability and B is installability, because the folder relocation is a variation in the environment that the product must adapt to, while the printer configuration is settled as part of the installation routine.

This reverses them: the failure happens during installation in A and after installation in B.

Both are replaceability findings, because in each case a component of the shop environment has been exchanged for a different one and the terminal application has to go on working with the replacement.

Replaceability is about this product replacing another product, and the syllabus assigns it to the Technical Test Analyst.

Both are coexistence findings, because the terminal application has to share the shop hardware with the other software and peripherals already installed on it without interfering with any of them.

Coexistence belongs to compatibility and is a Technical Test Analyst responsibility, not a flexibility sub-characteristic.

Why

Installability concerns whether the product can be successfully installed or uninstalled in its target environments, so a failing installer is an installability finding. Adaptability concerns whether the product can be adjusted to different environments without changing it, so an inability to configure for a different printer is an adaptability finding.

Question 37

A hydroponic greenhouse dashboard was specified with four reports: nutrient…

A hydroponic greenhouse dashboard was specified with four reports: nutrient dosing, water use, light hours and yield forecast. The delivered dashboard produces the first three correctly and accurately, but the yield forecast report is absent. Which functional suitability sub-characteristic is deficient?

Functional correctness, because a dashboard that omits one of the four specified reports cannot be producing the correct results for the greenhouse as a whole, however accurate the three delivered reports are.

Functional correctness concerns the accuracy of the results that are produced; the delivered reports are accurate.

Functional appropriateness, because the growers cannot complete their planning task without a yield forecast and appropriateness is the sub-characteristic that asks whether the functions facilitate the user's task.

Appropriateness is about whether existing functions fit the task; here a specified function is simply absent.

Interaction capability, because the growers have no way of reaching the forecast information through the dashboard interface and therefore cannot operate the product to achieve the goal they came to it with.

Interaction capability concerns operating the product, not whether a specified function was built at all.

Functional completeness, because the set of functions delivered does not cover all the specified tasks.

Correct answer

A specified report that was never implemented is a gap in the coverage of the specified tasks.

Why

Functional completeness asks whether the set of functions covers all the specified tasks and user objectives. A specified report that is missing is a completeness deficiency, not a correctness one: the reports that do exist produce correct results, and no claim is made that they fail to support the user's task.

Chapter 5 · Software Defect Prevention — 8 questions

Question 38

An early, incomplete draft of a requirements document is circulated and the author wants reviewers to surface whatever strikes them, with no prepared structure. Which review technique does the CTAL-TA syllabus describe for that situation?

Checklist-based review, because working through an agreed list of defect types is the most efficient way of covering a document whose structure has not yet settled and whose sections are still being added to.

A checklist presumes known defect types and a stable structure to apply them to.

Scenario-based review, because walking a draft against the scenarios the system is expected to support keeps even an unfinished document anchored to the behaviour that the stakeholders have actually asked for.

Scenario-based review needs scenarios to walk through, which an incomplete early draft does not yet supply.

Ad hoc review, because reviewers are given no guidance and report whatever they notice.

Correct answer

Ad hoc review is the unguided technique the syllabus describes, and it fits a rough early draft.

Perspective-based reading, because assigning each reviewer a stakeholder viewpoint spreads the attention across the draft and is therefore the technique that finds the most defects in a document of any maturity.

Perspective-based reading is effective but asks each reviewer to produce a work product from a fairly complete document.

Why

Ad hoc review gives reviewers no guidance and relies on what each of them notices, which suits a rough early draft where the shape of the document is still changing. Checklist-based review needs a checklist, scenario-based review needs scenarios, and perspective-based reading assigns stakeholder viewpoints and asks each reviewer to produce a work product.

Question 39

Which TWO of the following are cost of quality categories that the CTAL-TA syllabus uses when arguing for defect prevention? (Choose two.)

Prevention costs, which are spent on keeping defects from being introduced in the first place.

Correct answer

Prevention cost is one of the two components of the cost of conformance.

Opportunity cost, which measures the value of the features that were not built because the available development capacity was spent on testing and on fixing the defects that testing reported.

Opportunity cost is a general economic concept and is not one of the cost of quality categories.

External failure costs, which arise once a defect has reached the customer and has to be handled in the field.

Correct answer

External failure cost is one of the two components of the cost of non-conformance.

Capital expenditure on the test environment, covering the servers, network equipment and licences that the organization has to buy before any testing of the product can begin at all.

Infrastructure spending is an input to testing, not a cost of quality category in the model the syllabus uses.

Tool licence costs, counted separately from the other categories because a test management or automation licence is renewed annually whether or not any defects are found during the period it covers.

Licence cost is an operating expense; the model distinguishes conformance from non-conformance costs instead.

Why

Cost of quality is split into the cost of conformance, made up of prevention costs and appraisal costs, and the cost of non-conformance, made up of internal failure costs and external failure costs. Opportunity cost, capital expenditure and licence cost are not part of that model.

Question 40

On a conference submission system, 24 defects are traced back to the requirements phase. Reviews during that phase found 18 of them; the remaining 6 were found later, in system testing and after release. What is the phase containment effectiveness for the requirements phase?

25%, taking the 6 defects that escaped the requirements phase as a share of the 24 defects traced back to it, which is the figure that reports how much of the phase's defect content leaked onwards.

That figure is the escape rate, the complement of phase containment effectiveness rather than the metric itself.

75%, because phase containment effectiveness divides the defects found in a phase by the defects introduced in it, and 18 of the 24 requirements defects were found in that phase.

Correct answer

Phase containment effectiveness divides the defects found in the phase by the defects introduced in it.

33%, dividing the 6 escaped defects by the 18 that the reviews caught, which expresses how many defects slip through for every three the reviews in the phase manage to contain.

Dividing escapes by catches is not a defined metric; the denominator must be the defects introduced in the phase.

90%, which is the defect removal efficiency of the project rather than the phase, since defect removal efficiency is the metric that counts the defects found before release against all the defects known.

Defect removal efficiency is a different metric, and the data given does not yield 90% for it either.

Why

Phase containment effectiveness is the proportion of the defects introduced in a phase that are also found in that same phase: 18 divided by 24, which is 75%. The remaining 6 defects escaped the phase in which they were introduced and were found later.

Question 41

A music royalty distribution platform changed how splits are calculated for sublicensed tracks. The regression suite reports 100% requirement coverage, yet two production incidents involved sublicensed tracks. Which analysis should the Test Analyst run, and what will it show?

Test gap analysis, comparing the changed behaviour against what the suite covers, which will show the sublicensing path has no test even though its requirement is marked covered.

Correct answer

Test gap analysis is the technique for finding behaviour the suite never exercises despite complete requirement coverage.

Defect cluster analysis, grouping the reported incidents by module in order to show that the royalty calculation component carries a higher defect density than the rest of the platform and should receive more test effort.

Cluster analysis locates where defects concentrate but does not reveal behaviour that was never tested.

Defect detection percentage, calculated for the release in order to establish what share of the defects now known to exist in the platform was actually found by the team before the royalty changes were released.

Defect detection percentage quantifies how much testing caught; it does not identify the untested path.

Defect arrival pattern analysis, plotting the incidents over the weeks since release to judge whether the arrival curve has peaked and the platform is approaching the stable part of the Rayleigh distribution.

Arrival patterns describe the shape of discovery over time, not which behaviour the suite leaves uncovered.

Why

Test gap analysis compares what the product actually does, including what has recently changed, against what the tests cover. Requirement coverage can be complete while a changed path has no test at all, because the change was folded into an existing requirement. The analysis makes that untested path visible.

Question 42

A ferry booking release is at its planned end of system testing. Defects arrived at 12, 21, 33, 40 and 46 per week over the five weeks, with no sign of a decline. What does the defect arrival pattern tell the Test Analyst to report?

That the testing has been highly effective and the phase can close, because a rising number of defects found each week is direct evidence that the team is finding more of the content of the release as it goes on.

A rising arrival rate shows defects are still being found, which argues against closing rather than for it.

That the test cases have begun to overlap, because the steady weekly increase in defects reported is what the Rayleigh model predicts when the same behaviour is being exercised repeatedly by different test procedures.

The Rayleigh model describes the shape of defect discovery over a phase, not duplication between test cases.

That the arrival curve has not yet peaked, so the evidence does not support declaring system testing complete on the planned date.

Correct answer

The Rayleigh model expects a peak and then a decline; a still-rising curve means the phase is not near its end.

That the defect arrival data cannot be interpreted at all until the release has been in production for a comparable number of weeks, because the model requires post-release arrivals to anchor the shape of the distribution.

The pattern during the phase is itself informative; waiting for production data defeats the purpose of monitoring it.

Why

Under the Rayleigh model defect arrivals rise, peak and then decline as a phase approaches completion. A curve that is still climbing at the planned end of testing suggests the peak has not been reached, so the evidence does not support declaring the phase complete, whatever the planned date says.

Question 43

A toll road operator proposes five measures after a difficult release. Which TWO of them aim at preventing defects from being introduced in the first place, rather than at containing them in the phase or preventing their recurrence? (Choose two.)

Resolve ambiguous wording in the tariff requirements with the stakeholders before any of them are handed to development.

Correct answer

Clarifying the requirement before it is implemented stops the defect from being introduced at all.

Introduce a checklist-based review of every design document so that defects which did find their way into the design are reported while the design phase is still open and before coding starts.

Catching a defect in the phase that introduced it is phase containment, which assumes the defect already exists.

Model the tariff rules as a decision table while the specification is being written, so gaps and contradictions are reasoned through up front.

Correct answer

Modelling during specification forces the rules to be thought through before any defect can be written into them.

Run root cause analysis on the five most severe field defects of the release and classify the results against a defect taxonomy so that the pattern behind them can be addressed in the next release cycle.

Root cause analysis on defects that already escaped is aimed at preventing recurrence, not introduction.

Add an exploratory testing session for each new tariff feature before the release is handed over, so that defects not covered by the scripted suite are found while there is still time to fix them.

Exploratory sessions detect defects that exist; detection is not prevention of introduction.

Why

Preventing introduction means acting before the work product exists or while it is being written: clarifying ambiguous requirements with the stakeholders and modelling the tariff rules so the specification is reasoned through. Reviews that catch defects in the phase are phase containment, and root cause analysis with a taxonomy addresses recurrence.

Question 44

At a wine distributor, Pareto analysis shows 62% of field defects come from the…

At a wine distributor, Pareto analysis shows 62% of field defects come from the excise duty module, and ODC classification shows most of them have the defect type "checking" with the trigger "rare configuration". Three actions are proposed. Which one prevents recurrence rather than merely improving detection?

Write the required validation rules for every duty configuration into the specification and review each new duty rule against them, so that the checks that were omitted cannot be left out of the code a second time.

Correct answer

Changing the specification and the review so the missing checks cannot be omitted again addresses recurrence.

Extend the regression suite with pairwise combinations of the excise duty configuration parameters, so that the rare configurations behind the reported field defects are exercised during every release of the distribution platform.

Broader combinatorial coverage is a sound detection improvement, but it finds the defects rather than stopping them.

Add production monitoring that raises an alert whenever a duty calculation is performed for one of the rare configurations, so that incorrect results are noticed within hours instead of at the end of the reporting quarter.

Faster detection in production shortens the exposure but leaves the defect class free to be introduced again.

Reclassify the field defects against IEEE 1044 as well as ODC, so that two independent classification schemes agree on the nature of the excise duty findings before any improvement action is selected by the team.

A second classification adds confidence in the diagnosis but is not itself an action that prevents anything.

Why

A "checking" defect type with a "rare configuration" trigger says the code omits validation for configurations that are seldom exercised. Adding tests or monitoring would find more such defects; writing the required validation rules into the specification and reviewing new duty rules against them stops that class of defect from being written again.

Question 45

A printing press job queue product reports requirements phase containment…

A printing press job queue product reports requirements phase containment effectiveness of 55% and design phase containment effectiveness of 90%. Escaped requirements defects cost on average eight times more to fix than those caught in the phase. Management asks whether to move two reviewers from design reviews to requirements reviews. How should the Test Analyst frame the answer?

Weigh the eightfold cost of the escaped requirements defects against the design containment that may be lost, recommend the move, and monitor both containment figures and the escape cost next release.

Correct answer

This is the cost of quality trade-off: appraisal effort moved against failure cost avoided, with the result measured.

Decline the move, because design phase containment effectiveness of 90% is the strongest figure the product has and reducing the reviewer count there would put the one phase that is demonstrably working under avoidable risk.

Protecting the strongest phase ignores that the escapes from the weakest one cost eight times as much to fix.

Recommend the move on the strength of the 55% figure alone, since the phase with the lowest containment effectiveness is where additional appraisal effort returns the most value to the organization.

The right conclusion reached without weighing what is given up, and the syllabus asks for both sides of the trade-off.

Reply that phase containment effectiveness cannot support a staffing decision, because it counts defects rather than the effort spent finding them and the two phases may differ in the number of work products reviewed.

The metric is imperfect but it is exactly what the syllabus offers for judging where appraisal effort pays off.

Why

The cost of quality argument compares the appraisal effort moved against the internal and external failure cost avoided. Requirements containment is weak and its escapes are expensive, so the move is plausible, but the answer has to say what would be given up: design containment is already strong and may fall. The recommendation is to move the effort and monitor both figures and the escape cost, rather than to treat either number as settling it.