Which ONE of the following options is a technology used to implement AI?
Correct Answer: A
Genetic algorithms are a technology used in AI, particularly in optimization problems and machine learning models. They are inspired by the process of natural selection and evolve solutions over generations.
Question 112
"BioSearch" is creating an Al model used for predicting cancer occurrence via examining X-Ray images. The accuracy of the model in isolation has been found to be good. However, the users of the model started complaining of the poor quality of results, especially inability to detect real cancer cases, when put to practice in the diagnosis lab, leading to stopping of the usage of the model. A testing expert was called in to find the deficiencies in the test planning which led to the above scenario. Which ONE of the following options would you expect to MOST likely be the reason to be discovered by the test expert? SELECT ONE OPTION
Correct Answer: A
The question asks which deficiency is most likely to be discovered by the test expert given the scenario of poor real-world performance despite good isolated accuracy. A lack of similarity between the training and testing data (A): This is a common issue in ML where the model performs well on training data but poorly on real-world data due to a lack of representativeness in the training data. This leads to poor generalization to new, unseen data. The input data has not been tested for quality prior to use for testing (B): While data quality is important, this option is less likely to be the primary reason for the described issue compared to the representativeness of training data. A lack of focus on choosing the right functional-performance metrics (C): Proper metrics are crucial, but the issue described seems more related to the data mismatch rather than metric selection. A lack of focus on non-functional requirements testing (D): Non-functional requirements are important, but the scenario specifically mentions issues with detecting real cancer cases, pointing more towards data issues. ISTQB CT-AI Syllabus Section 4.2 on Training, Validation, and Test Datasets emphasizes the importance of using representative datasets to ensure the model generalizes well to real-world data. Sample Exam Questions document, Question #40 addresses issues related to data representativeness and model generalization.
Question 113
Upon testing a model used to detect rotten tomatoes, the following data was observed by the test engineer, based on certain number of tomato images. For this confusion matrix which combinations of values of accuracy, recall, and specificity respectively is CORRECT? SELECT ONE OPTION
Correct Answer: A
To calculate the accuracy, recall, and specificity from the confusion matrix provided, we use the following formulas: Confusion Matrix: Actually Rotten: 45 (True Positive), 8 (False Positive) Actually Fresh: 5 (False Negative), 42 (True Negative) Accuracy: Accuracy is the proportion of true results (both true positives and true negatives) in the total population. Formula: Accuracy=TP+TNTP+TN+FP+FN\text{Accuracy} = \frac{TP + TN}{TP + TN + FP + FN}Accuracy=TP+TN+FP+FNTP+TN Calculation: Accuracy=45+4245+42+8+5=87100=0.87\text{Accuracy} = \frac{45 + 42}{45 + 42 + 8 + 5} = \frac{87}{100} = 0.87Accuracy=45+42+8+545+42=10087=0.87 Recall (Sensitivity): Recall is the proportion of true positive results in the total actual positives. Formula: Recall=TPTP+FN\text{Recall} = \frac{TP}{TP + FN}Recall=TP+FNTP Calculation: Recall=4545+5=4550=0.9\text{Recall} = \frac{45}{45 + 5} = \frac{45}{50} = 0.9Recall=45+545=5045=0.9 Specificity: Specificity is the proportion of true negative results in the total actual negatives. Formula: Specificity=TNTN+FP\text{Specificity} = \frac{TN}{TN + FP}Specificity=TN+FPTN Calculation: Specificity=4242+8=4250=0.84\text{Specificity} = \frac{42}{42 + 8} = \frac{42}{50} = 0.84Specificity=42+842=5042=0.84 Therefore, the correct combinations of accuracy, recall, and specificity are 0.87, 0.9, and 0.84 respectively. Reference: ISTQB CT-AI Syllabus, Section 5.1, Confusion Matrix, provides detailed formulas and explanations for calculating various metrics including accuracy, recall, and specificity. "ML Functional Performance Metrics" (ISTQB CT-AI Syllabus, Section 5).
Question 114
Which ONE of the following tests is LEAST likely to be performed during the ML model testing phase? SELECT ONE OPTION
Correct Answer: C
The question asks which test is least likely to be performed during the ML model testing phase. Let's consider each option: * Testing the accuracy of the classification model (A): Accuracy testing is a fundamental part of the ML model testing phase. It ensures that the model correctly classifies the data as intended and meets the required performance metrics. * Testing the API of the service powered by the ML model (B): Testing the API is crucial, especially if the ML model is deployed as part of a service. This ensures that the service integrates well with other systems and that the API performs as expected. * Testing the speed of the training of the model (C): This is least likely to be part of the ML model testing phase. The speed of training is more relevant during the development phase when optimizing and tuning the model. During testing, the focus is more on the model's performance and behavior rather than how quickly it was trained. * Testing the speed of the prediction by the model (D): Testing the speed of prediction is important to ensure that the model meets performance requirements in a production environment, especially for real- time applications. : ISTQB CT-AI Syllabus Section 3.2 on ML Workflow and Section 5 on ML Functional Performance Metrics discuss the focus of testing during the model testing phase, which includes accuracy and prediction speed but not the training speed.
Question 115
A test engineer is planning testing for a wearable medical device using AI. The medical device will detect possible heart issues in patients and dispatch emergency services automatically. It is not expected that many patients will have heart issues, and this is reflected in the available data. In this case, it is decided it is more important that emergency services are not sent un-necessarily, than it is to detect actual heart problems. Which ONE of the following metrics should the test engineer choose to ensure that the emergency services are sent only when needed?
Correct Answer: D
The correct answer is D. Precision . In this scenario, a positive prediction means that the system detects a possible heart issue and dispatches emergency services. The stated priority is to avoid sending emergency services unnecessarily. That means the test engineer must minimize false positives , because a false positive would incorrectly classify a patient as needing emergency assistance. The CT-AI syllabus states that precision is suitable when the cost of false positives is high and confidence in positive outcomes needs to be high. Accuracy is a weak choice because the data is imbalanced: most patients are not expected to have heart issues, so a model could appear accurate while still making unacceptable emergency-dispatch errors. MSE and R- squared are regression metrics, not classification metrics, and the problem is a classification decision: dispatch or do not dispatch. Recall would be appropriate if the main concern were not missing true heart issues, but the question explicitly prioritizes avoiding unnecessary dispatches. Therefore, precision is the best functional performance metric for this acceptance objective. References/topics: CT-AI Syllabus Chapter 5, Sections 5.1 and 5.4 "Selecting ML Functional Performance Metrics." =========