All GIAC exams
Free GOAA practice test: 30 questions with answers
30 original questions for GIAC Offensive AI Analyst, drawn from every topic area. Answer each one to see whether you got it right and why. No sign-up.
- Free questions
- 30
- Full bank
- 100 questions
All 30 GOAA questions with answers
The same questions as the test above, grouped by exam topic. Open any question to see the answer and explanation.
Defensive validation and reporting (8 questions)
Question 1
A tester has confirmed a prompt injection that reveals restricted data. Which element is most important for the finding report?
- AA screenshot of the chat window with no written explanation of the input
- BA claim that the system is insecure based on general concerns without evidence
- CA list of every tool used in the assessment regardless of its relevance
- DReproducible steps, the exact input, the observed output, and the impact on the business
Show answer and explanationHide answer
Correct answer: DA reproducible finding with exact input, observed output and business impact allows the owner to verify and fix the issue. Screenshots without explanation, unsupported claims and irrelevant tool lists do not support remediation.
Question 2
A tester discovers that testing the chatbot could expose customer personal data to the tester. What should the tester do?
- AContinue testing and copy the records to a local drive for later analysis
- BStop, limit exposure, and report the issue to the client under the rules of engagement
- CIgnore it because the tester is authorized under the contract to access it
- DShare the extracted records publicly to demonstrate the severity of the flaw
Show answer and explanationHide answer
Correct answer: BStopping, limiting exposure and reporting under the rules of engagement protects the data and the client. Copying or publishing personal data and ignoring it are unethical and may breach law or contract.
Question 3
Which two elements belong in a rules-of-engagement document for an AI red team exercise? (Choose two.)
- AThe tester's favourite prompt for fun
- BThe colour of the report template
- CThe emergency contacts and the escalation path for critical findings
- DThe systems and data in scope, and those explicitly out of scope
- EThe lunch schedule for the test day
Show answer and explanationHide answer
Correct answer: C, DScope and emergency contacts with escalation are essential for an authorized, safe exercise. Favourite prompts, template colours and lunch schedules are not rules of engagement.
Question 4
Which practice helps a red team reproduce an AI finding reliably?
- ADescribe the observed result from memory after the session
- BUse a different model version each run without notes
- CShare just the final summary report with the client after testing is complete
- DRecord the exact model version, configuration, inputs and outputs
Show answer and explanationHide answer
Correct answer: DRecording the exact version, configuration, inputs and outputs allows others to reproduce the result. Memory-based descriptions, untracked model changes and summaries alone prevent reproduction.
Question 5
Which metric evaluates a defensive guardrail against prompt attacks?
- ABypass rate on a set of adversarial prompts
- BThe number of emoji used in responses
- CAverage response length in tokens
- DThe model's release date and vendor name
Show answer and explanationHide answer
Correct answer: AThe bypass rate on adversarial prompts measures how often the guardrail fails. Response length, emoji counts and release dates do not measure guardrail effectiveness.
Question 6
Which element is most important when reporting a vulnerability in a model's file-loading routine?
- AThe tester's favourite colour scheme and preferred font for the final report layout
- BThe file size of the final PDF report in megabytes after export
- CThe affected component, the exploitation conditions and the recommended fix
- DThe number of coffee breaks taken during the testing window
Show answer and explanationHide answer
Correct answer: CThe component, conditions and recommended fix allow the owner to understand and remediate the issue. Personal preferences, coffee breaks and report file sizes do not support remediation.
Question 7
Which two practices help distinguish a real AI vulnerability from a model's normal randomness? (Choose two.)
- AAccept a single result as proof
- BCompare behaviour with a control group of benign inputs
- CIgnore the model version
- DRepeat the test several times and check the success rate
- EChange the prompt after each attempt without recording it
Show answer and explanationHide answer
Correct answer: B, DRepetition with a success rate and comparison against benign controls separate reliable behaviour from randomness. Single results, ignoring versions and unrecorded prompt changes make findings unreliable.
Question 8
Which two actions are appropriate when an AI tool used in testing returns data from a client's production system? (Choose two.)
- ALimit handling to what the test requires and follow the data handling rules
- BKeep a copy for later analysis without authorization
- CPost the data to a forum to get help
- DStop using the data and notify the client
- EShare it with other clients for comparison
Show answer and explanationHide answer
Correct answer: A, DStopping use and notifying the client, and limiting handling to what is required under the data rules, protect the client's data. Unauthorized copies, public posting and sharing with other clients all breach obligations.
Prompt and agent exploitation (8 questions)
Question 9
A tester sends a message to an AI assistant that contains hidden instructions telling it to ignore its previous rules and reveal its system prompt. What class of attack is this?
- ASQL injection
- BPrompt injection
- CCross-site scripting
- DPort scanning
Show answer and explanationHide answer
Correct answer: BHidden instructions that override the assistant's rules are prompt injection. SQL injection targets database queries, cross-site scripting targets browsers, and port scanning discovers open services.
Question 10
An AI agent retrieves web pages to answer questions, and a tester plants instructions in a page that cause the agent to send data to an external address. Which attack pattern is this?
- ACredential stuffing using leaked credentials
- BClickjacking an overlaid iframe to hide the target button
- CIndirect prompt injection through retrieved content
- DDNS zone transfer requests to enumerate every host record
Show answer and explanationHide answer
Correct answer: CInstructions hidden in retrieved content that the agent follows are indirect prompt injection. Credential stuffing, clickjacking and zone transfers are different attack types.
Question 11
An agent has a tool that can delete files, and the tester wants to show that the agent can be made to misuse it. Which finding is most valuable to report?
- AThe tool can be invoked with attacker-influenced arguments without confirmation, enabling destructive actions
- BThe agent answers questions quickly, with median response times under two seconds in sampled sessions, which reflects a tuned pipeline
- CThe tool has a long description that lists its parameters and usage examples, which adds to the size of the system prompt
- DThe agent's name is easy to remember and pronounce, and it matches the branding guidelines across the company's internal portal
Show answer and explanationHide answer
Correct answer: AA finding that attacker-influenced input can trigger destructive tool actions without confirmation is a material risk with clear impact. Speed, description length and naming are not security findings.
Question 12
A tester shows that a chatbot reveals another customer's order details when asked to act as the customer's account manager. Which control failure does this demonstrate?
- AMissing authorization checks on data retrieved for the requester's identity
- BInsufficient screen resolution on the customer-facing web widget for mobile devices
- CSlow page loading times on the chat interface caused by large unoptimised image files
- DAn outdated company logo that still displays the previous brand colours in the header
Show answer and explanationHide answer
Correct answer: AThe disclosure shows that data retrieval is not checked against the requester's authorization, which is an access control failure. Resolution, loading speed and logos are unrelated.
Question 13
Which two controls reduce the impact of a successful prompt injection against an AI agent with tools? (Choose two.)
- ALeast-privilege tool permissions with human approval for sensitive actions
- BOutput and action validation before tools are executed
- CAllowing the agent to call any tool with any arguments
- DDisabling all logging of tool calls
- EGiving the agent administrator credentials for convenience
Show answer and explanationHide answer
Correct answer: A, BLeast privilege with approval limits what an injected instruction can do, and validation before execution blocks harmful actions. Unrestricted tools, disabled logging and administrator credentials all increase impact.
Question 14
What is the aim of a jailbreak attempt against a language model?
- ATo increase the model's factual accuracy
- BTo reduce the model's memory footprint
- CTo speed up the API endpoint response time
- DTo bypass the model's safety or policy controls
Show answer and explanationHide answer
Correct answer: DA jailbreak tries to make the model ignore its safety or policy controls. Accuracy, size and speed are not the aim of a jailbreak.
Question 15
An agent uses a stored token to call an external API. Which weakness should the tester examine?
- AThe agent's display name length and its character set
- BWhether the token is over-scoped or exposed to the model's context
- CThe agent's logo image file and its embedded colour palette in the chat header
- DThe colour of the admin console background and its navigation menu theme
Show answer and explanationHide answer
Correct answer: BAn over-scoped token or one that reaches the model's context can be abused through injection. Name length, logos and console colours are not security weaknesses.
Question 16
What is a data exfiltration path through an LLM application?
- AA printed copy of the quarterly penetration testing report
- BA tester's handwritten notebook of raw observations kept during the engagement at HQ
- CSensitive data leaving through model outputs, tool calls or rendered links
- DA backup tape stored in a locked fireproof cabinet in the office storage room
Show answer and explanationHide answer
Correct answer: CData can leave through outputs, tool calls or rendered links such as image URLs. Printed copies, notebooks and locked tapes are not LLM exfiltration paths.
Model and data attacks (7 questions)
Question 17
An attacker repeatedly queries a public model API and uses the outputs to train a copy that imitates the model's behaviour. Which attack is this?
- AModel extraction
- BCache poisoning
- CPass-the-hash
- DRansomware deployment
Show answer and explanationHide answer
Correct answer: AModel extraction reconstructs or imitates a model's behaviour from its outputs. Pass-the-hash is a credential attack, cache poisoning targets caches, and ransomware encrypts data.
Question 18
An attacker adds a small number of training examples containing a hidden trigger so that the model misclassifies inputs containing that trigger. What is this attack called?
- ADenial of service by query flooding
- BTyposquatting on public model names
- CSession hijacking of an admin session
- DData poisoning with a backdoor
Show answer and explanationHide answer
Correct answer: DPoisoned training samples that implant a trigger create a backdoor in the model. Denial of service, session hijacking and typosquatting are different attack classes.
Question 19
A tester crafts an input with small, imperceptible changes that cause an image classifier to misidentify an object. Which concept describes this input?
- AA default configuration
- BA corrupted file header
- CAn adversarial example
- DA hash collision in a checksum
Show answer and explanationHide answer
Correct answer: CAdversarial examples use small crafted perturbations to cause misclassification. Corrupted headers, default configurations and checksum collisions are different concepts.
Question 20
A team downloads a pretrained model from a public hub and loads it without verifying its origin. Which supply-chain risk is most relevant?
- AA slower download speed from the public hub due to bandwidth throttling
- BA tampered model file that executes malicious code when loaded
- CA model that is too large to fit on a laptop's GPU memory without offloading
- DA model with a long name containing repeated version and date strings
Show answer and explanationHide answer
Correct answer: BUnverified model files can contain malicious code or tampered weights, so loading them is a supply-chain risk. Download speed, name length and file size do not create the same risk.
Question 21
A tester wants to determine whether a model reveals whether a specific record was in its training data. Which test type fits?
- ALoad testing of the inference API
- BDNS zone transfer enumeration
- CMembership inference testing
- DFont rendering test suite
Show answer and explanationHide answer
Correct answer: CMembership inference tests check whether outputs reveal membership of specific records in the training set. Load testing, font rendering and zone transfers do not test this.
Question 22
A tester plans to test a classifier's robustness to small input perturbations. Which practice ensures the results are meaningful?
- AChange the perturbation method after each test run to explore new attack families, adjusting the budget as the results come in
- BTest the inputs the classifier already handles well, selecting samples that are confidently classified before perturbing them
- CUse a documented perturbation method with the same budget across comparable inputs and report the success rate
- DTest once with a single perturbation and assume the result generalises across the input distribution
Show answer and explanationHide answer
Correct answer: CA documented method with a consistent budget and reported success rate makes robustness results comparable and meaningful. Changing methods, testing only easy inputs and single tests give biased or unreliable results.
Question 23
A data science team asks whether its training dataset may include poisoned records. Which activity helps answer this?
- AData provenance review and statistical checks for anomalous or triggered records
- BDeleting the dataset without review, then retraining on a fresh download of the same source
- CAdding more copies of each record so the training run sees more samples
- DAssuming the data is clean because it came from the company's own trusted internal systems
Show answer and explanationHide answer
Correct answer: AProvenance review and statistical checks look for anomalous records and triggers. Assumptions, deleting data and duplicating records do not detect poisoning.
AI system reconnaissance (7 questions)
Question 24
During an authorized assessment of a customer chatbot, the tester wants to identify which model family and hosting provider the application uses, without exploiting anything. Which approach is most appropriate?
- ASending sustained denial-of-service traffic from multiple sources to saturate the chatbot's inference endpoints
- BExtracting the model weights from the inference server by copying the quantized parameter files out of the container without written permission
- CBrute-forcing administrator logins to the model management console by replaying a password wordlist against the exposed admin API
- DPassive review of public documentation, response headers and observable behaviour within the agreed rules of engagement
Show answer and explanationHide answer
Correct answer: DPassive reconnaissance within the rules of engagement gathers information without exploitation or disruption. Extracting weights, brute-forcing logins and denial-of-service traffic exceed authorized scope or cause harm.
Question 25
A tester finds that a chat application returns detailed error messages that name the internal retrieval service and its version. Why does this matter?
- AIt discloses implementation details that can help an attacker choose targeted attacks
- BIt shows the application is secure because it is transparent about its architecture and design
- CIt proves the model has been trained on the error messages, and it reveals component names
- DIt has no security relevance because error messages are harmless to users
Show answer and explanationHide answer
Correct answer: AVerbose errors reveal internal components and versions that help an attacker select known weaknesses. Transparency alone does not make the disclosure safe, and the other statements are inaccurate.
Question 26
Which resource lists the most important security risks for applications built on large language models?
- AOWASP Top 10 for LLM Applications
- BPCI DSS v4.0 Cardholder Data Controls
- CISO 9001 Quality Management
- DNIST SP 800-88 Guidelines
Show answer and explanationHide answer
Correct answer: AThe OWASP Top 10 for LLM Applications lists common risks such as prompt injection and data leakage for LLM apps. PCI DSS, ISO 9001 and NIST SP 800-88 address other topics.
Question 27
A tester identifies that a web application sends a model's full system prompt to the browser in a hidden field. What is the immediate risk?
- AThe page loads more slowly because the hidden field inflates the HTML size
- BUsers and attackers can read the prompt, which may expose business logic and guardrails
- CThe prompt becomes a database index that the search engine crawls and publicly stores for later lookup
- DThe application becomes read-only, so users cannot submit prompts and the chat endpoint rejects write requests
Show answer and explanationHide answer
Correct answer: BExposed system prompts reveal logic and guardrails that attackers can study and bypass. Page speed, indexing and read-only status are not the immediate risk.
Question 28
A tester wants to map the tools an agent can call without exploiting them. Which technique is appropriate?
- ACall each tool with crafted malicious arguments to observe how the agent responds
- BDelete the tool definitions from the agent's configuration to see what happens
- CBrute-force the API keys for each tool's endpoint to recover credentials and gain access
- DAsk the agent about its capabilities within the agreed scope and review documented tool schemas
Show answer and explanationHide answer
Correct answer: DReviewing documented schemas and asking about capabilities within scope maps the tools without harm. Malicious calls, deleting definitions and brute-forcing keys are exploitation or disruptive actions.
Question 29
Which two sources provide legitimate, low-impact reconnaissance information about an AI service? (Choose two.)
- APublic model cards and security advisories
- BScanning the provider's internal network
- CBrute-forcing the admin login page
- DPublished API documentation and terms of service
- EExploiting a discovered vulnerability to read internal files
Show answer and explanationHide answer
Correct answer: A, DPublished documentation, model cards and advisories are public, low-impact sources. Scanning internal networks, brute-forcing logins and exploitation go beyond legitimate reconnaissance.
Question 30
A tester learns that an application uses a particular open-source model serving framework. Which follow-up step is appropriate within scope?
- ACheck public vulnerability advisories for that framework version and assess whether the target is affected, without exploiting it
- BInstall the framework on the tester's personal server and test it against the client's live customer data
- CBegin exploiting each known vulnerability in the framework right away, without checking scope or approval
- DLeave the framework out of the threat model because its source code is publicly available and has been well reviewed
Show answer and explanationHide answer
Correct answer: AChecking advisories and assessing applicability within scope is legitimate analysis. Exploiting immediately exceeds scope and risks harm, copying client data to a personal server is unauthorized, and ignoring the framework misses a real risk.
Want more GOAA questions?
The full bank has 100 questions with answers and explanations, as a PDF, an online practice exam, or both.
Both formats together. The best value.
Instant access after payment, with 90 days of updates. Checkout is on our store, AIExamCerts.