Exam Information
Free practice questions with explanations
ASTQB CTAL Practice Questions
Answer a question to see the correct answer and the explanation, or click Show answer. Newest questions first.
- Questions
- 11
- Answered
- 0
- Correct
- 0
- Score
- -
-
1 Question 1 Single choice 2. White-box Test Techniques
A developer is testing a function that decides whether a shipment can be dispatched. The specification states: dispatch is allowed only when the order is paid AND the stock is reserved AND (the customer is a verified account OR the order value is under 50). The team must achieve full Modified Condition/Decision Coverage (MC/DC) on this decision, and the test suite must be as small as possible while still showing each condition independently affects the outcome. Which test set best meets the requirement?
Correct Answer: DExplanationMC/DC requires that each atomic condition is shown to independently affect the decision outcome. Starting from a base case where the decision is true, each of the four conditions is flipped while the others are held fixed, giving five tests that demonstrate independence with the minimum number of cases for n conditions being n plus one. Covering only decision outcomes, as in the three-test set, leaves conditions unproven. Full combinatorial coverage of eight tests exceeds the minimum and is not what the stated criterion asks for, while the four-test set does not show independent effect for each condition.
-
2 Question 2 Order list 3. Analytical Techniques
A team maintaining a Python payment service suspects a control flow anomaly in a retry routine where a variable used after a loop may be undefined on some paths. Management wants a defect report that shows the anomaly was confirmed and the fix was checked without relying on running the production system. Arrange the steps in the correct order.
Drag the steps into the correct order, or use the arrows.
- Re-run the static analysis tool on the changed code to confirm the anomaly no longer appears
- Build a control flow graph of the retry routine from its source code
- Identify paths on which the variable is referenced before any definition reaches it
- Apply the code change to initialise the variable on all paths
- Confirm the anomaly by tracing the flagged paths and recording the defect with path evidence
Correct Answer:- Build a control flow graph of the retry routine from its source code
- Identify paths on which the variable is referenced before any definition reaches it
- Confirm the anomaly by tracing the flagged paths and recording the defect with path evidence
- Apply the code change to initialise the variable on all paths
- Re-run the static analysis tool on the changed code to confirm the anomaly no longer appears
ExplanationControl flow analysis starts by constructing the control flow graph from the code, since paths cannot be examined without it. Only then can the tester find paths where a use precedes a definition, and the anomaly must be confirmed against those paths before a defect is logged. The fix is applied after the defect is understood, and the static analysis is re-run last to verify the anomaly is gone. Changing code before confirming the anomaly, or re-analysing before the change, would break the evidence chain required by the stated management goal.
-
3 Question 3 Drag and drop 4. Quality Characteristics for Technical Testing
A ticketing company is launching an online platform that must sustain a sudden surge of 200,000 concurrent buyers during a concert sale, must remain usable for the whole sale window without a restart, must protect card data handled during checkout, and must be checked for how quickly the system recovers after a database node failure. Match each requirement to the non-functional test type that best addresses it.
Drag each item onto its matching target. On a phone: tap an item, then tap a target.
Sustain 200,000 concurrent buyers during the sale peakRemain usable for the full sale window without restartRecover quickly after a database node failureProtect card data handled during checkoutFailover and recoverability testingSecurity testing of data protection controlsUsability testing of the checkout screensLoad or stress testing to find the breaking point under peak demandEndurance (soak) testing over a prolonged periodCompatibility testing across browser versionsCorrect Answer:- Sustain 200,000 concurrent buyers during the sale peak → Load or stress testing to find the breaking point under peak demand
- Remain usable for the full sale window without restart → Endurance (soak) testing over a prolonged period
- Protect card data handled during checkout → Security testing of data protection controls
- Recover quickly after a database node failure → Failover and recoverability testing
ExplanationPeak concurrency is a load and stress question, since it probes behaviour at and beyond expected volumes. Sustained usability over hours without restart is the defining feature of endurance testing, which looks for degradation such as memory leaks. Protection of card data falls under security testing, which examines confidentiality controls. Recovery after a node failure is verified by failover and recoverability testing, which measures how the system returns to service. Usability and compatibility are real test types but do not match any of the stated risks.
-
4 Question 4 Multiple choice 5. Reviews
A technical test analyst is preparing for a technical review of pseudo-code for a discount calculation routine. The routine loops over order lines, applies a percentage discount when a customer tier flag is set, and writes the total to an output field. Which TWO problems should the analyst look for using a code review checklist? (Choose two.)
Correct Answer: A, EExplanationA checklist for code review targets defects that cause incorrect behaviour, and an uninitialised loop variable used in a computation is a genuine data-flow defect. Storing a fractional rate as an integer truncates it to zero, a real arithmetic defect that breaks discount calculation. Writing the output inside the loop is also a defect, but it is the distractor that changes results and would have been valid if the checklist covered output placement; the two keyed items are the clearest correctness defects. Naming conventions and missing headers are documentation concerns that a correctness-focused checklist would not treat as the main problems.
-
5 Question 5 Dropdown 6. Test Tools and Automation
A retail team is building a keyword-driven automation framework for its returns process. Testers without programming skills will describe steps in a spreadsheet using business keywords, and the framework must reuse the same keyword logic across many test cases that differ only in input values. Complete the description of the framework design by selecting the correct value for each blank.
Choose the correct value for each blank.
The spreadsheet holds one row per test step with a keyword column, and the input values for each case are kept in a separate table, which is read row by row. Because the business steps are expressed as reusable actions that the framework maps to library code, the team's approach is best described as automation.Correct Answer:The spreadsheet holds one row per test step with a keyword column, and the input values for each case are kept in a separate parameter table, which is read row by row. Because the business steps are expressed as reusable keyword actions that the framework maps to library code, the team's approach is best described as keyword-driven automation.
ExplanationThe data values feed the test case from a separate parameter table, which is what makes the cases data-driven, while the business steps themselves are written as keywords mapped to library code. Combining a data table with keyword actions and business-readable step descriptions is the defining structure of keyword-driven automation. Coverage and baseline are unrelated to where input values are stored, and record-and-replay or model-based approaches do not rely on a user-authored keyword vocabulary mapped to reusable library code.
-
6 Question 6 Single choice 1. The Technical Test Analysts Tasks in Risk-Based Testing
A retail bank is releasing a new mobile payment module. The product risk register lists 'transaction data corrupted under concurrent load' as high-impact. The Technical Test Analyst has been asked to contribute to the risk-based test strategy before the test plan is finalised, and the project has a fixed two-week window for technical risk assessment. Which activity is the Technical Test Analyst best placed to perform first to support risk-based prioritisation of technical testing?
Correct Answer: BExplanationThe Technical Test Analyst contributes technical knowledge to risk identification, focusing on generic technical risk factors such as complexity of the architecture, concurrency, and integration points. Here the concurrent-load corruption risk depends on these technical characteristics, so mapping them to the register sets up prioritisation. Assigning severity from usage statistics is primarily the role of the business or test manager, who owns the usage data. Selecting regression tests from recent pass history does not address the risk register and is a later execution-level decision. Budget negotiation belongs to test management rather than to technical risk analysis.
-
7 Question 7 Multiple choice 2. White-box Test Techniques
A developer has written the following specification item for a loan approval function: an application is approved only when the applicant's income is at least 30000 AND the credit score is at least 650 AND the applicant has no active defaults, OR the applicant is an existing gold-tier customer. The test team must achieve full Modified Condition/Decision Coverage on this decision for regulatory evidence, and the budget allows only a small number of test cases. Which two test case sets would be defensible as MC/DC-achieving sets for the decision? (Choose two.)
Correct Answer: C, DExplanationMC/DC requires that each condition be shown to independently affect the decision outcome, typically achieved by pairs of test cases that differ only in that condition and produce different outcomes. Choice A and choice C both construct such independence pairs around a base case, with the number of cases in C matching the minimum of n+1 for four conditions in an efficient set. Choice B only achieves condition coverage, not independence. Choice D covers only the decision outcomes. Choice E is exhaustive combinatorial testing, which exceeds the budget and is not required for MC/DC.
-
8 Question 8 Single choice 3. Analytical Techniques
A team maintains a legacy C module for a telemetry system. A static analysis tool reports that a variable 'threshold' is assigned a value in one branch and then reassigned in a later branch before any read occurs on the first assignment. The module is a deployment-critical component with a strict maintainability target, and a senior reviewer asks the Technical Test Analyst which analysis technique most directly identifies this class of problem and what kind of anomaly it indicates. Which answer should the analyst give?
Correct Answer: BExplanationData flow analysis tracks the definition, use, and destruction of variables along paths, and detects anomalies such as define-define sequences where a variable is assigned twice with no intervening use. The scenario describes exactly that pattern. Control flow analysis looks at the structure and reachability of statements rather than variable values, so it would not report this. Call graphs show module invocation relationships and do not reveal intra-function variable lifecycles. Dynamic memory profiling detects leaks at runtime and is not a static method for this anomaly class.
-
9 Question 9 Drag and drop 4. Quality Characteristics for Technical Testing
A government benefits portal must be available during a 48-hour enrolment window, must protect citizen identity data against common web attacks, and must recover from a failed database node without losing submitted applications. The test manager wants each requirement mapped to the most appropriate non-functional test type to include in the test plan. Match each requirement to the test type that addresses it.
Drag each item onto its matching target. On a phone: tap an item, then tap a target.
Portal must keep working correctly for weeks of continuous operation without failuresSubmitted applications must survive failover of a database node without data lossPortal must sustain the expected peak enrolment load within agreed response timesIdentity data must be protected against injection and session hijacking attacksRecoverability testingPortability testingUsability testingReliability testingSecurity testingPerformance efficiency testingCorrect Answer:- Portal must keep working correctly for weeks of continuous operation without failures → Reliability testing
- Submitted applications must survive failover of a database node without data loss → Recoverability testing
- Identity data must be protected against injection and session hijacking attacks → Security testing
- Portal must sustain the expected peak enrolment load within agreed response times → Performance efficiency testing
ExplanationReliability testing checks that the system continues to perform its functions without failure over time and under stated conditions. Recoverability testing checks restoration after failure, which applies to the database failover requirement that submitted data is not lost. Security testing covers protection against attacks such as injection and hijacking. Performance efficiency testing addresses response times under peak load. Usability and portability are real characteristics but none of the stated requirements concern user interaction or environment transfer, so they are the extra distractors.
-
10 Question 10 Dropdown 5. Reviews
A test team is preparing for a formal review of an architectural design for an order-processing service. The review checklist requires the reviewer to confirm that every component interface is defined with its error-handling behaviour, and that no component is orphaned from the design. The team lead wants the review preparation steps recorded in the review plan. Select the correct value for each blank in the preparation step description.
Choose the correct value for each blank.
Before the review meeting, each reviewer must the design document and the checklist against the stated entry criteria, and the moderator must the reviewer findings with the author before the meeting so that duplicate issues are removed.Correct Answer:Before the review meeting, each reviewer must inspect individually the design document and the checklist against the stated entry criteria, and the moderator must collate the reviewer findings with the author before the meeting so that duplicate issues are removed.
ExplanationPreparation in a review requires each reviewer to examine the work product individually against the checklist and entry criteria so that defects are detected before the meeting. The moderator then collates the individual findings to consolidate duplicates and prepare the meeting agenda. Formal approval is a later outcome of the review and is not a preparation step. Rewriting the design is outside the reviewer role entirely. Compiling and executing apply to code, not to an architectural design document, and publishing findings is not the moderator's preparation duty.
-
11 Question 11 Single choice 6. Test Tools and Automation
A logistics company is starting a test automation project for its warehouse management web application. Testers without programming skills will define test scenarios for receiving, putaway and shipping, and the business analysts will provide the expected results in spreadsheets that change every release. The team wants to minimise rework when the test data changes while keeping the scenario steps reusable across the three business processes. Which automation approach best meets these constraints?
Correct Answer: CExplanationKeyword-driven automation lets non-programming testers compose tests from business-level keywords, and the keyword implementations are maintained separately from the test definitions, which reduces rework when data or processes change. Keeping the data in separate spreadsheets also supports the frequently changing expected results. Record-and-playback hard-codes data and is fragile under change. Data-driven automation keeps the step logic inside the script, so testers without programming skills cannot define the scenarios. Bypassing the web interface does not test the business process through the application and would miss UI-level defects.
These are 11 of the 82 questions in the full CTAL pack.
Get All 82 QuestionsGet all 82 questions & answers
Full access options for ASTQB CTAL
Self-study
PDF Version
- 82 actual exam questions
- Compatible with all devices
- Printable PDF format
- No download limits
- 90 days free updates
- 24/7 customer support
Best value
Bundle Pack
- Discounted PDF + online access
- 82 actual exam questions
- Both PDF and online practice test
- Free 90 days updates
- No download or practice limits
- 24/7 customer support
Exam simulation
Online Practice Test
- 82 actual exam questions
- Actual exam environment
- 90 days free updates
- Browser-based software
- 24/7 customer support
100% Money Back Guarantee
Your success comes first
At DumpsProvider, we give you a 100% money back guarantee on all of our exam dumps. For us, your success is the #1 priority and we are more than confident that our exam material will help you pass the CTAL Exam (ISTQB Advanced Level) on your very first attempt.
In a rare case, if you fail your exam, we will refund your amount without asking a single question.