CT-GenAI cheat sheet — every exam topic on one page
113 key facts across 5 exam domains — every topic on the CT-GenAI blueprint, with the exam pattern behind each. A condensed cheat sheet, distilled from the full CT-GenAI revision notes. Skim it the week of your exam.
Updated
Introduction to Generative AI for Software Testing
17% of the examCT-GenAI: Generative AI and LLM Fundamentals for Software Testing
- Symbolic AI applies rules written by people; classical machine learning needs data preparation, feature selection and training; deep learning learns features itself but still needs people for labelling, tuning and validation; generative AI uses deep learning to create new content.
- The key advantage of generative AI for testing is that pre-trained models apply directly to test tasks with no additional training phase, but the output still needs review.
- LLMs are generative pre-trained transformers that predict the next token at inference; their output is statistically plausible, and plausible is not necessarily correct.
- Tokenization splits text into character, sub-word or word tokens; technical text such as code and logs usually needs more tokens per word than prose, and tokenizers differ between models.
- Embeddings are high-dimensional vectors encoding meaning and usage; tokens with similar meanings sit close together, which enables matching by meaning.
- LLMs are non-deterministic because inference is probabilistic and shaped by hyperparameters; even the lowest temperature does not guarantee identical runs.
- The context window is the amount of preceding text, in tokens, the model can consider; bigger windows hold longer inputs but cost processing time, and content outside the window is not seen.
- Foundation LLMs are general-purpose and need adaptation; instruction-tuned LLMs are fine-tuned on prompt/response pairs; reasoning LLMs add training on multi-step tasks; choose by task complexity.
- Small language models have fewer parameters and suit lightweight, focused tasks.
- Multimodal LLMs turn images into embeddings via vision-language models; VLMs compare visual and textual input, and every reported result must be verified.
How the exam tests this
Expect short definition questions on the four AI types, tokenization, embeddings, the context window and the three LLM categories, often with near-twin options that swap one definition for another (tokenization vs embeddings, instruction tuning vs reasoning training, foundation vs small model). Scenario questions describe a symptom (a long log analysed only in part, the same prompt giving different test cases, a fluent but wrong expected result, a model that continues text instead of answering) and ask for the cause or the best next step, or ask you to pick the AI approach or LLM type that fits stated constraints such as traceability, labelled data, cost or task complexity. Multimodal items test how images are processed, which prompt fits a screenshot-versus-criteria comparison, and what verification the result needs.
CT-GenAI: LLM Capabilities for Test Tasks, AI Chatbots and LLM-Powered Testing Applications
- LLMs interpret requirements, specifications, screenshots, code, test cases and defect reports and generate testware, so they support the whole test process.
- The syllabus lists seven key capabilities as examples, not a closed list: requirements analysis and improvement, test case creation support, test oracle generation, test data generation, test automation support, test result analysis, testware creation.
- Identify a capability by what the model is given and what it returns: questions about a requirement, test cases, expected results, inputs, scripts, ranked summaries or documents.
- Test data generation produces inputs (datasets, boundary values, combinations); test oracle generation produces the expected results for given inputs.
- Clarify ambiguous requirements with stakeholders before generating test cases; never let the model silently choose a meaning.
- AI chatbots: direct conversational access, immediate contextual answers, iterative refinement such as prompt chaining; good for exploration, fast feedback, onboarding and non-technical users.
- LLM-powered testing applications: LLM access via APIs for well-defined, often automated tasks, with more customisation and scalability; AI agents for testing roles are the advanced form.
- The two models are complementary, and both depend on strong prompt engineering with clear, specific instructions.
How the exam tests this
Questions on this topic are mostly at the understanding level. Expect a short test task or scenario and be asked which LLM capability it represents, or which use of an LLM best fits a stated need; read what the model is given and what it must return, because the near-twin capabilities (oracle vs data, testware creation vs result analysis, requirements analysis vs test case creation) are separated by that alone. Other items compare AI chatbots with LLM-powered testing applications, ask which fits a user or a pipeline, whether both should be used together, what the advanced form of an integration is, and what the syllabus says makes either model succeed.
Prompt Engineering for Effective Software Testing
28% of the examCT-GenAI: Prompt Structure, Prompting Techniques and System vs User Prompts
- A structured prompt has six components: role, context, instruction, input data, constraints and output format; combine the structure with prompting techniques.
- Role sets the perspective (tester, test manager, test automation engineer); context describes the test object, its users and the release.
- Instructions are clear, imperative and concise; input data is the material itself (stories, acceptance criteria, screenshots, code, existing tests, output examples).
- Constraints restrict how the instruction is applied to the input data; output format shapes the structure of the response.
- Prompt chaining splits a complex task into prompts and checks each intermediate output before the next step.
- Zero-shot uses no example, one-shot one, few-shot several; examples make output consistent and in line with expectations.
- Meta prompting has the LLM draft or refine prompts that the tester evaluates: efficient, and a form of human-AI pairing.
- Techniques combine; identify each by what is being reviewed between rounds: testing work in chaining, the prompt itself in meta prompting, and examples inside one prompt in few-shot.
- The system prompt is set by the developer or tester, usually hidden, and constant for the session; the user prompt changes with each request.
- The model considers the system prompt and the current user prompt together, so user prompts must still be focused and explicit.
How the exam tests this
Questions on this topic are mostly at the understanding level, with some prompt-reading items. Expect to be shown a line or a whole numbered prompt and asked which component a line is, which component is missing, or which component would fix a described weakness in the output; separate near-twins by the job each line does (context describes, input data is the material, constraints restrict, output format shapes). Technique items describe a prompting session and ask which technique or combination of techniques it uses, or which technique suits a situation; count the examples and look at what each round produces. System and user prompt items ask who sets each, what stays constant in a session, what operational parameters are, which content belongs where, and how the model combines the two prompts.
CT-GenAI: Applying Prompt Engineering to Test Analysis, Design, Regression and Monitoring
- High-quality, relevant input is the main lever on GenAI output for test tasks: give the data the task depends on.
- Test analysis with GenAI produces test conditions such as acceptance criteria, findings on the test basis, risk-based priorities, coverage mappings and technique suggestions.
- Risk prioritization needs likelihood and impact per condition (regulation, user-facing features, defect history); without risk data the ranking is only plausible.
- Coverage gaps show up when the test basis is mapped to test conditions or test cases, at the level of each testable rule.
- Ask for preconditions, inputs and expected results in the output format, and state the real test objective, to get executable test cases.
- Synthetic test data is realistic and privacy-preserving; describe the field rules and ask explicitly for values around each limit.
- Keyword-driven scripts come from few-shot examples plus the keyword library documentation; framework scripts follow example scripts from that framework.
- Self-healing adapts to minor UI or API changes only; changed behaviour means updating scripts from the requirement, and incorrect behaviour is a defect.
- Regression report analysis: compare with the specification, cluster failures, check the known anomalies list, cross-check.
- Chaining for complex tasks checked step by step, few-shot for repetitive or fixed-format tasks, meta prompting for new tasks; combine them when several needs apply.
How the exam tests this
Questions on this topic are mostly at the application level and give a short testing scenario. Expect to be asked which test task GenAI is supporting in a described situation, which extra input or prompt change would most improve a weak result, which GenAI capability fits a regression problem (impact analysis, self-healing, defect reporting, a known anomalies list), which monitoring or control support fits a project situation, and how to treat generated output such as an impact-analysis selection or a schedule with an error in it. Technique-selection items describe a test task and ask which of prompt chaining, few-shot prompting and meta prompting fits best or least, or which combination suits the context; a few items are Select TWO.
CT-GenAI: Evaluating GenAI Test Results and Refining Prompts
- Accuracy is overall correctness against expert-written tests, requirements or other standards; precision is correctness for one objective (of what was flagged, how much is real); recall is finding all relevant instances (such as every valid and invalid partition).
- Relevance and contextual fit asks whether output is consistent with the test basis and the domain's requirements; diversity asks whether it covers varied user behaviours and edge cases without repetition.
- Execution success rate counts generated artefacts that run as is, without syntax or format errors; it says nothing about whether they check the right results.
- Time efficiency compares AI generation time with the manual effort for equivalent tests; it is the one metric that does not judge output quality.
- Task-specific metrics can be tailored to how well GenAI supports a particular test activity, on top of the general metrics.
- Metrics are evaluated by manual review or automatically, for example against a predefined reference; volume and the existence of a reference decide which.
- GenAI is non-deterministic, so metrics must rest on statistically relevant data: one run proves nothing, and compared versions need comparable runs on the same inputs.
- The five refinement techniques are iterative prompt modification, A/B testing of prompts, output analysis, integrating user feedback, and adjusting prompt length and specificity.
- Sharing practices and prompt libraries across teams standardises techniques, keeps quality consistent and helps teams avoid repeating errors.
How the exam tests this
Questions on this topic are at the understanding level and often describe generated test output or a team's evaluation activity. Metric items give a description or a small set of results and ask which metric it reflects, which metric scores lowest, or which two statements about several metrics are correct; some include counts from which precision and recall must be read, and many contrast a near-twin pair such as recall and diversity, accuracy and execution success rate, or accuracy and relevance. Other items ask how to evaluate metrics (manual review or automated comparison with a reference) and why one run is not enough. Technique items describe a refinement activity and ask which technique it is, or give evaluation evidence (metric scores, error types, testers' comments) and ask which refinement or next step fits best, including how teams share prompt practices.
Managing Risks of Generative AI in Software Testing
25% of the examCT-GenAI: Hallucinations, Reasoning Errors and Bias in LLM Testing
- Hallucination: output that appears factually incorrect or irrelevant to the task, such as fictitious test cases, non-functioning scripts or tests for non-existent acceptance criteria
- Reasoning error: misreading cause and effect, conditional logic or step-by-step processes, because LLMs pattern-match rather than reason; test planning and prioritization are prone
- Bias comes from the training data and shows as a skew across the output, for example in generated test data, refined acceptance criteria or the mix of test types
- Detect hallucinations by cross-verification, domain expert consultation and consistency checks; reasoning errors by logical validation and output testing; bias by reviewing output against the test strategy and coverage
- How much detection to apply depends on the estimated risk of these defects in the test task
- Mitigate with complete context, verified prompt chains, clear data formats, a model trained for the task and comparison across models; disagreement between models flags an item to verify against the test basis
- Non-determinism means a defect fixed in one output can return in another conversation, so outputs need checking every time
- Lower temperature and a fixed seed reduce variability but cannot guarantee reproducibility, especially for long outputs; automate output verification for consistent evaluation
How the exam tests this
Questions on this topic range from recall to applying the definitions to a given output. Recall items ask for the definition or cause of a defect type, which test tasks the syllabus links to reasoning errors or to bias, which detection approaches belong to which defect, or what temperature and seed settings do. Identification items show a short LLM output (test cases traced to acceptance criteria, a prioritized list, an effort calculation, a synthetic data set) and ask which defect it shows, sometimes classifying two elements of one output. Understanding items describe a situation and ask for the most suitable detection approach given a constraint (nothing to execute, expert knowledge needed, maximum automation), the mitigation that addresses the stated cause, how detection depth should follow risk, or what to conclude when a fixed defect reappears or models disagree. A few items are multiple-response.
CT-GenAI: Data Privacy and Security Risks of GenAI in Testing
- Three privacy concerns: unintentional data exposure (sensitive data in the output), lack of control over data usage (stored or processed without consent or control) and compliance risks (legal disputes from breaking rules such as the GDPR)
- Security risks: attacks on LLM-powered test infrastructure (data breaches, unauthorized access), exploitation of LLM vulnerabilities, and malicious input that misleads the model
- Context manipulation extracts training data (for example by overflowing the context window); request manipulation disrupts output (for example misleading images); data poisoning manipulates training data (for example fake report ratings); malicious code generation plants backdoors (for example a channel to a malicious IP)
- Core measures: data minimization, anonymization and pseudonymization, secure storage and transmission (encryption, access control), and training programs and policies
- Additional strategies: systematic human review of output, comparison with another LLM, a secure operational environment, regular audits and vulnerability assessments, and staying updated with security best practices
- Minimize first; when a sensitive field is itself under test, use invented values with the same structure; a description of formats and rules often replaces real records entirely
- Environment by confidentiality: commercial secure offering, secure cloud, or in-house installation, and none of them removes the need for other controls
- The GDPR does not restrict GenAI explicitly, but its lawfulness and purpose-limitation safeguards still apply; involve senior security engineers, legal counsel, the CTO or the CISO
- The strategies are complementary and a combination is required
How the exam tests this
Questions on this topic range from recall to applying the definitions to a short scenario. Recall items ask what the syllabus says about the GDPR, what a named mitigation strategy means, or whom the syllabus recommends involving. Identification items describe a situation and ask which privacy concern, security risk or attack vector it shows, or what distinguishes two near-twin vectors. Understanding items give a constraint and ask for the most suitable mitigation or operational environment, which measure to apply first, which risk a GenAI test design makes most severe, or why one measure does not make the others unnecessary. A few items are multiple-response.
CT-GenAI: Energy Use of GenAI and AI Regulations, Standards and Frameworks
- Training and using LLMs needs many specialized computing resources; web-based use loads devices, networks and data centres.
- Task complexity and required computational resources drive the energy of a single task: one image with a powerful model can use about a smartphone charge, text a small percentage of one.
- Energy rises sharply with usage: one request looks negligible, but the cumulative effect across many requests and users is substantial.
- Accurate energy data is hard to obtain, yet GenAI clearly contributes significant CO₂ emissions; few providers publish per-prompt figures and methods differ, so teams estimate (for example with simulators).
- Limit unnecessary model interactions (reuse approved results, trigger generation by change, match extra checks to risk) and select right-sized models per task.
- Balance the benefits of GenAI automation against its cost and energy consumption, task by task.
- ISO/IEC 42001 (standard): AI management system requirements; ISO/IEC 23053 (standard): ML lifecycle framework for data quality, transparency and safety.
- EU AI Act (regulation, binding): classifies AI by risk and mandates transparency, accountability and bias mitigation; NIST AI RMF (US framework, voluntary): fairness, transparency, security.
- The four guidelines are examples; organizations must track evolving regulations, standards, national laws and frameworks as their context changes.
How the exam tests this
This topic is examined at two levels. For energy (K2), you need to explain how task characteristics (complexity, required computational resources, image versus text output) and model usage (which model, how often) affect energy consumption, why web-based use loads devices, networks and data centres, what the syllabus says about the availability of accurate impact data, how right-sized models and fewer unnecessary interactions reduce energy, and what is balanced against the benefits of automation; some questions describe a team's GenAI usage and expect you to apply these ideas. For regulations, standards and frameworks (K1), you need to recall the four guidelines the syllabus names (ISO/IEC 42001, ISO/IEC 23053, the EU AI Act and the NIST AI RMF), what each is, its application in testing and its type, which one is legally binding, and why organizations must stay updated as the landscape evolves.
LLM-Powered Test Infrastructure for Software Testing
13% of the examCT-GenAI: LLM-Powered Test Infrastructure, RAG and LLM Agents
- An LLM-powered test infrastructure integrates an LLM into the test process; a chatbot is mainly conversational.
- The back end handles authentication, data retrieval, prompt preparation, interaction with the LLM and post-processing; the front end is only the interface.
- The LLM can be a third-party service via API or a custom in-house model; confidentiality, skills and hardware decide which fits.
- Relational databases serve structured test data with exact fields; vector databases find content with similar meaning through embeddings.
- RAG adds retrieved content from your own data sources to each prompt, increasing relevance and accuracy without retraining the model.
- Preprocessing chunks documents (for example 256 to 512 tokens), encodes them as embeddings and stores them; retrieval then matches the query by semantic similarity against that previously built store.
- In generation, the LLM combines its existing knowledge with the retrieved chunks; answers are only as current as the index.
- Agents act on external systems by invoking tools; autonomous agents need minimal human intervention, semi-autonomous ones have periodic oversight.
- Orchestration coordinates specialized agents; AI assistants shift automation from script-based execution to goal-driven, agent-based automation.
- Agents can hallucinate, reason wrongly or show bias; mitigate with automated verification of results and semi-autonomous agents for critical tasks.
How the exam tests this
This topic is examined at the understand level (K2) across three learning objectives. For the architecture, you need to explain how an LLM-powered test infrastructure differs from a chatbot, which component (front end, back end, data sources, LLM) is responsible for authentication, data retrieval, prompt preparation, LLM interaction and post-processing, the two ways of hosting the LLM, why relational and vector databases serve different needs, and why the design goes beyond client-server. For RAG, you need to summarize its purpose, the preprocessing steps (chunking, embedding, storing) versus the runtime retrieval and generation steps, retrieval by semantic similarity, how generation combines the model's knowledge with retrieved content, and the strengths and limitations you would see comparing output with and without RAG. For agents, you need to explain tool use, autonomous versus semi-autonomous agents, multi-agent orchestration, AI assistants and the shift to goal-driven automation, and the risks and two named mitigations.
CT-GenAI: Fine-Tuning LLMs and SLMs and LLMOps for Testing
- Fine-tuning further trains a pre-trained LLM or SLM on a labeled, task-specific dataset and updates its weights; prompting and RAG only change the input of each request.
- Fine-tuning suits domain reasoning, field-specific vocabulary and organization-specific output formats, such as test cases generated from user stories in the company template.
- Use fine-tuning for stable behaviour like format and terminology, and RAG for data that changes often; the two combine well.
- A fine-tuned SLM gives high task performance with far less compute than an LLM, but data quality, overfitting and opacity still apply.
- The four challenges are training data quality (bias and inaccuracy), overfitting, opacity, and compute, which the syllabus ties to LLMs.
- Overfitting shows as strong results on training-like inputs and weak results on new ones; train on all scenarios and evaluate on held-out data.
- The fine-tuning process runs: select an LLM or SLM, prepare a task dataset, fine-tune with an ML framework, then prompt and assess; output gaps usually lead back to the dataset.
- LLMOps covers developing, deploying, monitoring and maintaining LLMs in production.
- Chatbot: privacy, security and cost, with LLM-as-a-Service versus in-house open-source LLMs. Test tool: adds provider assurances and a cost-benefit and risk assessment. In-house: resource planning, structured validation and maintenance, and expertise.
- The approaches are not mutually exclusive and any of them can incorporate RAG or fine-tuning.
How the exam tests this
This topic is examined at the understand level (K2) across two learning objectives, GenAI-4.2.1 and GenAI-4.2.2. The hands-on objective HO-4.2.1 is an observed demonstration and is not itself examinable, but it illustrates the fine-tuning process that GenAI-4.2.1 explains. Expect to distinguish fine-tuning from prompting and RAG by what each changes, decide when fine-tuning (and when fine-tuning combined with RAG) fits a test need, explain the trade-off of fine-tuning an SLM, and match a described symptom to the right one of the four fine-tuning challenges. Scenario items describe a team's results and ask which challenge or which remedy applies, so know what each remedy actually changes. For LLMOps, know its definition and which considerations the syllabus attaches to the chatbot, test-tool and in-house approaches, and that the approaches can be combined.
Deploying and Integrating Generative AI in Test Organizations
17% of the examCT-GenAI: GenAI Adoption Roadmap, Shadow AI and LLM Selection
- Shadow AI is the use of GenAI tools or systems in an organization without formal approval or oversight.
- Shadow AI risks: data breaches from weakly secured personal tools, non-compliance with standards and regulations (legal consequences), and IP disputes from unclear licensing.
- A strategy and steps for integrating and deploying GenAI, with approved tools for real test tasks, is how the syllabus says to avoid shadow AI.
- A GenAI test strategy starts with measurable test objectives such as productivity, shorter test cycles and better quality; the LLM is chosen to fit them.
- The chosen LLM must also be compatible with the existing test infrastructure and meet scalability requirements.
- Trustworthy results need accurate, relevant input data protected by robust security; training must cover technical and ethical skills, and metrics must measure the effectiveness of GenAI results.
- Process guidelines cover rules for sensitive data, transparency about what was generated, and quality gates with review of generated testware.
- LLM/SLM selection criteria: performance on the organization's own benchmarks, fine-tuning potential, recurring cost (licences plus operations), and community and support.
- Recurring cost = input and output tokens × price × frequency; self-hosted open-source models avoid per-token fees but still have operating costs.
- Adoption phases: Discovery, Initiation and usage definition, Utilization and iteration; they can run in parallel per use case, and early fears of job displacement must be addressed.
How the exam tests this
Questions on this topic are mostly recall and understanding of section 5.1, usually set in a short scenario. Expect to recognize shadow AI and tell which of its three risks a situation shows, to identify how the syllabus says shadow AI is avoided, to identify which strategy aspect a situation concerns (objectives, model alignment, infrastructure compatibility, scalability, input data, training, metrics or process guidelines), and to apply the LLM/SLM selection criteria to a context. There are recurring-cost calculations from token counts, prices and run frequency, including commercial versus self-hosted comparisons, and questions about the activities of each adoption phase and how phases relate across use cases.
CT-GenAI: Managing Change, Building GenAI Skills and Evolving Test Roles
- GenAI adoption needs structured change management with two sides: technical skills and organizational aspects (evolved roles and processes).
- The three core skills are prompt engineering, understanding model context windows and developing test review methods.
- Testers combine domain and test expertise with AI skills to evaluate LLM-driven test case generation, defect report analysis and test data generation.
- Key competencies: assess LLM capabilities, refine prompts, evaluate AI-generated testware; essential knowledge: GenAI's inherent risks plus common mitigations.
- Data sanitization removes or masks sensitive, personal or confidential information before it is shared with an LLM.
- Right-sized models and efficient usage patterns balance automation benefits against cost and energy; they do not replace data protection.
- Capability is built hands-on: various LLMs/SLMs, structured learning paths, guided exercises, peer learning and gradual integration into daily tasks.
- A prompt pattern is a reusable prompt template for consistent, reliable output; communities of practice share pattern libraries and lessons learned.
- Testers become AI-assisted test specialists who review AI output, refine prompts and maintain test-specific prompt libraries.
- Test managers add AI-based test strategy, AI-based risk management and monitoring and control, and oversee hybrid teams of people and GenAI agents.
How the exam tests this
Questions on this topic are mostly recall and understanding of the syllabus lists, often set in a short scenario. Expect to identify which skill, competency or knowledge area a described problem points to (for example a context-window limit, a missing review, unsanitized data or an oversized model), to choose the training approach or community-of-practice activity that matches the syllabus, and to define a prompt pattern or data sanitization. Several items ask you to separate tester tasks from test manager responsibilities, or to recognize that a change plan must cover both skills and roles. Some combine two requirements, such as protecting data and keeping cost and energy low, where only an answer that meets both is complete.
Where these CT-GenAI facts came from
CT-GenAI cheat sheet: your questions
Source
Exam structure, domain weights and scoring on this page come from the official CT-GenAI exam guide.