Home / GIAC Certified Detection Analyst (GCDA) / Mock exam
GIAC Certified Detection Analyst (GCDA) Exam-style mock test

GIAC Certified Detection Analyst (GCDA) Practice Exams|Practice test

Full explanations Exam format Pass line 70%
33 USD One-time · lifetime access
Enroll →

Sample questions

Example1 · Detection Engineering Fundamentals
A B2B SaaS company has historically relied on vendor-supplied default alerts that fire on static signatures. The new detection engineering lead wants to reframe the team's approach. Which characteristic most fundamentally distinguishes a detection engineering practice from that traditional alerting model?
✓Detections are treated as versioned engineering artifacts that are built from an attacker-behavior hypothesis, tested, and iteratively refined over time
Correct. Detection engineering treats detections as code-like, version-controlled artifacts derived from a behavioral hypothesis, then validated and tuned through continuous iteration.
・Detections are deployed once from the vendor marketplace and then left unchanged so that their baseline behavior stays perfectly stable
Incorrect. Deploy-once-and-freeze is the traditional model; it fails to adapt as adversary behavior and the environment evolve.
・Detections are generated automatically by the SIEM whenever any field in a log source changes, without any analyst involvement
Incorrect. Auto-generating rules on any field change produces noise, not engineered detections grounded in a tested hypothesis.
・Detections are limited strictly to signature matches on known file hashes so that every alert maps to a confirmed malware sample
Incorrect. Restricting to known hash signatures captures only a narrow slice of threats and ignores behavior-based detection, the core of the discipline.
Explanation
Detection engineering is defined by its hypothesis-driven, test-and-refine lifecycle in which detections are managed as engineering artifacts rather than static, vendor-supplied signatures.
Example2 · Log Collection & SIEM Architecture
A B2B SaaS company wants to detect when an attacker who has stolen valid credentials logs into the admin console from an unusual geographic location. The detection engineering team must choose the single most authoritative log source to feed this use case into the SIEM. Which source should they prioritize?
✓Identity provider (IdP) authentication logs that record each successful sign-in along with source IP, user agent, and session context
Correct. IdP authentication logs are the authoritative record of who signed in, from which IP, and in what session context, making them ideal for geo-anomaly detection on credential use.
・Reverse proxy access logs capturing raw HTTP request lines and response status codes for every URL served to clients
Incorrect. Reverse proxy access logs capture HTTP traffic but do not reliably attribute requests to an authenticated identity with location context the way IdP sign-in events do.
・Host endpoint process-creation telemetry that records command lines and parent-child relationships on admin workstations
Incorrect. Process-creation telemetry reveals local activity on a workstation but does not record the console sign-in event or its source geography.
・Database query audit logs showing which tables administrators read after they reach the console backend
Incorrect. Database audit logs show post-authentication data access, not the sign-in location that signals anomalous credential use.
Explanation
Matching the log source to the use case is central to detection engineering. A credential-geo-anomaly use case is best served by the IdP authentication log, which carries the identity, source IP, and session metadata needed to flag impossible-travel or unusual-location sign-ins.
Example3 · Writing & Tuning Detections
At a B2B SaaS company, an analyst hypothesizes that attackers abuse the OAuth consent flow to grant a malicious app broad mailbox access. Which detection logic most directly operationalizes this hypothesis against identity provider logs?
・Alert when a user account signs in from a geographic region that differs from any prior sign-in location recorded for that account in the past ninety days
Incorrect. Impossible-travel or new-location logic targets credential compromise generally, not the OAuth consent-grant behavior the hypothesis describes.
✓Alert when a consent grant assigns high-privilege mail scopes to an application that has not previously appeared in the tenant's consent history
Correct. Matching on consent grants that assign privileged mail scopes to previously unseen applications maps precisely to malicious OAuth app consent abuse.
・Alert when the total number of failed authentication attempts across the tenant exceeds the rolling weekly baseline by a wide margin
Incorrect. Aggregate failed-authentication spikes describe brute-force or spray activity rather than consent-based access to mailboxes.
・Alert when an administrator resets a password for a service account outside of the organization's documented change window
Incorrect. Service-account password resets are a credential-management concern unrelated to the OAuth consent flow in the stated hypothesis.
Explanation
Operationalizing a hypothesis means encoding its specific behavioral signal; here that signal is a privileged mail-scope consent to a never-before-seen app, which is the hallmark of illicit OAuth consent abuse.
Example4 · Correlation, Enrichment & Analytics
At a healthcare services firm, an analyst sees a Windows authentication log showing a successful logon to a clinical database server at 02:14, a firewall log showing an outbound connection from that server at 02:16, and an EDR process log showing rundll32 spawning at 02:15 on the same host. Which correlation approach most reliably links these three records into a single attacker session?
✓Correlate on the shared host identifier and a tight time window, then order the records to build a sequence of logon, execution, and network activity
Correct. Joining on a common entity (the host) within a bounded time window and then sequencing the events reconstructs the session across disparate sources.
・Group the records by log source type first and then review each source independently for anomalies before drawing any conclusions about linkage
Incorrect. Reviewing sources in isolation defeats correlation; the goal is to link records across sources, not analyze them separately.
・Rely on the authentication log alone because logon time is the authoritative anchor for every later event occurring on that same server
Incorrect. The authentication log is one data point; it cannot by itself prove the execution and network events belong to the same actor.
・Match the records solely on destination port because network context is the most trustworthy attribute shared across logs
Incorrect. Only the firewall record carries a destination port, so port cannot serve as a join key across all three sources.
Explanation
Effective cross-source correlation joins on a shared entity (host) within a bounded time window and orders the events to reconstruct the attack chain.
Example5 · Threat Hunting & Detection Validation
A detection analyst at a regional healthcare services firm is starting a new hunt after reading a report on adversaries abusing remote monitoring tools against clinics. The analyst wants the hunt to be hypothesis-driven rather than exploratory. Which starting statement best represents a sound, testable hunting hypothesis for this engagement?
✓Attackers have installed unauthorized remote monitoring and management tools on billing workstations, which should appear as new signed executables making outbound sessions to uncommon hosting providers
Correct. A good hunting hypothesis is specific, testable, and tied to observable evidence (new signed RMM binaries with outbound sessions to uncommon providers), letting the analyst confirm or refute it against telemetry.
・The firm should collect and review all available endpoint and network telemetry to look for anything unusual that could indicate a compromise across the clinical environment
Incorrect. Collecting and reviewing all telemetry for anything unusual describes open-ended exploratory analysis, not a focused, falsifiable hypothesis.
・Remote monitoring tools are dangerous and the security team must block every category of remote access software across all clinic subnets immediately
Incorrect. Blocking every remote access category is a mitigation action, not a hunting hypothesis, and it does not define evidence to test.
・There is probably malware somewhere in the environment because healthcare organizations are frequently targeted by ransomware operators
Incorrect. A vague assumption that malware probably exists is not testable and provides no specific behavior or artifact to validate.
Explanation
Hypothesis-driven hunting requires a concrete, falsifiable statement linking adversary behavior to specific, observable artifacts so the hunt can be confirmed or refuted.
Example6 · Detection Engineering Fundamentals
A healthcare services firm's SOC currently buys vendor signatures and tunes alerts only after incidents occur. The new detection engineering lead wants to reframe the team's mission. Which statement best describes what detection engineering adds beyond this reactive model?
・It replaces the SIEM with an EDR platform so that endpoint telemetry becomes the single authoritative source for every security alert the team produces
Incorrect. Detection engineering is tool-agnostic and does not mandate replacing the SIEM with EDR; telemetry sources are chosen to fit detections, not the reverse.
✓It treats detections as engineered products that are hypothesis-driven, version-controlled, tested, and continuously improved against defined adversary behaviors
Correct. Detection engineering applies a disciplined lifecycle—hypothesis, build, test, deploy, and iterate—treating detections as maintained products aligned to adversary behavior.
・It focuses the team on faster incident response by shortening the mean time to contain alerts that the vendor signatures have already generated
Incorrect. Speeding response to existing vendor alerts is still reactive; detection engineering proactively builds and improves the detections themselves.
・It outsources rule creation to the managed security provider while the internal team only validates that each delivered alert fired correctly
Incorrect. Outsourcing rule creation abandons the engineering discipline; the practice is about the internal team authoring and curating detections.
Explanation
Detection engineering reframes detections as engineered, tested, iterated products driven by adversary behavior rather than reactive tuning of purchased signatures.
Example7 · Detection Engineering Fundamentals
The security team at Meridian Outfitters, a national apparel retailer, is formalizing a detection engineering program after years of relying on vendor default signatures. Leadership asks the lead engineer to state the primary purpose that distinguishes detection engineering from simply buying more tools. Which statement best captures that purpose?
✓Applying a repeatable engineering lifecycle so that detections are deliberately designed, tested, and maintained against documented adversary behaviors rather than deployed ad hoc
Correct. Detection engineering treats detections as engineered artifacts built through a lifecycle (design, build, test, deploy, maintain) that is driven by documented adversary behavior rather than ad hoc deployment.
・Buying and stacking additional commercial security products until the number of generated alerts across the environment is maximized for the analysts
Incorrect. Maximizing alert volume increases noise and analyst fatigue; detection engineering aims for high-value, maintainable coverage, not more tools and more alerts.
・Shifting the full burden of writing and tuning every detection onto the managed security service provider under the existing contract
Incorrect. Outsourcing wholesale to an MSSP does not establish the internal engineering discipline, behavior-driven design, or ownership that defines a program.
・Disabling noisy default rules so the SOC queue stays empty
Incorrect. Silencing rules to empty the queue reduces visibility and is the opposite of engineering reliable coverage.
Explanation
A detection engineering program is defined by a repeatable, behavior-driven lifecycle for designing, testing, and maintaining detections, not by tool count, outsourcing, or suppressing alerts.
Example8 · Detection Engineering Fundamentals
During a review at Meridian Outfitters, an engineer proposes two detection ideas: one alerts on a specific malicious file hash seen in last month's incident, and another alerts when any process spawns a command interpreter that then contacts an external host. How should the engineer classify the second idea relative to the first?
✓The first is an indicator of compromise and the second is a behavioral indicator of attack that generalizes across tooling
Correct. A fixed hash is an IOC (a static artifact), while detecting the behavior of interpreter spawning plus outbound contact is an IOA that captures adversary technique regardless of specific tooling.
・The first is an indicator of attack and the second is an indicator of compromise tied to a single artifact value
Incorrect. The roles are reversed; the hash is the IOC and the behavioral pattern is the IOA.
・Both are indicators of compromise because each one fires on an observed and discrete forensic artifact
Incorrect. Only the hash is an artifact-based IOC; the behavioral pattern describes attacker activity, making it an IOA.
・Both are indicators of attack targeting technique
Incorrect. The fixed hash is not an IOA; it is a static artifact that fails once the attacker recompiles the file.
Explanation
IOCs are static artifacts such as hashes; IOAs describe adversary behavior that generalizes across tools, making the behavioral rule an IOA.
Example9 · Detection Engineering Fundamentals
Meridian Outfitters receives threat intelligence that an adversary is abusing a legitimate remote-access utility to maintain persistence in retail environments. The detection engineer has already researched the behavior and drafted a candidate rule. According to the detection engineering lifecycle, what should happen immediately before the rule is promoted to production?
✓Validate the rule against representative benign and malicious telemetry to confirm it fires on the behavior while measuring its false positive rate
Correct. Testing and validation against benign and malicious data precedes deployment so the engineer confirms efficacy and understands false positive impact before production use.
・Permanently archive the candidate rule in version control and move on to the next intelligence item in the backlog queue
Incorrect. Archiving without deploying skips the value-delivery and testing stages; the rule must be validated and promoted, not shelved.
・Immediately enable the rule in blocking mode across all stores to stop the persistence as fast as possible
Incorrect. Pushing an untested rule straight to blocking mode risks operational disruption and false positives; validation must come first.
・Delete the source threat intelligence report
Incorrect. Discarding the intelligence removes the documented basis for the detection and its future maintenance.
Explanation
The lifecycle places testing and validation against representative data immediately before deployment, ensuring the rule works and its false positive impact is understood.
Example10 · Detection Engineering Fundamentals
A SOC at a regional bank relies entirely on vendor-supplied antivirus signatures and IDS rules. After a fraud incident bypasses these controls, leadership asks what a detection engineering practice would add. Which statement best describes the core difference detection engineering introduces?
・It replaces all commercial tooling with open-source alternatives to lower the bank's annual licensing and support costs across the SOC
Incorrect. Detection engineering is tool-agnostic and is about how detections are developed and maintained, not about swapping commercial products for open source to cut costs.
✓It treats detections as engineered, version-controlled artifacts built from hypotheses about adversary behavior and continuously tested against telemetry
Correct. Detection engineering produces detections as deliberate, version-controlled engineering artifacts derived from behavioral hypotheses and validated against real telemetry over time.
・It shifts the SOC from reactive alerting to purely automated response that remediates every incident without any analyst involvement
Incorrect. Automated response (SOAR) is a separate capability; detection engineering centers on building and improving the detections themselves, keeping analysts in the loop.
・It focuses the team on compliance reporting so auditors receive signature counts and coverage metrics on a fixed quarterly schedule
Incorrect. Compliance reporting may consume detection output, but the discipline's purpose is building effective behavior-based detections, not generating audit metrics.
Explanation
Detection engineering differs from signature-based monitoring by treating detections as engineered artifacts grounded in adversary-behavior hypotheses, versioned, and continuously tested rather than passively consumed from vendors.
Example11 · Detection Engineering Fundamentals
A detection engineer at a payment processor has just drafted a new rule to catch suspicious wire-transfer approvals and verified it fires correctly in a test against replayed logs. Following the detection engineering lifecycle, what is the appropriate next step before the rule is relied upon in production?
・Immediately promote the rule to production and close the request, since testing against replayed logs already proved the detection works as intended
Incorrect. Testing on replayed logs validates logic but does not account for production noise; promoting without documentation and tuning skips essential lifecycle stages.
✓Document the rule's logic, data sources, and expected alerts, then deploy with monitoring for tuning based on real-world false positives
Correct. After validation the lifecycle calls for documenting the detection and deploying it with ongoing monitoring so it can be tuned against real false positives.
・Discard the rule and begin again with a broader hypothesis so the final detection covers every possible wire-transfer abuse scenario at once
Incorrect. A validated, scoped detection should not be discarded; attempting to cover every scenario in one rule contradicts iterative, hypothesis-driven engineering.
・Hand the rule to the incident response team and let them decide independently whether the logic is suitable for production deployment
Incorrect. Deployment decisions belong to the detection engineering process with documentation and tuning, not an uncoordinated handoff to responders.
Explanation
The detection engineering lifecycle moves from hypothesis to development, testing, documentation, deployment, and then continuous tuning; after validation the engineer documents and deploys with monitoring rather than promoting blindly or discarding.
Example12 · Detection Engineering Fundamentals
A manufacturing distributor is standing up a formal detection engineering function after years of relying on default vendor SIEM rules. The team lead wants to describe to management what distinguishes detection engineering from simply enabling out-of-the-box alerts. Which description best captures the core purpose of detection engineering?
✓Systematically designing, building, testing, and maintaining analytics that identify specific adversary behaviors against the organization's actual environment and threat profile
Correct. Detection engineering is the disciplined practice of designing, building, testing, and maintaining analytics tuned to real adversary behaviors and the specific environment.
・Collecting and retaining the largest possible volume of raw log data so that any future investigation has complete historical evidence available
Incorrect. Maximizing raw log retention is a logging/data strategy; it does not by itself produce tuned, tested detections of adversary behavior.
・Deploying endpoint and network prevention controls that automatically block malicious activity before any alert needs to be reviewed by an analyst
Incorrect. That describes preventive controls; detection engineering focuses on identifying activity, not blocking it before an alert is generated.
・Purchasing and enabling every correlation rule a security vendor ships so that no known attack technique is left without coverage
Incorrect. Enabling every vendor rule produces noise and poor fit; detection engineering deliberately tailors analytics to the environment and threat profile.
Explanation
Detection engineering is a deliberate lifecycle of creating and maintaining environment-specific, behavior-focused analytics, not merely enabling vendor defaults, hoarding logs, or applying prevention.
Example13 · Detection Engineering Fundamentals
At the manufacturing distributor, an analyst builds one rule that alerts on a specific malware's known file hash and another that alerts whenever a logistics server spawns a command interpreter as a child of a spreadsheet application. Compared to the hash-based rule, what is the primary advantage of the behavior-based rule?
✓It remains effective even when the adversary recompiles or repacks the tooling, because it keys on the activity pattern rather than a specific artifact value
Correct. Behavior-based detections key on activity patterns, so they survive artifact changes like recompilation or repacking that defeat hash matching.
・It is guaranteed to generate zero false positives since legitimate business software never launches a command interpreter under any circumstances
Incorrect. Legitimate automation can spawn interpreters from office apps, so behavioral rules are not inherently false-positive free and need tuning.
・It requires substantially less log data to operate because process lineage events are smaller than file hash records in storage
Incorrect. Data volume is not the advantage; behavioral rules often require richer telemetry such as process lineage, not less.
・It can be deployed without any tuning against the environment because behavioral patterns are universal across all organizations
Incorrect. Behavioral patterns still require tuning to each environment's normal baseline before deployment.
Explanation
Behavior-based detections target the technique itself, giving durability against artifact-level evasion, which is their chief advantage over brittle hash matching.
Example14 · Detection Engineering Fundamentals
A telecom operator's SOC manager wants to formalize how the team builds and maintains its analytics. She asks what fundamentally distinguishes detection engineering from the reactive triage the team does today. Which statement best captures that distinction?
・It replaces human analysts with automated response playbooks that close tickets without review
Incorrect. Detection engineering augments analysts and does not aim to auto-close tickets without any human review.
✓It treats detections as engineered, version-controlled products that are designed, tested, and maintained over time
Correct. Detection engineering applies a software-development mindset: detections are built, tested, documented, and maintained as durable products rather than ad hoc rules.
・It focuses on tuning firewall rules at the network perimeter to block known malicious IP ranges
Incorrect. Perimeter firewall tuning is one control type and does not define the discipline, which spans the full detection lifecycle.
・It prioritizes faster manual review of incoming SIEM alerts so analysts can clear the queue sooner
Incorrect. Speeding up manual triage is still reactive work; detection engineering is a proactive design discipline.
Explanation
Detection engineering is the proactive, lifecycle-driven practice of designing, testing, and maintaining detections as engineered products, which is what separates it from reactive alert triage.
Example15 · Detection Engineering Fundamentals
A telecom operator receives threat intel that adversaries are abusing its OSS/BSS provisioning API. A new detection is requested. Following the detection engineering lifecycle, what should the engineer do immediately after defining the requirement and before writing the query logic?
・Deploy the draft detection straight into production so coverage begins as early as possible
Incorrect. Deploying straight to production skips testing and validation stages of the lifecycle.
✓Validate that the required telemetry and log sources are actually available and parsed
Correct. After defining the requirement, the engineer must confirm the needed data sources exist and are correctly collected and parsed before building logic that depends on them.
・Write the incident response runbook that analysts will follow when the detection triggers
Incorrect. The response runbook is created later, after the detection logic and testing are established.
・Measure the detection's false positive rate against ninety days of historical production traffic
Incorrect. Measuring false positives comes during testing and tuning, after logic is written against validated data.
Explanation
Data source validation follows requirement definition: without confirming telemetry availability, any query logic may be unbuildable or blind, so it precedes authoring the detection.
▶ Try 10 free questions (graded)
Measure your readiness with a full mock exam
All questions · full explanations · lifetime access
Enroll(33 USD)