Which of the following are the three activities in the data acquisition activities for data preparation?
Correct Answer: C
The syllabus defines data acquisition as consisting of three steps: "Data acquisition: The activity of acquiring data relevant to the business problem to be solved by an ML model, typically involving the activities of identifying, gathering and labelling data." (Reference: ISTQB CT-AI Syllabus v1.0, Section 4.1, page 33 of 99)
Question 52
Which ONE of the following types of coverage SHOULD be used if test cases need to cause each neuron to achieve both positive and negative activation values? SELECT ONE OPTION
Correct Answer: C
Coverage for Neuron Activation Values:Sign change coverage is used to ensure that test cases cause each neuron to achieve both positive and negative activation values. This type of coverage ensures that the neurons are thoroughly tested under different activation states. Reference:ISTQB_CT-AI_Syllabus_v1.0, Section 6.2 Coverage Measures for Neural Networks, which details different types of coverage measures, including sign change coverage.
Question 53
Which ONE of the following options is the MOST APPROPRIATE stage of the ML workflow to set model and algorithm hyperparameters? SELECT ONE OPTION
Correct Answer: C
Setting model and algorithm hyperparameters is an essential step in the machine learning workflow, primarily occurring during the tuning phase. Evaluating the model (A): This stage involves assessing the model's performance using metrics and does not typically include the setting of hyperparameters. Deploying the model (B): Deployment is the stage where the model is put into production and used in real-world applications. Hyperparameters should already be set before this stage. Tuning the model (C): This is the correct stage where hyperparameters are set. Tuning involves adjusting the hyperparameters to optimize the model's performance. Data testing (D): Data testing involves ensuring the quality and integrity of the data used for training and testing the model. It does not include setting hyperparameters. Hence, the most appropriate stage of the ML workflow to set model and algorithm hyperparameters is C. Tuning the model. Reference: ISTQB CT-AI Syllabus Section 3.2 on the ML Workflow outlines the different stages of the ML process, including the tuning phase where hyperparameters are set. Sample Exam Questions document, Question #31 specifically addresses the stage in the ML workflow where hyperparameters are configured.
Question 54
You are testing an autonomous vehicle which uses AI to determine proper driving actions and responses. You have evaluated the parameters and combinations to be tested and have determinedthat there are too many to test in the time allowed. It has been suggested that you use pairwise testing to limit the parameters. Given the complexity of the software under test, what is likely the outcome from using pairwise testing?
Correct Answer: C
Pairwise testing is a combinatorial testing technique that reduces the number of test cases by focusing on testing interactions between pairs of parameters rather than all possible combinations. It is widely used in AI- based systems, including autonomous vehicles, where the number of possible input parameter combinations can be extremely high. * Option A:"The number of parameters to test can be reduced to less than a dozen." * This is incorrect. While pairwise testing significantly reduces the number of test cases, it does not necessarily limit them to a fixed number like a dozen. The final number of tests depends on the number of parameters and their possible values. * Option B:"All high priority defects will be identified using this method." * This is incorrect. While pairwise testing is effective in detecting defects caused by interactions between two parameters, it may not uncover defects resulting from more complex interactions involving three or more parameters. * Option C:"While the number of tests needed can be reduced, there may still be a large enough set of tests that automation will be required to execute all of them." * This is the correct answer. Even though pairwise testing reduces the number of test cases, AI- based systems such as autonomous vehicles still have a large number of test scenarios. Therefore, automation is often necessary to execute all test cases within the available time. * Option D:"Pairwise cannot be applied to this problem because there is AI involved, and the evolving values may result in unexpected results that cannot be verified." * This is incorrect. Pairwise testing can still be applied to AI-based systems, including those that evolve over time. However, additional testing techniques may be required to verify evolving behavior. * Pairwise Testing for AI Systems:"Pairwise testing is widely used because it effectively reduces the number of test cases while maintaining defect detection capability". * Automation Requirement:"In practice, even with pairwise testing, extensive test suites may still require automation". Analysis of the Answer Options:ISTQB CT-AI Syllabus References:
Question 55
The activation value output for a neuron in a neural network is obtained by applying computation to the neuron. Which ONE of the following options BEST describes the inputs used to compute the activation value? SELECT ONE OPTION
Correct Answer: A
In a neural network, the activation value of a neuron is determined by a combination of inputs from the previous layer, the weights of the connections, and the bias at the neuron level. Here's a detailed breakdown: * Inputs for Activation Value: * Activation Values of Neurons in the Previous Layer:These are the outputs from neurons in the preceding layer that serve as inputs to the current neuron. * Weights Assigned to the Connections:Each connection between neurons has an associated weight, which determines the strength and direction of the input signal. * Individual Bias at the Neuron Level:Each neuron has a bias value that adjusts the input sum, allowing the activation function to be shifted. * Calculation: * The activation value is computed by summing the weighted inputs from the previous layer and adding the bias. * Formula: z=#(wi#ai)+bz = \sum (w_i \cdot a_i) + bz=#(wi#ai)+b, where wiw_iwi are the weights, aia_iai are the activation values from the previous layer, and bbb is the bias. * The activation function (e.g., sigmoid, ReLU) is then applied to this sum to get the final activation value. * Why Option A is Correct: * Option A correctly identifies all components involved in computing the activation value: the individual bias, the activation values of the previous layer, and the weights of the connections. * Eliminating Other Options: * B. Activation values of neurons in the previous layer, and weights assigned to the connections between the neurons: This option misses the bias, which is crucial. * C. Individual bias at the neuron level, and weights assigned to the connections between the neurons: This option misses the activation values from the previous layer. * D. Individual bias at the neuron level, and activation values of neurons in the previous layer This option misses the weights, which are essential. References: ISTQB CT-AI Syllabus, Section 6.1, Neural Networks, discusses the components and functioning of neurons in a neural network. "Neural Network Activation Functions" (ISTQB CT-AI Syllabus, Section 6.1.1).