ISTQB Certified Tester AI Testing (CT-AI) Exam-style mock test
ISTQB Certified Tester AI Testing (CT-AI) Practice Exams|Practice test
Full explanations
Exam format
Pass line 65%
33 USD One-time · lifetime access
Enroll →
Sample questions
Example1 · AI & ML Fundamentals for Testing
A B2B SaaS vendor is testing two modules of its invoicing platform: a tax calculator built from hand-coded business rules, and a late-payment risk scorer trained on historical customer data. Which characteristic best explains why the risk scorer is considered an AI-based system while the tax calculator is not?
✓The risk scorer derives its behaviour from patterns learned in training data rather than from explicitly programmed rules
Correct. An AI-based system acquires its behaviour by learning statistical patterns from data, unlike rule-based software whose logic is explicitly coded by developers.
・The risk scorer executes on a cloud GPU cluster whereas the tax calculator runs on standard CPU instances
Incorrect. Hardware such as GPUs may speed up training or inference, but choice of compute platform does not define a system as AI-based.
・The risk scorer processes a larger volume of customer records each day than the tax calculator does
Incorrect. Data volume alone is a throughput concern and does not determine whether a system learns its behaviour from data.
・The risk scorer is maintained by the data science team instead of the core backend engineering team
Incorrect. The owning team is an organisational detail and has no bearing on whether the system is AI-based.
Explanation
AI-based systems are distinguished by deriving behaviour from learned patterns in data rather than from explicitly programmed rules; hardware, volume, and team ownership are not defining criteria.
Example2 · Quality Characteristics of AI Systems
A B2B SaaS company deploys an AI model that recommends subscription tiers to new corporate clients. After launch, the operations team wants the model to automatically adjust its recommendation logic when a new industry vertical is onboarded, without a manual retraining project. Which AI-specific quality characteristic does this requirement primarily describe?
・Flexibility, which refers to the model remaining accurate when input data drifts over time
Incorrect. Flexibility concerns using the system in contexts it was not originally designed for, and drift handling is not its definition.
✓Adaptability, the ability to change behavior in response to changes in its operating environment
Correct. Adaptability is the capability of the AI system to react to changes in its environment, such as a newly onboarded vertical, to maintain performance.
・Autonomy, the ability of the system to operate for extended periods without human intervention
Incorrect. Autonomy concerns operating without human oversight, not reacting to environmental change in recommendation logic.
・Transparency, the degree to which the reasoning behind the model's outputs is understandable
Incorrect. Transparency concerns understandability of the reasoning, not the ability to change behavior with the environment.
Explanation
Adaptability is the AI-specific characteristic describing a system's ability to respond to changes in its operational environment, such as a new industry vertical.
Example3 · ML Data, Metrics & Performance
A B2B SaaS analytics vendor trains a churn-prediction model on its customer-usage database. During data review, testers find that the 'account_tier' column is blank for 18% of records and 'signup_region' uses three different spellings for the same country. Which data quality dimension is primarily violated by the inconsistent spellings of the region values?
・Completeness, because a meaningful proportion of the records has empty attribute values that the model cannot use directly
Incorrect. Completeness relates to the blank 'account_tier' values, not to the differing spellings of a value that is actually present.
✓Consistency, because the same real-world entity is represented by several differing values across the dataset records
Correct. Consistency is violated when a single real-world entity is encoded in multiple conflicting ways, exactly as with the three spellings of one region.
・Timeliness, because the region values were captured too long ago to reflect the customer's present situation
Incorrect. Timeliness concerns how current the data is; the problem here is form of representation, not age of the data.
・Accuracy, because the stored region values diverge from the customer's true physical location
Incorrect. Accuracy would apply if the region were simply wrong, but here the values point to the correct country and merely differ in spelling.
Explanation
Multiple representations of the same entity across records is a classic consistency defect, distinct from completeness, timeliness, or accuracy.
Example4 · Testing AI-Based Systems (Bias & Explainability)
A healthcare services firm trains a readmission-risk model on historical records where one regional hospital, serving mostly elderly patients, contributed 70% of the records. The test team notices the model performs far worse for younger patients. Which type of bias is the most likely root cause of this behaviour?
・Algorithmic bias arising from the optimizer converging to a local minimum during the model's lengthy training process
Incorrect. Algorithmic bias relates to the model/optimizer design, but here the distortion clearly originates from the skewed composition of the training data rather than optimizer behaviour.
✓Sample bias, because the training data over-represents one patient population and under-represents younger patients
Correct. Sample bias occurs when the training data is not representative of the real population; the dominant elderly-hospital records skew the model away from younger patients.
・Inappropriate bias deliberately encoded by developers who favoured the elderly population for business reasons
Incorrect. Inappropriate bias implies an intentional or improper design choice, yet the scenario describes an unintentional consequence of unbalanced data collection.
・Automation bias, where clinicians trust the model's readmission output more than their own judgement
Incorrect. Automation bias describes humans over-relying on the system's output, which is a usage phenomenon unrelated to this training-data imbalance.
Explanation
Because the training set over-represents one elderly population, the model learns patterns that do not generalize to younger patients; this unrepresentative data is the definition of sample bias.
Example5 · Test Techniques & Environments for AI
A healthcare services firm deploys an image classifier that flags suspicious skin lesions from patient photos. A security tester crafts photos with tiny, imperceptible pixel changes that cause the model to reclassify a malignant lesion as benign. Which testing technique is the tester applying to the model?
✓Adversarial example testing, which probes whether small perturbations crafted against the model force confident but incorrect predictions
Correct. Deliberately introducing minimal perturbations to induce wrong predictions is the defining characteristic of adversarial example testing.
・Metamorphic testing, which checks that outputs stay consistent across transformations that should not change the result
Incorrect. Metamorphic testing uses relations between inputs and outputs across transformations, not crafted perturbations designed to deceive the model.
・Pairwise testing, which samples combinations of input parameters to reduce the total number of required test cases
Incorrect. Pairwise testing is a combinatorial coverage technique and is unrelated to crafting deceptive inputs for an ML model.
・Back-to-back testing, which compares outputs of two independent implementations on identical inputs
Incorrect. Back-to-back testing compares two implementations and does not involve engineering minimal input changes to cause misclassification.
Explanation
Crafting imperceptible perturbations that flip a model's prediction is the hallmark of adversarial example testing, used to assess robustness against malicious inputs.
Example6 · AI & ML Fundamentals for Testing
A healthcare services firm is building a module that flags patients at risk of readmission. A tester must explain to management why this component differs from the firm's conventional billing software. Which characteristic most clearly marks the readmission flagger as an AI-based system rather than a conventional one?
✓Its behaviour is derived from patterns learned from historical patient data rather than from explicitly coded decision rules written by developers
Correct. An AI/ML component infers its behaviour from patterns in training data rather than from explicitly coded rules, which is the defining distinction from conventional software.
・It stores patient records in a relational database and retrieves them with structured query statements for the reporting dashboard
Incorrect. Using a relational database and structured queries is common to conventional systems and does not indicate AI-based behaviour.
・It applies a fixed, documented fee schedule to each encounter to produce an invoice total that is identical for identical inputs
Incorrect. Applying a fixed documented rule set deterministically is the hallmark of conventional, rule-coded software, not an AI system.
・It runs on redundant servers so that scheduled maintenance never interrupts the clinical staff who depend on it
Incorrect. Running on redundant servers concerns availability and infrastructure, not whether the system learns from data.
Explanation
AI-based systems are characterised by learning behaviour from data rather than from hand-coded rules; the other options describe conventional database, rule-based, or infrastructure properties.
Example7 · AI & ML Fundamentals for Testing
At the retailer UrbanThread, a tester reviews two checkout components: a rules engine that applies fixed discount codes, and a new recommendation engine that learns buying patterns from shopper history. Which property best explains why the recommendation engine is considered an AI-based system while the rules engine is not?
✓The recommendation engine derives its behavior from patterns learned in training data rather than from explicitly coded logic branches written by developers
Correct. An AI-based system acquires its behavior by learning patterns from data, whereas a conventional system like a rules engine follows logic explicitly specified by programmers.
・The recommendation engine executes on faster hardware and therefore returns discount suggestions to shoppers with noticeably lower latency
Incorrect. Execution speed and latency are deployment performance attributes and do not determine whether a system is AI-based or conventional.
・The recommendation engine is deployed in the cloud while the rules engine runs on an in-store on-premise checkout server
Incorrect. Deployment location (cloud versus on-premise) is an infrastructure choice unrelated to whether behavior is learned or explicitly coded.
・The recommendation engine stores its configuration in a relational database instead of a flat configuration file on disk
Incorrect. The storage mechanism for configuration data is an implementation detail and does not make a system AI-based.
Explanation
AI-based systems are characterized by learning behavior from data rather than having all logic explicitly coded, which is the fundamental distinction from conventional rules-driven systems.
Example8 · AI & ML Fundamentals for Testing
At the retailer UrbanThread, a data team wants to group website visitors into natural segments without any pre-existing segment labels, so the marketing team can later study and name each cluster. Which machine learning paradigm fits this task?
・Reinforcement learning, where an agent interacts with the website environment and updates its policy based on reward signals over many sessions
Incorrect. Reinforcement learning optimizes actions via rewards from an environment and is not used for grouping static visitor records into segments.
・Supervised learning, where the model is trained on visitor records that already carry the correct segment label for each example
Incorrect. Supervised learning requires labeled examples, but the scenario explicitly states no pre-existing segment labels are available.
✓Unsupervised learning, where the model discovers structure in unlabeled visitor data by grouping similar records together
Correct. Unsupervised learning finds structure such as clusters in unlabeled data, which matches grouping visitors into natural segments without labels.
・Semi-supervised learning, where a small labeled subset guides the labeling of a much larger unlabeled dataset
Incorrect. Semi-supervised learning relies on a small labeled subset to propagate labels, but here there are no labels at all to start from.
Explanation
Clustering visitors with no labels available is a classic unsupervised learning task, which discovers natural groupings in unlabeled data.
Example9 · AI & ML Fundamentals for Testing
At the retailer UrbanThread, a tester must plan validation for a model that predicts the exact number of days until a given warehouse item will run out of stock, outputting a continuous numeric value. Which ML task type should the tester assume when designing the test oracle and acceptance criteria?
・A clustering task, so the tester should evaluate how cohesive and well-separated the discovered item groups are
Incorrect. Clustering groups unlabeled items and does not predict a continuous numeric target such as days until stock-out.
・A classification task, so the tester should prepare a confusion matrix across the discrete stock-out category labels
Incorrect. Classification predicts discrete category labels, but the model outputs a continuous day count, not a category.
✓A regression task, so the tester should measure error between predicted and actual day counts using metrics like mean absolute error
Correct. Predicting a continuous numeric value is regression, so error-based metrics like mean absolute error are appropriate for the oracle.
・An association task, so the tester should check which items are frequently predicted to run out together in the same basket
Incorrect. Association mining finds co-occurrence rules among items and does not forecast a continuous quantity for a single item.
Explanation
A model producing a continuous numeric output is performing regression, which calls for error-magnitude metrics rather than classification or clustering measures.
Example10 · AI & ML Fundamentals for Testing
A retail bank is testing a new fraud-detection component and a new interest-calculation component. One team argues the fraud component is 'AI-based' while the interest component is not. Which characteristic most strongly justifies classifying the fraud component as an AI-based system?
・It is deployed to the cloud and scales automatically to handle large transaction volumes during peak trading hours
Incorrect. Cloud deployment and automatic scaling are infrastructure and non-functional concerns that apply equally to conventional systems and do not make a component AI-based.
✓It produces outputs by learning patterns from historical transaction data rather than from explicitly coded fixed rules
Correct. An AI-based system derives its behaviour by learning patterns from data rather than relying solely on explicitly coded, fixed rules, which is the defining distinction from conventional systems.
・It integrates with several upstream payment gateways and exposes a documented REST API to internal consumers
Incorrect. Integrating with gateways and exposing a REST API are standard architectural traits shared by many conventional systems and are unrelated to whether learning occurs.
・It writes every decision it makes to an audit log that compliance officers can review at a later date
Incorrect. Audit logging supports traceability and governance but is a conventional capability that does not imply the component learns from data.
Explanation
The hallmark of an AI-based system is that its logic is derived from data through learning rather than from fully predetermined coded rules. The interest-calculation component follows fixed formulas, whereas the fraud component learns.
Example11 · AI & ML Fundamentals for Testing
A credit-card issuer has a large dataset of historical applications, each labelled as 'approved' or 'declined' by prior underwriters, and wants a model to predict the correct label for new applications. Which machine learning type best fits this situation?
・Reinforcement learning, where an agent interacts with the environment and gradually improves its policy by receiving reward signals over many episodes
Incorrect. Reinforcement learning suits sequential decision problems driven by rewards, not a static labelled dataset where correct answers are already known.
・Unsupervised learning, which groups the applications into natural clusters without using any of the existing approval labels at all
Incorrect. Unsupervised learning ignores labels to find structure, but here labelled outcomes exist and must drive the prediction target.
✓Supervised learning, because the model is trained on input applications paired with known approved or declined labels
Correct. Supervised learning trains on inputs paired with known output labels to predict those labels for new inputs, exactly matching the labelled approve/decline dataset.
・Semi-supervised learning, which relies almost entirely on unlabelled applications and uses only a tiny fraction of labelled ones
Incorrect. Semi-supervised learning is used when most data is unlabelled, whereas this dataset is fully labelled, so standard supervised learning applies.
Explanation
Because every historical application already carries a known label and the goal is to predict that label, this is a classic supervised classification problem.
Example12 · AI & ML Fundamentals for Testing
A manufacturing distributor replaces a rules-based reorder script with an ML model that predicts replenishment quantities from historical demand. A tester is explaining to management why this AI-based component needs a different testing approach. Which characteristic most fundamentally distinguishes this AI-based system from the conventional script it replaced?
・The AI-based system runs on more powerful cloud hardware and handles a larger daily transaction volume than the previous reorder script did.
Incorrect. Hardware scale and transaction volume are operational differences; they do not capture what fundamentally changes the nature of the system or its testing.
✓The AI-based system derives its behaviour from patterns learned in training data rather than from logic explicitly coded by developers.
Correct. An AI-based system's behaviour emerges from patterns learned in training data instead of explicitly programmed logic, which is the defining distinction requiring new test strategies.
・The AI-based system is written in Python whereas the previous reorder script was implemented as a conventional set of database stored procedures.
Incorrect. Implementation language is incidental; a conventional system can also be written in Python, so this does not define an AI-based system.
・The AI-based system is maintained by a separate data-science team that follows its own release cadence rather than the central engineering process.
Incorrect. Team ownership and release cadence are organisational matters that do not determine whether a component is genuinely AI-based.
Explanation
AI-based systems are characterised by behaviour learned from data rather than hand-coded logic, and this learned, data-driven nature is what forces a different testing approach.
Example13 · AI & ML Fundamentals for Testing
The distributor wants a model that groups its thousands of SKUs into natural segments based on sales velocity, seasonality, and margin, without any predefined category labels being supplied. Which type of machine learning best matches this requirement?
・Supervised learning, because the training set already contains labelled historical outcomes that the model can learn to reproduce for each SKU.
Incorrect. Supervised learning requires predefined labels, but the scenario explicitly states no category labels are supplied.
・Reinforcement learning, in which an agent learns an optimal policy through trial-and-error interaction with a rewarding environment over time.
Incorrect. Reinforcement learning is about sequential decisions and rewards, not discovering groupings in a static dataset of SKUs.
✓Unsupervised learning, which finds structure in unlabelled data.
Correct. Grouping unlabelled SKUs into natural segments is clustering, a classic unsupervised learning task that finds structure without predefined labels.
・Semi-supervised learning, which trains on a small labelled subset combined with a much larger pool of unlabelled SKU records.
Incorrect. Semi-supervised learning needs at least a small labelled subset, whereas the task provides no labels at all.
Explanation
Discovering natural groupings in data with no predefined labels is clustering, which falls under unsupervised learning.
Example14 · AI & ML Fundamentals for Testing
A telecom operator is replacing a rule-based fraud-detection module with an ML-based classifier that learns patterns from historical call records. During a test-strategy review, a tester argues that the new module cannot be verified the same way as the old one. Which characteristic of the AI-based system best justifies this concern?
✓The ML classifier derives its decision logic from training data rather than from explicitly coded rules, so expected outputs are not fully specified in advance
Correct. Because an ML system learns its behaviour from data instead of hand-coded rules, exact expected outputs are not known for every input, which is why conventional specification-based verification alone is insufficient.
・The ML classifier is deployed on cloud infrastructure, so its throughput and latency must be measured under production-like network load
Incorrect. Deployment infrastructure affects performance testing but is not the distinguishing property that makes AI verification fundamentally different from conventional verification.
・The ML classifier is written in a different programming language, so the existing automated regression scripts need to be rewritten
Incorrect. A change of implementation language is a conventional maintenance concern and does not reflect what makes AI-based behaviour harder to verify.
・The ML classifier integrates with more downstream billing interfaces, so additional integration test cases must be added
Incorrect. Additional integration interfaces increase test scope but apply equally to conventional systems and are not the defining AI testability challenge.
Explanation
AI-based systems are distinguished by deriving behaviour from data, which means their outputs are not fully specified beforehand, undermining purely specification-based verification.
Example15 · AI & ML Fundamentals for Testing
The telecom operator wants to build a model that predicts, for each subscriber, whether they will churn next month, using a dataset where every past subscriber record is already tagged as 'churned' or 'retained'. Which type of machine learning does this scenario represent?
・Reinforcement learning, where an agent learns a churn-reduction policy by receiving rewards for each retention action it takes over time
Incorrect. Reinforcement learning involves an agent learning from rewards through trial-and-error interaction, not from a fixed set of pre-labelled historical records.
・Unsupervised learning, because the model must first discover hidden subscriber segments before any churn outcome can be assigned
Incorrect. Unsupervised learning finds structure in unlabelled data, but here every record already carries a churn label, so clustering is not required.
✓Supervised learning, since the model is trained on labelled historical records to predict a known target class
Correct. Training on data where each record has a known target label ('churned' or 'retained') to predict that class is the defining case of supervised learning.
・Semi-supervised learning, because only a small portion of the subscriber records carries a reliable churn label
Incorrect. Semi-supervised learning applies when only part of the data is labelled, whereas in this scenario every historical record is already labelled.
Explanation
Learning from fully labelled historical data to predict a known categorical outcome is supervised learning.
▶ Try 10 free questions (graded)