All GIAC exams
Free GASAE practice test: 30 questions with answers
30 original questions for GIAC AI Security Automation Engineer, 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 GASAE questions with answers
The same questions as the test above, grouped by exam topic. Open any question to see the answer and explanation.
AI Infrastructure and Deployment Security (5 questions)
Question 1
A team deploys a self-hosted LLM inference service. Which control best prevents unauthorized use of the model endpoint?
- AAuthentication and authorization on the endpoint with rate limits and network restrictions
- BCommitting one shared API key to a public GitHub repo so contractors can reuse it
- CMaking the endpoint publicly accessible for ease of testing by outside QA teams
- DDisabling request logging on the inference gateway to reduce storage costs
Show answer and explanationHide answer
Correct answer: AAuthentication, authorization, rate limits and network restrictions control who can use the endpoint and how much. Public access, public keys and disabled logs create abuse risk.
Question 2
A model artifact is downloaded from an external repository for deployment. Which step verifies that it has not been tampered with?
- ATrusting the repository because the model has a high download count and many community stars
- BRenaming the file to match the company's internal naming convention and storage schema by hand
- CChecking a cryptographic hash or signature against the publisher's published value
- DOpening the file in a text editor to see if the contents look normal to a reviewer
Show answer and explanationHide answer
Correct answer: CHash or signature verification confirms integrity and provenance. Visual inspection, popularity and renaming do not verify that the artifact is unmodified.
Question 3
Model weights and training data must be protected from exfiltration. Which control reduces this risk most directly?
- ADisabling access logging on the storage buckets and turning off audit trails for object reads and writes to lower log volume
- BAccess controls, encryption at rest, and monitoring of unusual data transfers from the storage location
- CStoring the weights in a public bucket with anonymous read access for faster downloads by partners
- DCopying the weights to personal laptops and unmanaged USB drives for offline backup over a home network with sync enabled
Show answer and explanationHide answer
Correct answer: BAccess control, encryption and transfer monitoring protect weights and data from theft. Public buckets, personal copies and disabled logs increase exfiltration risk.
Question 4
An LLM application calls internal tools through an agent framework. Which design best limits the impact of prompt injection?
- AGiving the agent domain administrator rights across each production, staging, and backup system so it can act without friction or review
- BTrusting text retrieved from public web pages, forum posts, and search snippets as instructions the agent must follow without validation
- CLetting the model call whichever internal or external API endpoint it can describe in its tool schema and invoke without a per-call allowlist
- DAllowing only a defined set of tools with least-privilege permissions and requiring confirmation for sensitive actions
Show answer and explanationHide answer
Correct answer: DA restricted tool set with least privilege and confirmation for sensitive actions limits what injected instructions can do. Admin rights, unrestricted APIs and trusting retrieved text enable abuse.
Question 5
A retrieval-augmented application ingests documents from many sources. Which control reduces the risk of poisoned content influencing answers?
- AValidating and reviewing sources, with provenance metadata and the ability to remove content
- BTreating retrieved content as authoritative, even when it comes from unverified uploads or forums
- CIngesting each document that is uploaded through the shared drop folder without human or automated review
- DDisabling source metadata fields such as origin URL, author, and ingestion timestamp to simplify the index
Show answer and explanationHide answer
Correct answer: ASource validation, provenance and removal capability limit poisoning. Unreviewed ingestion, blind trust and removing metadata make poisoned content harder to find and remove.
Defensive Automation and Detection Engineering (5 questions)
Question 6
A detection engineer wants detection rules to be tested and deployed like software. Which approach is recommended?
- AEditing rules directly in production with no history and no peer review step
- BDetection-as-code stored in version control with automated tests and staged deployment
- CKeeping rules undocumented in the memory of one senior analyst with no backup or handover notes
- DDeploying rules to each tenant in one batch without a regression test suite
Show answer and explanationHide answer
Correct answer: BDetection-as-code with versioning, tests and staged deployment makes changes reviewable and reversible. Direct edits, undocumented knowledge and untested global deployment increase risk.
Question 7
A new detection produces hundreds of false positives per day. What is the best first step?
- ADisabling every alert from the data source at the ingestion layer until the vendor patches the feed
- BReviewing sample alerts and tuning the logic with exclusions for known benign activity
- CIgnoring the alerts because they are numerous and the on-call queue is already saturated this quarter
- DEscalating every alert to executives and the board for immediate major incident declaration
Show answer and explanationHide answer
Correct answer: BReviewing samples and tuning logic with targeted exclusions reduces noise while preserving detection. Disabling sources, ignoring alerts and escalating everything are poor responses.
Question 8
An LLM is used to draft detection logic from a threat report. What must the engineer do before the rule is deployed?
- ASkipping review because the rule looks professional and it reads well
- BTesting the rule against known-good and known-bad data and reviewing it as code
- CDeploying the drafted rule directly because the model is accurate
- DPublishing the rule publicly to the community threat-sharing platform before testing
Show answer and explanationHide answer
Correct answer: BTesting against labeled data and code review validate AI-generated detections before deployment. Direct deployment, skipped review and public publication are unsafe.
Question 9
A SOC automates the enrichment of alerts with asset ownership and threat intelligence. Which benefit is most important?
- AThe alerts become impossible to modify after the first enrichment pass
- BEnrichment replaces the need for investigation on routine alerts in production
- CAnalysts no longer need to understand the alerts or the underlying telemetry
- DAnalysts get context faster, which shortens triage time for consequential decisions
Show answer and explanationHide answer
Correct answer: DEnrichment supplies context that accelerates triage while analysts still judge outcomes. It does not remove the need to understand alerts, lock them, or replace investigation.
Question 10
Which metric best shows whether automated triage is helping the SOC rather than hiding real threats?
- AThe number of alerts closed automatically without review by the playbook
- BThe average character length of alert titles per severity tier and data source over the quarter
- CThe number of dashboards created by the SOC analysts during the last quarter for each detection pack
- DAccuracy of automated classifications checked against analyst-validated outcomes
Show answer and explanationHide answer
Correct answer: DChecking automated classifications against validated outcomes reveals missed threats and errors. Automatic closure counts and dashboards do not show accuracy, and title length is irrelevant.
Workflow and Orchestration Engineering (5 questions)
Question 11
A SOAR playbook must wait for an analyst's approval before isolating a host. Which design fits best?
- AA human approval task in the workflow with a timeout path and an audit record
- BUsing a random jitter delay of up to ten minutes instead of approval
- CIsolating the host first and asking for approval later via email
- DSkipping the approval step because automated containment is faster than waiting for an analyst
Show answer and explanationHide answer
Correct answer: AAn approval task with timeouts and an audit record keeps a human in control of disruptive actions. Acting first, random delays and skipping approval remove the control.
Question 12
A workflow step calls an external API that is not idempotent, and the request timed out. What should the engineer verify before retrying?
- AWhether the action already completed, using a lookup or an idempotency key
- BWhether the API's logo and vendor branding on the documentation portal are current
- CNothing, because retries are safe when the client sends the same payload again
- DWhether the request can be sent in uppercase letters instead of lowercase
Show answer and explanationHide answer
Correct answer: AChecking for completion or using an idempotency key prevents duplicate side effects. Retries are not always safe for non-idempotent actions, and capitalization and logos are irrelevant.
Question 13
A playbook must enrich an alert with data from three sources in parallel and then decide based on the combined results. Which orchestration pattern fits?
- ARunning the three sources strictly one after another for no reason
- BWriting the results to a file that nobody reads
- CParallel branches that join before a decision step
- DIgnoring two of the three sources
Show answer and explanationHide answer
Correct answer: CParallel branches with a join reduce latency and combine evidence before deciding. Unnecessary serialization, ignored sources and unread outputs reduce the value of the enrichment.
Question 14
A workflow must handle partial failure, where a later step fails after an earlier step has changed a system. Which pattern restores consistency?
- AIgnoring the partial state and continuing the workflow
- BRestarting the workflow hoping the state repairs itself
- CDeleting the entire system and its audit trail at once
- DCompensating actions that reverse or correct earlier changes
Show answer and explanationHide answer
Correct answer: DCompensating actions undo or correct earlier changes, which restores consistency. Ignoring partial states, deleting systems and hoping for repair do not restore correctness.
Question 15
Which automation practice makes workflow changes safer to deploy?
- AEditing production playbooks directly in the console with no change record or peer review
- BKeeping playbooks in personal folders on individual analysts' workstations with local copies
- CDeploying every change to each tenant simultaneously during the business day across regions
- DVersion-controlled playbooks tested in a staging environment before production
Show answer and explanationHide answer
Correct answer: DVersion control and staging tests catch errors and make changes traceable. Direct production edits, personal folders and simultaneous global deployment increase risk.
Offensive Automation and Adversary Emulation (5 questions)
Question 16
A red team wants to automate an adversary emulation of a technique to test detection coverage. Which requirement must be met before running it?
- ARunning it on whatever internal network the team can reach
- BSkipping authorization because the test is automated and unattended
- CWritten authorization and a defined scope with safe, reversible actions
- DUsing real malware against production systems without limits
Show answer and explanationHide answer
Correct answer: CAuthorization and a defined scope are required for legal and safe testing, and reversible actions limit harm. Unauthorized targets, skipped authorization and unlimited real malware are unacceptable.
Question 17
Which framework provides a catalog of adversary techniques that can be mapped to detections and emulation plans?
- AMITRE ATT&CK
- BPCI DSS scoping guidance
- CISO 9001
- DNIST SP 800-88
Show answer and explanationHide answer
Correct answer: AMITRE ATT&CK catalogs adversary tactics and techniques used for emulation and detection mapping. ISO 9001, PCI DSS and NIST SP 800-88 address other topics.
Question 18
An automated emulation tool is used to test credential access detections. What is the main purpose of the test?
- ACausing a denial of service against the production web tier to measure resilience under peak load
- BVerifying that the defensive controls detect and alert on the emulated behavior
- CStealing real user passwords from LSASS memory in bulk for the red team
- DDisabling the SIEM forwarding pipeline and log collectors to see what happens next
Show answer and explanationHide answer
Correct answer: BEmulation tests verify that detections fire for the behavior. Stealing real passwords, causing outages and disabling monitoring are not valid test goals.
Question 19
A penetration test uses an AI model to generate candidate payloads. What control keeps the testing within scope?
- AAllowing the model to select targets it discovers during recon without operator review
- BRemoving the signed scope documents and rules-of-engagement annex to speed up testing windows
- CRestricting targets and tools in the automation to the approved scope, with human approval before execution
- DLetting the model run on every host in the internal subnet without an IP allowlist check
Show answer and explanationHide answer
Correct answer: CScope restrictions and human approval keep AI-assisted testing within authorized bounds. Free target selection, unrestricted IP use and removing scope documents violate the engagement.
Question 20
After an emulation exercise, the blue team finds that an alert fired but the response playbook did not run. What should be improved first?
- AThe color scheme and font size of the SIEM triage dashboard widgets during review
- BThe name and version string of the emulation tool used in the lab exercise
- CThe number of emulation steps executed against the test endpoints in the lab
- DThe trigger and routing configuration between the detection and the response automation
Show answer and explanationHide answer
Correct answer: DThe gap lies in how the alert is linked to the response, so the trigger and routing are the first fix. Dashboard colors, step counts and tool names do not explain the failure.
Cloud Security Automation (5 questions)
Question 21
A team wants to block infrastructure templates that open a database port to the internet before they are deployed. Which approach implements this?
- AAsking developers to remember the rule and self-review before commit
- BPolicy-as-code checks in the pipeline that fail when a template exposes the port
- CA manual security review of templates once a quarter by the platform team
- DScanning templates with a posture tool after deployment to production accounts
Show answer and explanationHide answer
Correct answer: BPolicy-as-code in the pipeline prevents exposure before deployment and gives consistent results. Quarterly reviews, post-deployment scans and memory-based rules are reactive or unenforced.
Question 22
An automated cloud remediation workflow changes a security group that was flagged as too permissive. What must the workflow record?
- AJust the timestamp of the change event recorded by the SIEM as a bare log line with no payload
- BThe color scheme and font size of the operations dashboard shown to the analyst
- CNothing, to keep the remediation workflow fast and avoid slow API calls
- DThe before and after state, the trigger, and the actor or service that made the change
Show answer and explanationHide answer
Correct answer: DBefore and after state, trigger and actor support audit and rollback. A timestamp alone is incomplete, and skipping records or dashboard colors are not valid audit practices.
Question 23
A cloud account is compromised, and the response automation must contain the threat quickly. Which action is most appropriate first?
- ADeleting the account's CloudTrail and audit logs in the affected region to remove evidence before forensic analysis
- BRevoking the compromised credentials and restricting the affected role's permissions while preserving logs
- CMaking the account's storage buckets and compute snapshots public for inspection by external researchers on a shared forum
- DWaiting a full week for a manual review board to schedule an assessment while the compromised credentials remain active
Show answer and explanationHide answer
Correct answer: BRevoking credentials and restricting permissions contain the threat while preserving evidence. Deleting logs, public exposure and week-long waits make the situation worse.
Question 24
Which automation approach best detects configuration drift in cloud resources across many accounts?
- AAssuming configurations stay unchanged once they pass the initial deployment review gate
- BReading each resource's name, tags and naming convention for clues about its intended configuration
- CChecking one account by hand each year using a spreadsheet of console screenshots collected by staff
- DScheduled compliance evaluations against a defined baseline with alerts on deviation
Show answer and explanationHide answer
Correct answer: DScheduled evaluations against a baseline detect deviations across accounts consistently. Yearly manual checks, assumptions and name-based guesses do not detect drift reliably.
Question 25
An engineer must give an automation role only the permissions needed to read cloud audit logs. Which principle applies?
- AShared administrator access
- BPermanent root access
- CLeast privilege
- DImplicit trust
Show answer and explanationHide answer
Correct answer: CLeast privilege limits the role to the specific read permissions required. Shared admin, implicit trust and permanent root access exceed the requirement.
AI and Automation Fundamentals (5 questions)
Question 26
A security team wants an LLM to summarize alert data. Which control is essential before the model's summaries influence any response action?
- AHuman review of summaries and validation against the raw alert data
- BTurning off the raw alert logs to free up disk storage
- CLetting the model close alerts automatically once confidence is high enough
- DUsing the model output as the final ruling with no audit logs or analyst sign-off
Show answer and explanationHide answer
Correct answer: ALLM summaries can omit or invent details, so analysts should validate them against raw data before acting. Automatic closure, unlogged decisions and deleted raw logs all remove the controls that make automation trustworthy.
Question 27
Which property makes an automation step idempotent?
- AEach run creates a new resource with a random identifier and records it separately
- BThe step fails on the second run because the resource already exists from the first run
- CRunning it repeatedly produces the same end state as running it once
- DThe step removes existing records from the target store before it writes new ones
Show answer and explanationHide answer
Correct answer: CIdempotent steps converge to the same state on repeated runs, which is safe for retries. The other behaviors create duplicates, fail unnecessarily or destroy data.
Question 28
An automation script calls a SOAR platform API and receives an HTTP 429 response. What is the most appropriate handling?
- ARetrying immediately in a tight loop with no delay between attempts
- BRetrying with exponential backoff that respects the platform's retry guidance
- CTreating the response as success and continuing without alerting
- DStopping every automation job and disabling the playbook permanently
Show answer and explanationHide answer
Correct answer: BExponential backoff respects rate limits and recovers gracefully. Tight loops worsen throttling, false success hides failures, and permanent stops are excessive.
Question 29
Which practice reduces the risk that an LLM-based triage tool leaks sensitive data from alerts into external services?
- ADisabling the DLP filters, field masking and access logging so the model receives complete alert context for better accuracy
- BPublishing raw sample alerts publicly on a community forum for model fine-tuning purposes
- CRedacting or minimizing sensitive fields before sending data to the model and reviewing the data-handling terms
- DSending full raw logs, including hostnames, user identities and session tokens, to an external hosted model without redaction
Show answer and explanationHide answer
Correct answer: CMinimizing and redacting data before external calls reduces exposure, and reviewing data handling terms addresses retention and training. Sending full logs, disabled controls and public samples expose sensitive information.
Question 30
Which term describes a model producing a confident answer that is not supported by its inputs or sources?
- AHallucination
- BSharding
- CNormalization
- DQuantization
Show answer and explanationHide answer
Correct answer: AHallucination is an unsupported but confident output. Normalization, quantization and sharding are different technical concepts.
Want more GASAE 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.