Limited-Time Offer: Enjoy 50% Savings! Coupon code: 50OFF Use it at checkout
Skip to content

Free ASTQB ISTQB Advanced Level CTAL Exam Questions

Last updated: · 13 practice questions with answers and explanations

Page: 1 / 9 Total 82 questions

Want more questions? Get Premium Access.

Question 1

New Single answer

Topic: 1. The Technical Test Analysts Tasks in Risk -Based Testing

Skill tested: Prioritizes technical risk factors and selects appropriate Technical Test Analyst activities.

A payment platform is preparing a release that replaces a long-established transaction-routing component. The new component has complex configuration, interacts with several external gateways, and has had little operational use. A routine user-interface change is also included. The release date is fixed, and the team cannot execute every planned test. Which approach best reflects the Technical Test Analyst's contribution to risk-based testing?

Correct Answer: C. Assess likelihood and impact using technical factors such as complexity, interfaces, change history, and failure consequences; use that assessment to focus test analysis and execution on the routing component.
Explanation:

Risk-based testing uses product risks to guide test effort. The Technical Test Analyst contributes technical knowledge about factors such as complexity, interfaces, technology novelty, change history, and the consequences of failure, then helps derive focused test conditions and appropriate test techniques. The routing component combines elevated likelihood and impact, so it merits greater attention than a routine UI change. Test-suite size does not measure risk, equal effort ignores differences in risk, and waiting for failures discards the value of preventive risk analysis.

Question 2

New Single answer

Topic: 2. White-box Test Techniques

Skill tested: Designs statement-coverage tests by tracing executable statements through a specification.

A technical test analyst must design a minimal test set for this function, with the explicit objective of executing every executable statement at least once. Assume valid inputs and that each function call returns normally. `result = 0; if (amount > 100) { fee = 5; result = amount - fee; } else { result = amount; } log(result); return result;` The analyst is not required to cover every branch or condition independently. Which test set is sufficient and meets the stated objective?

Correct Answer: B. Two inputs, amount = 80 and amount = 120.
Explanation:

Statement coverage requires every executable statement to run at least once. An amount of 80 executes the `else` assignment, while 120 executes the `fee` assignment and the subtraction statement. Both paths also execute initialization, logging, and return. Either input alone leaves the other branch's statements unexecuted. The boundary value of 100 does not add necessary statement coverage beyond the two required paths, and the objective does not require boundary or decision coverage.

Question 3

New Multiple answers

Topic: 2. White-box Test Techniques

Skill tested: Selects test cases that independently demonstrate MC/DC for a compound Boolean decision.

A controller grants access only when `((authenticated AND token_valid) OR emergency_override)` is true. All three conditions are independently controllable, and the required coverage is modified condition/decision coverage (MC/DC). Each test records the values of the three conditions and the resulting decision. Which test set demonstrates MC/DC? Select TWO answers: one set must be selected from the choices.

Correct Answer: C. (authenticated=T, token_valid=T, emergency_override=F), (F,T,F), (T,F,F), (F,F,T).; E. (T,T,F), (F,T,F), (T,F,F), (F,F,F), (F,F,T).
Explanation:

MC/DC requires each condition to be shown to independently change the overall decision while the other conditions remain fixed. In A, authenticated is isolated by (T,T,F)/(F,T,F), token_valid by (T,T,F)/(T,F,F), and emergency_override by (F,F,F)/(F,F,T). E contains all those pairs as well. B and D keep the emergency override true in the relevant comparisons, masking changes in the other conditions; C lacks a pair that demonstrates token_valid independently changing the decision with the remaining conditions fixed.

Question 4

New Single answer

Topic: 2. White-box Test Techniques

Skill tested: Applies McCabe's Simplified Baseline Method to derive basis paths and test inputs.

A diagnostic routine has this control flow: Start → test `A`; if true, execute `P` and continue to test `C`; if false, skip `P` and continue to test `B`. If `B` is true, execute `Q`; otherwise skip it. Both routes then reach test `C`. If `C` is true, execute `R`; otherwise skip it. All routes terminate at End. The tests are binary and independent. Using McCabe's Simplified Baseline Method, which set is a valid basis set of paths?

Correct Answer: C. Three paths: A=T, C=T; A=F, B=T, C=T; and A=F, B=F, C=F.
Explanation:

There are three decision nodes, so the cyclomatic complexity is four, often expressed as the number of independent paths required. However, the Simplified Baseline Method adds paths that introduce previously untraversed edges: the first path covers the true edges, the second introduces A's false edge and B's true edge, and the third introduces B's false edge and C's false edge. Thus three tests can cover all edges in this structured graph; D includes an unnecessary fourth path and is not the minimal baseline set. A and B fail to exercise all edges.

Question 5

New Single answer

Topic: 2. White-box Test Techniques

Skill tested: Uses API boundary, state, and error behavior to derive focused interface tests.

A service exposes `POST /reservations` with a JSON request containing `customerId`, `resourceId`, and `startTime`. The contract requires an authenticated caller, rejects a missing required field, and prevents the same customer from reserving the same resource at overlapping times. The implementation has limited observability, and the team wants API tests that reveal interface defects without duplicating unrelated UI checks. Which test approach is most appropriate?

Correct Answer: D. Exercise valid and invalid contract inputs, authentication behavior, relevant boundary values, duplicate/overlapping requests, and response status and body consistency.
Explanation:

API testing should validate the interface contract, including required fields, authentication, accepted and rejected inputs, business rules, and consistency of responses. Overlap and duplicate scenarios target the stated reservation rule, while boundary and negative inputs can expose validation defects. A single happy path is too narrow; browser-only repetition adds UI dependencies and may not isolate the API; and malformed JSON alone cannot establish that normal contract and business behavior works. Tests should assert meaningful status and payload expectations rather than merely accept any response.

Question 6

New Multiple answers

Topic: 2. White-box Test Techniques

Skill tested: Distinguishes unique-condition decision coverage from full multiple-condition coverage.

A safety-related function evaluates `A AND (B OR C)`. The test objective explicitly requires multiple-condition testing, meaning every possible combination of the atomic conditions must be exercised at least once. The team has a stable test harness that can set the conditions directly, but test execution time is limited. Which statements correctly describe the required design? Select TWO answers.

Correct Answer: B. The output must be recorded for all eight combinations; some combinations may produce the same decision outcome.; E. Eight tests are required because three independent Boolean conditions have eight possible combinations.
Explanation:

Multiple-condition testing, as specified here, requires all combinations of the independent Boolean conditions. Three binary conditions yield 2³, or eight, combinations, even though several combinations produce the same decision result. A reduced MC/DC-oriented set may demonstrate independent condition effects but does not satisfy exhaustive multiple-condition coverage. Testing only true outcomes omits combinations that produce false, and pairwise testing does not guarantee that every full three-condition combination has been exercised.

Question 7

New Single answer

Topic: 3. Analytical Techniques

Skill tested: Identifies control-flow anomalies caused by unreachable code and unstructured transfers.

During static review of a safety controller, a control-flow graph shows that every path entering a loop reaches its termination test. However, the graph also shows a conditional `goto cleanup` that jumps into the middle of a different loop, bypassing that loop's initialization and invariant check. A separate block after an unconditional return has no incoming edge. The team wants to decide what to investigate before approving the change. Which conclusion is most appropriate?

Correct Answer: A. The graph reveals potential control-flow anomalies: unreachable code and a transfer that violates structured loop entry; investigate the jump and remove or justify unreachable logic.
Explanation:

Control-flow analysis identifies possible anomalies in the structure and reachability of execution paths. A block with no incoming path is unreachable, while the jump into a loop can bypass setup and invariants that the loop may rely on. These findings warrant investigation and maintainability or correctness remediation. A termination edge does not establish data-flow correctness, and unreachable code is not automatically harmless. The use of `goto` alone does not prove a runtime failure; the concern is its specific effect on control flow.

Question 8

New Single answer

Topic: 3. Analytical Techniques

Skill tested: Uses dynamic analysis measurements to locate memory leaks under repeated workloads.

A long-running report service passes functional tests but its memory footprint grows during overnight operation. The team can reproduce the issue using a fixed input workload and can run an instrumented build, although instrumentation adds overhead. It needs evidence of whether allocated memory is released and where retained allocations originate; response-time benchmarking is not the current goal. What is the best dynamic-analysis approach?

Correct Answer: A. Use memory profiling or leak-detection instrumentation during repeated workload execution, then inspect allocation and deallocation records for retained objects.
Explanation:

Memory profiling and leak-detection instrumentation observe actual execution, allowing the team to identify allocations that remain live after repeated processing and trace their origins. A controlled, repeatable workload makes comparisons useful, while the known instrumentation overhead should be considered when interpreting performance measurements. Response-time load testing does not directly establish whether memory is released. Static analysis can identify some suspicious patterns but cannot replace the requested runtime evidence, and forcing termination yields weak, indirect diagnosis.

Question 9

New Multiple answers

Topic: 4. Quality Characteristics for Technical Testing

Skill tested: Matches non-functional test types to resilience, capacity, and resource risks.

A regional booking system must support four times its current peak traffic after a marketing launch. Its service-level requirement specifies a maximum response time at expected peak load. It must also recover from loss of one application node without losing confirmed bookings. The team has limited test environments and must prioritize tests that directly address these distinct product risks. Which test types are most appropriate? Select TWO answers.

Correct Answer: D. Load testing at expected peak and forecast traffic to assess response time, throughput, and resource use against the requirement.; E. Stress testing above expected peak load to investigate behavior and recovery when the system is pushed beyond its anticipated capacity.
Explanation:

Load testing evaluates performance under expected and forecast workloads, directly addressing the fourfold traffic increase and response-time target. Stress testing pushes beyond anticipated capacity and can reveal how the system behaves under overload, including recovery characteristics. Usability and portability do not address these risks. Browser compatibility may be relevant elsewhere, but it does not demonstrate application-node failover or preservation of confirmed bookings; that resilience requirement also needs suitable fault-tolerance and recovery test scenarios.

Question 10

New Single answer

Topic: 4. Quality Characteristics for Technical Testing

Skill tested: Plans security tests around threats, assets, access controls, and expected security behavior.

A healthcare portal is adding an API that exposes appointment records to partner clinics. The test plan must address unauthorized access, protection of sensitive data, and the limited availability of realistic patient records. The architecture identifies authentication, role-based authorization, transport protection, and audit logging, but does not prescribe a specific security tool. Which planning decision is best?

Correct Answer: C. Plan tests against identified threats and security requirements, define authorized and unauthorized roles and expected outcomes, include data-protection and audit checks, and use controlled test data.
Explanation:

Security test planning should derive scenarios from assets, threats, security requirements, interfaces, roles, and expected controls. Here that includes authentication and authorization boundaries, protection of data in transit, and audit behavior, using controlled data to avoid exposing real patient information. Specialist penetration testing can add value but does not replace planned verification of requirements. Production records create unnecessary privacy risk, and encryption alone cannot establish that users are correctly authenticated, authorized, or audited.

Question 11

New Single answer

Topic: 4. Quality Characteristics for Technical Testing

Skill tested: Selects an appropriate lifecycle stage for early non-functional testing and risk reduction.

A logistics company has specified that its dispatch service must sustain a peak throughput and remain usable during a planned database maintenance event. A late system test previously revealed that the architecture could not meet the throughput target, forcing a costly redesign. The current project can run lightweight checks before the complete production-like environment is available, but final capacity measurements require integrated infrastructure. Which strategy best applies non-functional testing across the lifecycle?

Correct Answer: D. Review and test non-functional requirements and design assumptions early, use component-level or simulated checks where feasible, then perform realistic integrated performance and resilience testing when the environment is available.
Explanation:

Non-functional risks should be addressed early enough to influence requirements and architecture, rather than discovered only after expensive integration. Early reviews and feasible component or simulated tests provide useful evidence, while realistic end-to-end performance and resilience measurements require an appropriately integrated environment. Waiting for acceptance testing repeats the prior late-discovery problem. Unit testing alone cannot establish system throughput or maintenance behavior, and an early stress test without representative infrastructure is not a substitute for staged validation.

Question 12

New Single answer

Topic: 5. Reviews

Skill tested: Applies architectural review checklist principles to identify coupling and failure-handling risks.

A team reviews a design for a public-facing reservation service. The architecture routes all requests through one shared database adapter. Each application component can call the adapter directly, and failures are handled by retrying indefinitely. The design does not state transaction boundaries or how duplicate requests are prevented after a timeout. A checklist asks reviewers to identify maintainability, reliability, and integration risks. Which finding should be raised as the most significant?

Correct Answer: D. The design leaves failure and transaction semantics unclear: unrestricted retries may amplify outages or duplicate work, while direct coupling to a shared adapter complicates change and integration.
Explanation:

A technical review should identify risks evidenced by the design, not assume that a shared adapter is inherently wrong. Unbounded retries can worsen load during an outage, and without defined timeout, transaction, and idempotency behavior a retry may cause duplicate reservations. Direct dependencies from every component on the adapter can also increase coupling and make change and integration harder. The adapter does not automatically guarantee transaction semantics or idempotency, and programming language choice is not the key issue described by the checklist.

Question 13

New Single answer

Topic: 6. Test Tools and Automation

Skill tested: Selects automation-project setup activities that support maintainability and measurable return.

A product group plans to automate regression checks for a frequently changing web application. Several teams use different test environments, and previous automation efforts became brittle because scripts mixed business steps, test data, and browser-specific operations. The group needs evidence of value before expanding investment and must avoid locking the suite to one environment. What should the Technical Test Analyst do first?

Correct Answer: B. Define automation goals and success measures, assess tool and environment fit, select a maintainable architecture, and pilot representative high-value tests before scaling.
Explanation:

A sound automation project begins with objectives, measurable benefits, feasibility, tool and environment assessment, and an architecture that separates concerns sufficiently to manage change. A representative pilot can reveal maintenance costs and technical constraints before broad investment. Automating everything immediately repeats the brittleness described and makes value difficult to assess. Selecting by feature count without fit analysis risks poor adoption, while waiting for change to stop forfeits useful regression benefits and is often unrealistic.