SaveMyCert
Log in
5 of 5 free questions left today·for 10 a day
CT-GenAI · Domain 1

Introduction to Generative AI for Software Testing practice questions

Introduction to Generative AI for Software Testing is worth 17% of the CT-GenAI exam — the 3rd-heaviest of the 5 domains. Types of AI, how large language models work (tokens, context windows, multimodal input), foundation vs instruction-tuned vs reasoning models, what LLMs can do for test tasks, and chatbots vs LLM-powered test tools. Official share: 7 of 40 exam questions. 6 fully worked examples are further down this page, answers included.

Exam weight
17%
the 3rd-heaviest of the 5 domains
Questions
74
across 2 topics
Free, no account
5/day
a free account allows 10 a day
Explanations
Every option
right and wrong

Build a practice session

5 free questions left today.

Domains

How many?

Mode

Ready when you are

10 fresh questions drawn across 1 of 5 domains, in Learn mode.

Review what you missed

Every question you answer incorrectly, and every question you flag while practising, is saved here automatically. Finish a session and you can come back to re-drill just those.

6 sample Introduction to Generative AI for Software Testing questions, fully explained

Questions from the CT-GenAI bank mapped to domain 1, with the answer key and the reasoning behind every option. None of them repeat the examples on the main CT-GenAI practice page.

Question 1Introduction to Generative AI for Software Testing

Which statement BEST describes classical machine learning, as distinct from deep learning?

Choose one.

  • a
    It relies on data preparation and on features that people select before the model is trained Correct

    Classical machine learning is data-driven but depends on data preparation and manual feature selection before training.

  • b
    It uses neural networks that learn the relevant features directly from large raw datasets

    Learning features automatically with neural networks is what defines deep learning, not classical machine learning.

  • c
    It encodes expert knowledge as symbols and logical rules that the system applies to new cases

    Encoding knowledge as symbols and rules is symbolic AI; classical machine learning learns from data instead.

  • d
    It reuses a model pre-trained on broad data so test tasks need no additional training phase

    Applying a pre-trained model without a further training phase is the key advantage of generative AI, not classical machine learning.

The concept

Classical machine learning is a data-driven approach that needs data preparation, feature selection and model training.

Why that’s the answer

Both classical machine learning and deep learning learn from data, so the difference is feature handling. In classical machine learning, people prepare the data and select the features the model trains on. Deep learning's neural networks learn features automatically. Rules written by experts are symbolic AI, and using a pre-trained model directly is the generative AI advantage.

How to reason it out
  1. Note that both approaches learn from data.
  2. Ask who decides the features: people or the model.
  3. People selecting features means classical machine learning.
  4. Eliminate the descriptions of symbolic AI and generative AI.

Exam tip: Classical ML: humans prepare data and pick features; deep learning finds the features itself.

CT-GenAI: Generative AI and LLM Fundamentals for Software Testing — the lesson that teaches this.

Question 2Introduction to Generative AI for Software Testing

A test team plans to train a deep learning model on thousands of screenshots so that it can classify GUI rendering failures. Which expectation about this project is MOST accurate?

Choose one.

  • a
    Engineers first need to define visual features such as edge counts and colour ratios for the model to use

    Manual feature definition is typical of classical machine learning. Deep learning finds features in images on its own.

  • b
    The model learns visual features itself, but people will still label screenshots and validate results Correct

    Deep learning learns features from data without manual feature definition, yet in practice still needs human work such as data annotation, tuning and result validation.

  • c
    The model can classify the screenshots at once, because deep learning models need no training phase

    The team is training its own model, so a training phase is unavoidable. Skipping training is the advantage of applying a pre-trained generative model.

  • d
    Engineers need to express each type of rendering failure as a logical rule before the model can learn it

    Expressing knowledge as logical rules is symbolic AI. A deep learning model learns the patterns from the labelled examples.

The concept

Deep learning uses neural networks to learn features automatically from large, complex data such as images, but often still needs human involvement.

Why that’s the answer

Two facts combine here. First, deep learning does not need people to define features: the neural network learns them from the screenshots. Second, that does not remove people from the project, because training data must be annotated and results validated. The tempting options either bring back manual feature design (classical machine learning), drop training altogether (which applies only to using an already pre-trained generative model), or require rules (symbolic AI).

How to reason it out
  1. Identify the approach: the team trains its own deep learning model.
  2. Recall that deep learning learns features automatically.
  3. Recall that human annotation, tuning and validation are still needed in practice.
  4. Reject options that describe classical ML, symbolic AI or using a pre-trained model.

Exam tip: Deep learning automates feature finding, not the whole project: labelling and validation remain human work.

CT-GenAI: Generative AI and LLM Fundamentals for Software Testing — the lesson that teaches this.

Question 3Introduction to Generative AI for Software Testing

Which of the following is the KEY advantage of using generative AI for software testing compared with other types of AI?

Choose one.

  • a
    Models learn features from the project's own defect history with no manual feature selection

    Learning features from your own data describes training a deep learning model, which still needs a training phase and suitable data.

  • b
    Models produce repeatable outputs for the same prompt, so they can serve directly as test oracles

    LLMs are non-deterministic: the same prompt can give different outputs, so their results are not repeatable oracles.

  • c
    Models apply explicit rules that testers can inspect, so each generated result can be traced

    Explicit, inspectable rules are a property of symbolic AI. LLM outputs come from learned statistical patterns, not traceable rules.

  • d
    Pre-trained models can be applied directly to test tasks without an additional training phase Correct

    This is the advantage the syllabus highlights: pre-trained LLMs can be used on test tasks straight away, without training a model first.

The concept

Generative AI uses pre-trained models that can be applied directly to test tasks.

Why that’s the answer

Symbolic AI needs rules to be written, and classical machine learning and deep learning need data and a training phase before they are useful. Generative AI's pre-trained models skip that phase and can be applied to a test task immediately, although this brings risks such as hallucinations. Repeatability and traceable rules are not properties of LLMs.

How to reason it out
  1. Recall what each other type of AI needs before use: rules or training.
  2. Recall that LLMs arrive pre-trained.
  3. Reject claims of repeatable output, since LLMs are non-deterministic.
  4. Reject explicit rules, which belong to symbolic AI.

Exam tip: GenAI's edge: pre-trained, so no training phase before applying it to a test task.

CT-GenAI: Generative AI and LLM Fundamentals for Software Testing — the lesson that teaches this.

Question 4Introduction to Generative AI for Software Testing

A test manager wants incoming defect reports sorted into categories such as UI, performance and data. Reporters describe the same symptom in many different ways, there is no labelled defect history, and the team must start this sprint. Which approach is MOST appropriate?

Choose one.

  • a
    Prompt a pre-trained LLM with the category definitions and a few example reports, then review its output Correct

    A pre-trained LLM needs no labelled history or training phase and copes with varied wording; human review covers the risk of wrong categories.

  • b
    Train a classical machine learning classifier on features selected from the fields of past defect reports

    Classical machine learning can categorize defects, but it needs labelled data, feature selection and training, which the team does not have time or data for.

  • c
    Train a deep learning model that learns its own features from the free text of past defect reports

    Deep learning avoids manual features but still needs a training phase and a large labelled dataset, which does not exist here.

  • d
    Encode each category as a set of keyword rules in a symbolic AI system and apply them to each incoming report

    Keyword rules need no training data, but they break when reporters describe the same symptom in many different ways.

The concept

The key advantage of generative AI is that pre-trained models can be applied directly without an additional training phase.

Why that’s the answer

Three constraints decide. With no labelled history and no time to train, both machine learning options fail: classical machine learning needs labelled data and feature selection, and deep learning needs a large labelled dataset and training. Symbolic rules need no data, but varied wording makes keyword rules brittle. A pre-trained LLM handles natural-language variation and can be used immediately, with a human reviewing its output because plausible output is not always correct.

How to reason it out
  1. List the constraints: no labelled data, start now, varied wording.
  2. Eliminate approaches that need labelled data and training.
  3. Eliminate rules that cannot handle varied wording.
  4. Choose the pre-trained model and keep a human review step.

Exam tip: No training data and no time to train: use a pre-trained LLM, and review its output.

CT-GenAI: Generative AI and LLM Fundamentals for Software Testing — the lesson that teaches this.

Question 5Introduction to Generative AI for Software Testing

Which statement BEST describes tokenization in a large language model?

Choose one.

  • a
    Converting each unit of text into a vector so that units with similar meanings sit close together

    Turning tokens into vectors that capture meaning is the job of embeddings, which happens after tokenization.

  • b
    Limiting the amount of preceding text that the model considers when it generates a response

    The limit on how much text the model can consider is the context window.

  • c
    Selecting the most probable next unit of text based on the relationships learned in training

    Predicting the next token is what the transformer does during inference, not tokenization.

  • d
    Splitting input text into units that range from single characters to sub-words or whole words Correct

    Tokenization breaks text into tokens, which can be as small as a character or as large as a sub-word or word.

The concept

Tokenization breaks text into smaller units called tokens.

Why that’s the answer

An LLM first tokenizes its input: it splits the text into tokens that may be characters, sub-words or words. Embeddings then convert each token into a vector, the context window limits how many tokens can be considered, and inference predicts the next token. Each distractor is a real step in the same pipeline, just not tokenization.

How to reason it out
  1. Place tokenization at the start of the processing pipeline.
  2. Recall that tokens vary in size from a character to a word.
  3. Match the other options to embeddings, context window and inference.

Exam tip: Tokenization = text into tokens; embeddings = tokens into vectors.

CT-GenAI: Generative AI and LLM Fundamentals for Software Testing — the lesson that teaches this.

Question 6Introduction to Generative AI for Software Testing

In a hands-on exercise, a tester runs a tokenizer on two inputs with the same number of words: a plain-English user story and a stack trace full of class names, hex addresses and symbols. The stack trace yields far more tokens. What is the MOST likely reason?

Choose one.

  • a
    The tokenizer assigns one token to each distinct word, and the stack trace contains more distinct words

    Tokens do not map one-to-one to words, and the inputs have the same number of words, so word counts cannot explain the difference.

  • b
    The tokenizer rewrites technical text into natural language first, which adds explanatory tokens

    Tokenizers split the text they receive; they do not rewrite or explain it before splitting.

  • c
    Uncommon strings such as identifiers and hex values are split into several sub-word or character tokens Correct

    Tokens range from characters to words. Common words often map to one token, while rare strings are broken into many smaller pieces.

  • d
    Each line break in the stack trace starts a new context window, and each window adds its own tokens

    Line breaks do not start new context windows. The context window limits the total tokens considered; it does not create tokens.

The concept

Tokens can be as small as a character or as large as a sub-word or word, so token count depends on the text's structure, not only its word count.

Why that’s the answer

Token count, not word count, is what consumes the context window. Everyday English words are often single tokens, but identifiers, hex addresses and symbols are rare in training text, so the tokenizer splits them into many sub-word or character tokens. That is why logs and code can use far more of the context window than their length in words suggests.

How to reason it out
  1. Note that the word counts are equal, so words are not the unit that differs.
  2. Recall that tokens can be characters, sub-words or words.
  3. Ask which text contains rare strings that cannot be single tokens.
  4. Conclude that rare strings split into many tokens.

Exam tip: Logs and code cost more tokens per word than plain prose: measure tokens, not words.

CT-GenAI: Generative AI and LLM Fundamentals for Software Testing — the lesson that teaches this.

What CT-GenAI domain 1 tests, topic by topic

The official exam guide breaks Introduction to Generative AI for Software Testing into 2 topics. The question bank follows the same split, so a weak topic shows up as a cluster of misses you can go back and read.

Published CT-GenAI practice questions per topic in Introduction to Generative AI for Software Testing
TopicWhat it coversQuestions
Generative AI Foundations and Key ConceptsOfficial CT-GenAI v1.1 syllabus section 1.1. Learning objectives: GenAI-1.1.1 (K1) Recall different types of AI: symbolic AI, classical machine learning, deep learning, and generative AI; GenAI-1.1.2 (K2) Explain the basics of generative AI and large language models; GenAI-1.1.3 (K2) Distinguish between foundation, instruction-tuned and reasoning LLMs; GenAI-1.1.4 (K2) Write and execute a given prompt addressing a test task using a multimodal LLM model.50
Leveraging Generative AI in Software Testing: Core PrinciplesOfficial CT-GenAI v1.1 syllabus section 1.2. Learning objectives: GenAI-1.2.1 (K2) Give examples of key LLM capabilities for test tasks; GenAI-1.2.2 (K2) Compare interaction models when using GenAI for software testing.24
Total74

Revise Introduction to Generative AI for Software Testing before you drill it

Other CT-GenAI domains

Introduction to Generative AI for Software Testing: your questions

Introduction to Generative AI for Software Testing is domain 1 of the CT-GenAI exam guide and carries 17% of the scored content — the 3rd-heaviest of the 5 domains. On a 40-question paper that works out to roughly 7 questions, though ISTQB does not publish an exact per-domain count and individual exam forms vary.

Source

The domain weight and topic list on this page come from the official CT-GenAI exam guide.