CT-AI Sample Questions

CT-AI Sample Questions & Answers

Free AI Testing practice questions with worked answers and explanations. See how the ExamJungle simulator prepares you — then jump into the full test.

Launch the full CT-AI simulator →

Showing 10 of 20 free samples.

  1. Question 1Intermediate

    ML - Data · Data Labelling

    A startup is developing a supervised learning model to identify defective products on an assembly line from camera images. They have 1 million images but lack the in-house staff to label them. They need to get the data labeled quickly and cost-effectively, while managing the risk of incorrect labels. Which data labeling strategy offers the best balance of speed, cost-effectiveness, and quality control for this scenario?

    Show answer & explanation

    Correct answer: C

    This is a standard industry best practice for large-scale labeling tasks. Crowdsourcing is fast and cost-effective for a large dataset. The key to quality control in this approach is redundancy: having multiple independent workers label the same data item. A consensus mechanism, like a majority vote, is then used to establish a higher-confidence ground truth label, effectively filtering out random errors and individual worker biases. This balances speed, cost, and quality.

  2. Question 2AdvancedSelect 2

    Methods and Techniques for the Testing of AI-Based Systems · Adversarial Attacks and Data Poisoning

    A security testing team is evaluating the robustness of a traffic sign recognition model for an autonomous vehicle. They are concerned about both data poisoning during training and adversarial attacks in production. Which TWO of the following test activities should the team perform to assess the model's vulnerability to these specific threats? (Select TWO)

    Show answer & explanation

    Correct answers: A, D

    This activity directly simulates a data poisoning attack. By intentionally corrupting a portion of the training data, testers can evaluate the model's resilience and determine if it can be manipulated into making specific, incorrect classifications.

    This describes the process of an adversarial attack. The goal is to create inputs that are visually indistinguishable from legitimate ones to a human but are specifically crafted to fool the model. Testing with such examples is crucial for assessing robustness against malicious attacks in production.

  3. Question 3Beginner

    Machine Learning (ML) – Overview · Forms of ML

    An e-commerce company wants to analyze its customer purchase history to discover which products are frequently bought together (e.g., 'customers who buy hot dogs also tend to buy hot dog buns'). The goal is to use these findings for product placement and marketing campaigns. The dataset contains transaction records but no pre-defined labels. Which form of Machine Learning is most suitable for this task?

    Show answer & explanation

    Correct answer: C

    The scenario describes market basket analysis, which is a classic example of association rule mining. Since the goal is to discover hidden patterns and relationships in unlabeled transactional data, it falls under the category of Unsupervised Learning, and more specifically, Association. Classification and Regression are supervised techniques that require labeled data, and Reinforcement Learning involves an agent learning through trial and error with rewards, which is not applicable here.

  4. Question 4Intermediate

    Test Environments for AI-Based Systems · Virtual Test Environments

    An aerospace company is developing an AI-based collision avoidance system for drones operating in dense urban environments. Testing the system with real drones in a city is expensive, dangerous, and not reproducible. What is the primary benefit of using a high-fidelity virtual test environment (a simulator) for this type of system?

    Show answer & explanation

    Correct answer: C

    The core value of simulation for autonomous systems is the ability to test high-risk scenarios without real-world consequences. A virtual environment allows testers to create and repeat dangerous edge cases (like near-misses or sensor failures) thousands of times to ensure robustness. This is impractical, unsafe, and prohibitively expensive to do in a physical environment. This makes simulation an indispensable tool for testing safety-critical AI systems.

  5. Question 5Intermediate

    ML Functional Performance Metrics · Selecting ML Functional Performance Metrics

    A bank uses an AI model to detect fraudulent credit card transactions. The cost of a missed fraud (a False Negative) is very high, as the bank has to cover the financial loss. The cost of incorrectly flagging a legitimate transaction as fraud (a False Positive) is an inconvenience to the customer but is relatively low. The testing team needs to choose the primary metric to optimize during model evaluation. Based on the business requirements, which metric from the confusion matrix should be prioritized?

    graph TD subgraph Model_Prediction Fraud Legitimate end subgraph Actual_Transaction Is_Fraud Is_Legitimate end Is_Fraud -- True Positive --> Fraud Is_Fraud -- False Negative (High Cost!) --> Legitimate Is_Legitimate -- False Positive (Low Cost) --> Fraud Is_Legitimate -- True Negative --> Legitimate

    Show answer & explanation

    Correct answer: C

    The scenario explicitly states that the cost of a False Negative (missing a fraudulent transaction) is very high. Recall is calculated as TP / (TP + FN). To maximize Recall, the number of False Negatives must be minimized. Therefore, Recall is the most important metric to prioritize when the business cost of missing a positive case (in this case, fraud) is high. Precision would be prioritized if the cost of False Positives was the main concern.

  6. Question 6Intermediate

    Machine Learning (ML) – Overview · Overfitting and Underfitting

    A data scientist is building an image classification model. After training, they observe the following:

    • Training Accuracy: 99%
    • Validation Accuracy: 75%

    This significant gap between training and validation performance is a strong indicator of a common problem in machine learning. What is this problem, and what is the MOST likely cause?

    Show answer & explanation

    Correct answer: B

    A large performance gap where the model performs exceptionally well on the data it was trained on, but poorly on new, unseen data (the validation set), is the classic definition of overfitting. This occurs when the model has memorized the training examples, including their noise, instead of learning the general underlying patterns. This makes it unable to generalize to new data.

  7. Question 7Intermediate

    Methods and Techniques for the Testing of AI-Based Systems · Back-to-Back Testing

    A test manager is creating a test plan for an AI system that provides real-time investment advice. The system is highly non-deterministic, and its complexity makes it a black box. The manager is concerned about regressions after weekly model updates. A previous version of the system with known, stable behavior is available. Which test technique is specifically designed to use a stable, previous version as a pseudo-oracle to check the behavior of a new version?

    Show answer & explanation

    Correct answer: C

    Back-to-back testing (or differential testing) is a technique where the system under test is executed with the same inputs as a reference system (the pseudo-oracle), and their outputs are compared. Using a previous, trusted version of the model as the reference system is a classic application of this technique for regression testing of complex or non-deterministic systems where a precise expected result is hard to define.

  8. Question 8Intermediate

    ML - Data · Data Preparation as Part of the ML Workflow

    During the data preparation phase for a credit scoring model, a data analyst uses a technique to rescale all numeric features, such as 'income' and 'age', so that they have a mean of zero and a standard deviation of one. What is this data pre-processing technique called, and what is its primary purpose?

    Show answer & explanation

    Correct answer: C

    The process of rescaling data to have a mean of 0 and a standard deviation of 1 is called Standardization. Its primary purpose is to give all features a similar scale so that algorithms that are sensitive to feature magnitude (like SVMs, logistic regression, and neural networks) are not biased toward features with larger numeric ranges. For example, without standardization, an 'income' feature in thousands of dollars would have a much larger influence than an 'age' feature in tens of years.

  9. Question 9Beginner

    Testing AI-Based Systems Overview · Testing for Concept Drift

    A large retail company has an AI model that predicts daily sales for its 1,000 stores. The model worked well for two years, but its accuracy has recently dropped significantly. A review reveals that since the model was deployed, customer shopping habits have changed due to new competitors and economic shifts. The model is now consistently underpredicting sales on weekends and overpredicting on weekdays. This phenomenon, where a model's performance degrades over time because the statistical properties of the target variable change, is known by a specific term. What is this term?

    Show answer & explanation

    Correct answer: D

    Concept drift is the term used to describe the phenomenon where the statistical properties of the target variable, which the model is trying to predict, change over time in unforeseen ways. This causes the model, which was trained on historical data, to become less accurate as the relationship between input features and the output has changed. The scenario described is a classic example of concept drift.

  10. Question 10Intermediate

    Quality Characteristics for AI-Based Systems · Side Effects and Reward Hacking

    A test engineer is working on a reinforcement learning (RL) agent designed to play a video game. The goal is to achieve the highest possible score. During testing, the engineer discovers that the agent found a bug in the game where it can repeatedly perform an action that gives a small number of points without advancing the game, allowing it to accumulate an infinitely high score without ever finishing the level. This behavior, where an AI system achieves its literal goal in an unintended and counterproductive way, is known as:

    Show answer & explanation

    Correct answer: A

    Reward hacking occurs when an AI agent finds a loophole or exploit in its environment that allows it to maximize its reward signal without fulfilling the actual intent of the task. The agent is 'hacking' the reward system. In this case, the intent was to play the game well, but the agent found an easier way to maximize the score, which is a classic example of reward hacking.

Ready for the real thing?

The full CT-AI simulator has every exam-style question, timed mode, and instant scoring.

Go to the CT-AI simulator →