Skip to main content

Mock exam

How to use this mock exam

40 questions, 44 points, 60 minutes, scored like the real exam. The four K3 questions (marked 2 points) count double. The pass mark is 29 points.

  • Set a timer for 60 minutes (75 if English is not your native language).
  • Answer every question before you open any explanation. Note your answers on paper.
  • Then score yourself: 1 point per correct answer, 2 for the K3 questions.
  • For every wrong answer, read the explanation and go back to the lesson it names.

The questions follow the order of the syllabus chapters, as in the real exam.

Chapter 1: Introduction to AI

Quiz

1. Which statement best describes how an AI-based system differs from a conventional system?

  • A. It is always more accurate
  • B. Its behaviour is derived from patterns in data rather than from explicitly programmed rules
  • C. It cannot be tested
  • D. It always runs in the cloud
Show answer
B. Lesson 1.
Quiz

2. Which statement about general AI is correct?

  • A. Large language models are general AI
  • B. General AI would perform a wide range of intellectual tasks at human level without retraining, and does not exist yet
  • C. General AI is the same as frontier AI
  • D. General AI is a subset of narrow AI
Show answer
B. Frontier AI is a subset of narrow AI. Lesson 1.
Quiz

3. Which technology underpins large language models through self-attention?

  • A. Recurrent neural networks
  • B. Transformers
  • C. Fuzzy logic
  • D. Support vector machines
Show answer
B. Lesson 2.
Quiz

4. A model is trained in the cloud and must run on a smart camera without a network connection. Which hardware is most suitable for the camera?

  • A. A large GPU cluster
  • B. An ASIC or system-on-a-chip designed for AI
  • C. A neuromorphic research processor
  • D. A high-clock-speed CPU server
Show answer
B. ASICs and SoCs are best suited to edge computing. Lesson 3.
Quiz

5. How does the EU AI Act treat an AI system used to select candidates for a job?

  • A. Minimal risk, no obligations
  • B. Limited risk, transparency obligations only
  • C. High risk, with requirements such as rigorous testing, data governance and human oversight
  • D. Prohibited
Show answer
C. Lesson 4.

Chapter 2: Quality characteristics

Quiz

6. An operator of an automated warehouse must be able to stop a robot within 0.5 seconds when a person enters its area. Which quality characteristic does this address?

  • A. Functional adaptability
  • B. Transparency
  • C. Intervenability
  • D. AI functional correctness
Show answer
C. Intervening in time to prevent harm. Lessons 6 and 8.
Quiz

7. Why can self-learning be a problem in safety-related AI systems?

  • A. Self-learning systems cannot be deployed
  • B. The behaviour can drift from what was tested, undermining the safety evidence gathered before deployment
  • C. Self-learning makes the system deterministic
  • D. Self-learning removes the need for a specification
Show answer
B. Lesson 7.

Chapter 3: Machine learning

Quiz

8. A model groups patients into types based on their symptoms, without predefined types. Which form of ML is this?

  • A. Classification
  • B. ML regression
  • C. Clustering
  • D. Reinforcement learning
Show answer
C. Lesson 10.
Quiz

9. In which step of the ML workflow is the model tested on an independent dataset that was not used for training or tuning?

  • A. Evaluate the model
  • B. Tune the model
  • C. Test the model
  • D. Monitor the model
Show answer
C. Evaluation uses validation data. Lesson 11.
Quiz

10. Which is an algorithm hyperparameter?

  • A. The number of hidden layers
  • B. The maximum depth of a decision tree
  • C. The number of training iterations
  • D. The learned weights
Show answer
C. A and B are model hyperparameters (structure). Lesson 11.
Quiz

11. What does retrieval-augmented generation change?

  • A. The weights of the LLM
  • B. The prompt, by adding relevant retrieved documents; the model is unchanged
  • C. The training data of the LLM
  • D. The architecture of the LLM
Show answer
B. Lesson 14.
Quiz

12. A dataset of customer records contains names and home addresses that the model does not need. Which data preparation activity applies?

  • A. Augmentation
  • B. Anonymising or removing personal data, as part of cleaning
  • C. Sampling
  • D. Labelling
Show answer
B. Lesson 15.
Quiz

13. Why might a three-way split into training, validation and test data be a problem for a small dataset?

  • A. It is always forbidden
  • B. Too little data remains for training, so the model may underfit; k-fold cross-validation with a small holdout set is an alternative
  • C. Small datasets cannot be split
  • D. The test set becomes too large
Show answer
B. Lesson 16.
Quiz

14. (K3, 2 points) A classifier for defective welds is tested on 400 welds. Of the 50 welds that are really defective, it flags 40. It also flags 10 welds that are fine. What are the precision and the recall?

  • A. Precision 0.80, recall 0.80
  • B. Precision 0.80, recall 0.90
  • C. Precision 0.90, recall 0.80
  • D. Precision 0.97, recall 0.80
Show answer
A. TP 40, FN 10, FP 10, TN 400 − 40 − 10 − 10 = 340. Precision = 40 / (40 + 10) = 0.80. Recall = 40 / (40 + 10) = 0.80. Accuracy would be 380 / 400 = 0.95. Lesson 18.
Quiz

15. Two models are compared on the same test set of 50 cases: 0.82 and 0.80 accuracy. What is the best conclusion?

  • A. The first model is better
  • B. The difference is one test case; the test set is too small to call either model better
  • C. Both models are overfitting
  • D. Accuracy cannot be compared
Show answer
B. Lessons 19 and 44.
Quiz

16. In a neural network, what does a neuron do with its inputs?

  • A. Multiplies each by a weight, adds them and a bias, and applies an activation function
  • B. Selects the largest input
  • C. Stores the input for the next epoch
  • D. Compares it with the label
Show answer
A. Lesson 21.
Quiz

17. A perceptron is trained on the AND function. After some epochs the error is zero. What happened to its weights and bias during training?

  • A. They stayed at their initial values
  • B. They were adjusted after each error in the direction that reduces it, until all examples were classified correctly
  • C. They were set by hand by the tester
  • D. They were copied from a pretrained model
Show answer
B. Lesson 22.
Quiz

18. What does neuron boundary coverage measure?

  • A. The share of neurons activated above a threshold
  • B. The share of neurons that produced outputs beyond the minimum or maximum seen during training
  • C. The share of training data used
  • D. The share of code lines executed
Show answer
B. Lesson 23.

Chapter 4: Testing AI-based systems

Quiz

19. Why is a locked system easier to test than an adaptive one?

  • A. Locked systems never contain defects
  • B. A locked system gives the same output for the same input, so test results stay valid until it is changed
  • C. Locked systems have no training data
  • D. Adaptive systems cannot be tested
Show answer
B. Lesson 25.
Quiz

20. Which is NOT a reason given for a statistical approach to testing AI-based systems?

  • A. Non-determinism
  • B. Training data rarely matches operational data
  • C. Models can be confidently wrong and biased
  • D. AI-based systems have no user interface
Show answer
D. Lesson 26.
Quiz

21. For an image generation tool there is no single correct output. Which oracle approach uses a secondary model to judge the outputs?

  • A. Environmental boundaries
  • B. A proxy oracle
  • C. Output boundaries
  • D. Expert consultation
Show answer
B. Lesson 27.
Quiz

22. A chatbot gives different answers after the system prompt was reworded, although the model was not changed. Which concept explains this?

  • A. Concept drift
  • B. The input explosion problem: the system prompt is one of many inputs that influence the output
  • C. Overfitting
  • D. Data poisoning
Show answer
B. Lesson 28.
Quiz

23. (K3, 2 points) A red team has spent two days attacking a medical-information chatbot in a safe test environment. It found that the bot gives dosage advice for prescription drugs when a user claims to be a nurse over a long conversation. What should the team do next, according to the red-teaming steps?

  • A. Stop red teaming, because a finding was made
  • B. Analyse the failure (cause, severity) and create a dataset of these attacks and variations, with the expected behaviour, to support mitigation and regression testing
  • C. Deploy the chatbot and monitor complaints
  • D. Replace the team with automated tools only
Show answer
B. Steps 4 and 5: analyse the identified failures, and create datasets from the threats. Lesson 29.
Quiz

24. During exploratory testing, an LLM produces 3-value BVA test values for “valid temperature: 10 to 30 °C, whole degrees”: 9, 10, 11, 29, 30, 31. What is your assessment?

  • A. Correct and complete
  • B. Incomplete: the values 8 and 32 are missing
  • C. Wrong: 3-value BVA tests only the boundary values 10 and 30
  • D. Wrong: this is 2-value BVA
Show answer
A. For each boundary (10 and 30), the boundary value and both neighbours: 9, 10, 11 and 29, 30, 31. The invalid partitions are covered by 9 and 31. Lesson 30.
Quiz

25. At which test level is it confirmed that a deep neural network still meets its performance criteria after it has been compressed and embedded in the product?

  • A. Component testing
  • B. Input data testing
  • C. System testing
  • D. Component integration testing
Show answer
C. Lesson 31.

Chapter 5: Input data testing

Quiz

26. Which risk is mitigated by data provenance testing?

  • A. Overfitting
  • B. Untrustworthy data sources and poor data management
  • C. Slow inference
  • D. Adversarial examples at runtime
Show answer
B. Lesson 34.
Quiz

27. A loan model does not use ethnicity, but uses the applicant’s neighbourhood. Testing shows that applicants from certain neighbourhoods are rejected far more often, with otherwise identical applications. What is the most likely issue?

  • A. Underfitting
  • B. A proxy for a sensitive attribute causes bias
  • C. Concept drift
  • D. A defective data split
Show answer
B. Lesson 35.
Quiz

28. Which is a purpose of back-to-back testing in data pipeline testing?

  • A. Comparing the operational pipeline with the training pipeline on the same raw data
  • B. Measuring annotator agreement
  • C. Training two models
  • D. Measuring neuron coverage
Show answer
A. Lesson 36.
Quiz

29. What is the first step of testing for data representativeness?

  • A. A Kolmogorov-Smirnov test
  • B. Defining the target population, including expected distributions and edge cases
  • C. Removing outliers
  • D. Training a baseline model
Show answer
B. Lesson 37.
Quiz

30. (K3, 2 points) A sensor dataset has these constraints: temperature is not missing; temperature is between −40 and 85; sensor_id is not a useful feature (unique per record); for each record, max_temp is greater than or equal to min_temp. Which record violates the comparison constraint only?

  • A. {sensor 7, temperature 22, min_temp 18, max_temp 25}
  • B. {sensor 8, temperature 90, min_temp 20, max_temp 30}
  • C. {sensor 9, temperature 21, min_temp 24, max_temp 19}
  • D. {sensor 10, temperature missing, min_temp 25, max_temp 20}
Show answer
C. max_temp (19) is lower than min_temp (24): the greater-than comparison constraint; temperature is present and in range. A violates nothing; B violates the range constraint only; D violates missing and the comparison constraint. Lesson 38.
Quiz

31. Annotators disagree often on images near the boundary between two classes. Which approach is recommended to use the review budget well?

  • A. Review a random sample only
  • B. Risk-based prioritisation: focus the review on ambiguous points near the class boundary and on high-impact data
  • C. Stop using these images
  • D. Use only one annotator
Show answer
B. Lesson 39.

Chapter 6: Model testing

Quiz

32. A team cannot say for most inputs what the correct output of its model is. Which test approaches does the syllabus suggest for this test oracle problem?

  • A. Metamorphic, back-to-back and A/B testing
  • B. Statement and branch coverage
  • C. Usability and accessibility testing
  • D. Installability and rollback testing
Show answer
A. Lesson 42.
Quiz

33. Which information belongs in the “Testing” part of a model documentation review checklist?

  • A. Licence and contact person
  • B. Test dataset details, independence of the test data, results and test activities
  • C. Deployment environment and rollback plan
  • D. The algorithm and design assumptions
Show answer
B. A is General, C is Operational, D is Design. Lesson 43.
Quiz

34. A safety requirement states “99% reliability with 95% confidence” and the test approach allows no failures. What is needed?

  • A. 100 test cases with at most 1 failure
  • B. 299 test cases, all passing
  • C. 95 test cases, all passing
  • D. 601 test cases with at least 589 passing
Show answer
B. Lesson 44.
Quiz

35. In a black-box adversarial attack, why does the attacker build a surrogate model?

  • A. To replace the original model in production
  • B. To craft adversarial examples on a model whose internals are known, relying on transferability to the original
  • C. To label the training data
  • D. To measure drift
Show answer
B. Lesson 45.
Quiz

36. (K3, 2 points) A model predicts the travel time of a delivery van from distance, number of stops and time of day. Source test case: 40 km, 10 stops, 10:00. Which follow-up test case and relation are correct?

  • A. 40 km, 12 stops, 10:00; predicted time is not shorter than for the source
  • B. 50 km, 12 stops, 17:00; predicted time is longer than for the source
  • C. 40 km, 10 stops, 10:00; predicted time is exactly 90 minutes
  • D. 40 km, 12 stops, 10:00; predicted time is exactly 10 minutes longer
Show answer
A. One input changed (more stops), monotonic relation (travel time does not decrease). B changes three inputs at once; C repeats the source with an exact value; D states an exact difference, which needs an oracle. Lesson 46.
Quiz

37. A recommendation system receives feedback in the form of what users watched after a recommendation. The team compares this feedback with the recommendations over time against a threshold. What is this?

  • A. Static drift testing
  • B. Dynamic drift testing with indirect feedback
  • C. A/B testing
  • D. Back-to-back testing
Show answer
B. Lesson 47.
Quiz

38. Which observation suggests overfitting?

  • A. Poor performance on training and validation data
  • B. Significantly worse performance on the test data than on the validation data
  • C. Equal performance on training, validation and test data
  • D. Slow training
Show answer
B. Lesson 48.

Chapter 7: ML development testing

Quiz

39. A team picks the better of two candidate models from a single training run of each, although training is stochastic. Which test approach mitigates the risk of misreading these results?

  • A. Installability testing
  • B. ML functional performance testing, for example with repeated training runs
  • C. Label correctness testing
  • D. Rollback testing
Show answer
B. Lesson 51.
Quiz

40. A new model version is released to 5% of users while latency, accuracy and error rates are monitored, before it is rolled out to everyone. What is this?

  • A. Shadow testing
  • B. Canary testing
  • C. Back-to-back testing
  • D. Model conversion testing
Show answer
B. In shadow testing no user would see the new model’s output. Lesson 52.

Score

Count 1 point per correct answer, and 2 points for questions 14, 23, 30 and 36.

PointsResult
36-44Ready. Take the official ISTQB sample exam as a final check.
29-35A pass, with little margin. Review the explanations of every wrong answer.
0-28Not yet. Redo the module quizzes for the chapters where you lost the most points, then try again.