GIAC Certified Enterprise Defender (GCED) Exam-style mock test
GIAC Certified Enterprise Defender (GCED) Practice Exams|Practice test
Full explanations
Exam format
Pass line 70%
33 USD One-time · lifetime access
Enroll →
Sample questions
Example1 · Defensive Network Infrastructure
A B2B SaaS company hosts its customer-facing application tier, an internal application API tier, and a backend database tier on a single flat VLAN. After a vulnerability scan flags lateral movement risk, the defense team wants to apply defense-in-depth. Which redesign best reduces the blast radius of a compromised web server?
・Deploy an additional host-based antivirus agent on every server in the flat VLAN and schedule daily signature updates across the environment
Incorrect. Antivirus adds an endpoint control but leaves the flat network intact, so a compromised web server can still reach the database tier directly.
✓Place each tier in its own segment with firewall rules permitting only required flows between adjacent tiers and denying all other traffic
Correct. Segmenting each tier and restricting inter-tier flows to only what is required enforces least privilege at the network layer and contains lateral movement.
・Enable full-disk encryption on the database servers so that stolen data remains protected even if an attacker reaches the backend tier
Incorrect. Disk encryption protects data at rest but does nothing to stop an attacker who has reached a running database over an open network path.
・Move all three tiers to a cloud provider and rely on the provider's shared-responsibility model to isolate the workloads automatically
Incorrect. Lifting-and-shifting to the cloud without segmentation preserves the flat topology, and the shared-responsibility model does not auto-isolate your tiers.
Explanation
Defense-in-depth at the network layer means segmenting trust zones and permitting only necessary flows between them, which directly limits lateral movement from a compromised tier.
Example2 · Packet Analysis & Intrusion Detection
A SOC analyst at a B2B SaaS provider reviews a tcpdump capture from the perimeter and sees a burst of packets to hundreds of ports on one web host, each packet carrying only the SYN flag with no matching ACK responses recorded afterward. Which activity best explains this pattern?
✓A SYN scan probing many ports while avoiding full connections
Correct. SYN-only packets sprayed across many ports without completing the handshake is the signature of a half-open SYN (stealth) scan designed to map open ports quickly.
・A completed three-way handshake followed by a bulk upload
Incorrect. A completed handshake would show SYN, SYN-ACK, and ACK exchanges followed by data, not lone SYN packets to hundreds of ports.
・A legitimate keep-alive exchange between two trusted peers
Incorrect. Keep-alive traffic occurs within one established connection on a single port, not as fan-out SYN probes across many ports.
・An established session being gracefully closed with FIN packets
Incorrect. Graceful teardown uses FIN and ACK flags on an existing session, which does not match a wide spray of SYN-only packets.
Explanation
Lone SYN packets to many ports with no handshake completion is the defining behavior of a half-open SYN scan.
Example3 · Malware & Threat Analysis
An analyst at a B2B SaaS firm receives a suspicious binary flagged on a billing server. She wants to extract embedded strings, review the PE header, and list imported functions without ever executing the sample. Which analysis approach is she performing?
・Dynamic analysis, where the sample runs in an instrumented sandbox so its runtime behavior and network callbacks are recorded for review
Incorrect. Dynamic analysis requires executing the sample so its behavior is observed, which contradicts the stated no-execution constraint.
✓Static analysis, examining the file's structure and contents without running it to infer capability
Correct. Reviewing strings, PE headers, and imports without running the file is static analysis of the file's structure and contents.
・Hybrid detonation, where the sample is partially executed and then halted mid-routine for inspection
Incorrect. There is no standard technique that partially executes and halts a sample mid-routine; the described activities are purely static.
・Behavioral correlation, comparing observed process activity against a baseline of known-good hosts
Incorrect. Comparing runtime process activity against a known-good baseline is a behavioral/dynamic technique, not header and string inspection.
Explanation
Static analysis inspects a file's structure, strings, headers, and imports without executing it, while dynamic analysis observes runtime behavior.
Example4 · Incident Response & Digital Forensics
A SOC analyst at a healthcare services firm confirms that a billing server is actively exfiltrating patient records to an external IP. The containment playbook has not yet been triggered. According to the incident response process, which action should the analyst take as the immediate next step?
・Rebuild the billing server from a known-good image and restore the most recent backup
Incorrect. Rebuilding and restoring belongs to the eradication and recovery phases, which occur only after the active threat has been contained and evidence preserved.
✓Isolate the affected billing server from the network to stop the ongoing data flow
Correct. With exfiltration still occurring, containment is the priority phase; isolating the server stops the immediate damage while preserving the ability to investigate.
・Write the full post-incident report documenting the timeline, root cause, and lessons learned
Incorrect. Writing the post-incident report is a lessons-learned activity performed after the incident is fully resolved, not while data is actively leaving the network.
・Schedule a tabletop exercise with stakeholders to review the containment playbook gaps
Incorrect. A tabletop exercise is a preparation activity for future readiness and does nothing to address the live exfiltration currently in progress.
Explanation
When an active threat such as exfiltration is confirmed, the incident response lifecycle calls for containment next to limit damage, before eradication, recovery, or lessons-learned activities.
Example5 · Secure Configuration & Penetration Testing Basics
A healthcare services firm is deploying new clinical workstations that handle protected patient records. The security team wants to reduce the attack surface before these systems go live in the clinics. Which action best reflects applying a secure configuration baseline during provisioning?
・Install the full default operating system image and then enable the local firewall after users report connectivity problems in the clinics
Incorrect. Shipping the full default image and only reacting to problems leaves many services and ports exposed, which is the opposite of proactive hardening.
✓Remove unnecessary services, close unused ports, and disable default accounts according to a documented hardening standard before deployment
Correct. Stripping unneeded services, closing unused ports, and disabling default accounts against a documented standard is the essence of applying a secure configuration baseline before systems are exposed.
・Deploy the vendor image unchanged so that all clinical software functions and schedule a vulnerability scan for the following quarter
Incorrect. Leaving the vendor image unchanged preserves default services and accounts, and deferring the scan a full quarter leaves the attack surface open during that window.
・Grant every clinician local administrator rights so help desk tickets drop and revisit the permission model after the rollout finishes
Incorrect. Granting broad local administrator rights expands privilege and attack surface rather than reducing it, directly violating least-privilege hardening goals.
Explanation
A secure configuration baseline is applied proactively by minimizing services, ports, and default accounts against a documented hardening standard before a system handles production data.
Example6 · Defensive Network Infrastructure
A healthcare services firm runs an electronic health record (EHR) application that must be reachable by clinical workstations but never directly from the internet. The security team wants to reduce the blast radius if a workstation is compromised. Which network design change best accomplishes this goal?
✓Place the EHR servers in a dedicated internal segment and restrict inbound access to only the clinical workstation VLANs using firewall rules
Correct. A dedicated segment with firewall rules permitting only the clinical workstation VLANs enforces least privilege and limits lateral movement if a workstation is compromised.
・Move the EHR servers into the internet-facing DMZ so that only the perimeter firewall governs all access to those systems
Incorrect. Placing internal EHR servers in the internet-facing DMZ needlessly increases exposure and does not contain workstation-originated lateral movement.
・Assign the EHR servers public IP addresses and rely on host-based firewalls configured on each server to filter traffic
Incorrect. Assigning public IPs exposes sensitive servers directly to the internet, and host-based firewalls alone do not provide defensible segmentation.
・Keep the EHR servers on the flat user LAN but deploy endpoint antivirus on every clinical workstation across the firm
Incorrect. A flat LAN with only endpoint antivirus leaves the EHR servers reachable by any compromised workstation, failing to reduce blast radius.
Explanation
Defensible network architecture isolates high-value assets into their own segments and permits only the specific sources that require access, containing lateral movement.
Example7 · Defensive Network Infrastructure
NorthPeak Outfitters, a national outdoor-gear retailer, runs point-of-sale terminals on the same flat VLAN as its corporate workstations and back-office servers. An auditor flags this as a cardholder-data exposure risk. Which architectural change most directly reduces the blast radius if a corporate workstation is compromised?
・Enable full-disk encryption on all corporate workstations and POS terminals
Incorrect. Full-disk encryption protects data at rest on stolen hardware but does nothing to limit lateral movement from a compromised workstation on the same VLAN.
✓Place POS terminals in a dedicated segment with filtered access to only the payment gateway
Correct. Segmenting POS into its own zone and permitting only the payment gateway traffic enforces least-privilege at the network layer and contains lateral movement from compromised corporate hosts.
・Deploy an endpoint agent to every workstation and POS device for logging
Incorrect. Endpoint agents improve visibility but do not constrain the network reachability that lets a compromised host pivot to POS devices.
・Rotate the wireless pre-shared key for the store network every ninety days
Incorrect. Rotating the wireless key addresses wireless access, not the flat routing that already allows corporate hosts to reach POS systems.
Explanation
A defensible architecture isolates high-value systems like POS into their own segment with narrowly filtered flows, limiting blast radius. Encryption, endpoint agents, and key rotation are useful but do not contain lateral movement on a flat network.
Example8 · Defensive Network Infrastructure
A defender at NorthPeak Outfitters reviews the perimeter firewall and finds the final rule is an explicit 'permit ip any any' followed by a logging statement. Inbound exploitation attempts are succeeding against internal services. What is the most appropriate corrective action?
・Add intrusion prevention signatures upstream of the firewall to block the exploits
Incorrect. Upstream IPS adds a control but leaves the root cause—a permissive default that allows anything not explicitly denied—in place.
✓Replace the trailing permit with an explicit deny-all-and-log rule at the end
Correct. A defensible ruleset ends with an explicit deny-all-and-log; replacing the trailing permit enforces default-deny so only intended flows pass.
・Move the permit rule higher so it processes before the service rules
Incorrect. Reordering the permit earlier makes the permissive behavior worse, allowing traffic before specific service rules apply.
・Reduce the firewall connection timeout so stale sessions are purged faster
Incorrect. Shortening session timeouts affects state table hygiene, not the default-permit flaw letting unwanted traffic through.
Explanation
Firewalls should enforce default-deny with an explicit deny-and-log terminator. A trailing 'permit any any' defeats least-privilege filtering regardless of other controls.
Example9 · Defensive Network Infrastructure
During a configuration review of NorthPeak Outfitters distribution switches, a defender notes that management access is permitted over Telnet from any subnet and that unused ports remain in the default VLAN. Which hardening measure best addresses the management-access weakness specifically?
・Shut down all unused switch ports and assign them to an isolated VLAN
Incorrect. Disabling unused ports is valid hardening but addresses physical port exposure, not the insecure Telnet management channel.
✓Restrict management to SSH sourced from a dedicated administration subnet
Correct. Replacing Telnet with SSH and restricting it to a dedicated admin subnet directly secures the management plane that was exposed to any subnet in cleartext.
・Enable port security to limit the number of learned MAC addresses per port
Incorrect. Port security limits MAC flooding on access ports and does not protect the management access path.
・Configure DHCP snooping on access ports to block rogue DHCP servers
Incorrect. DHCP snooping mitigates rogue DHCP on access ports, unrelated to how administrators reach the device management interface.
Explanation
Management-plane hardening requires encrypted administration (SSH) limited to trusted source networks. Port shutdown, port security, and DHCP snooping harden the data plane but not management access.
Example10 · Defensive Network Infrastructure
A financial services firm hosts its core banking database on the same flat VLAN as employee workstations and the public web application servers. After a workstation is compromised by malware, defenders find the attacker reached the database directly. Which architectural change most directly prevents this lateral movement path in the future?
・Deploy endpoint detection agents on every workstation and push updated signatures to the antivirus console each morning
Incorrect. Endpoint detection helps catch the initial infection but does nothing to stop a compromised host from routing directly to the database on a shared flat network.
✓Segment the network into security zones and enforce traffic policy between workstations, web servers, and the database tier
Correct. Placing the workstation, web, and database tiers in separate zones with enforced policy between them removes the direct Layer 2/3 path an attacker uses for lateral movement.
・Increase the password complexity requirements for all employee accounts across the entire corporate domain
Incorrect. Stronger passwords raise the bar for credential attacks but do not address the flat-network reachability that let the workstation talk straight to the database.
・Enable verbose logging on the database server so analysts can review connection events after an incident occurs
Incorrect. Verbose logging aids post-incident analysis but is a detective control and cannot block the lateral traffic that segmentation would have stopped.
Explanation
A defensible architecture divides the network into segmented zones so that compromise of a low-trust segment does not grant direct access to high-value assets like the banking database.
Example11 · Defensive Network Infrastructure
A defender at a brokerage reviews the perimeter firewall and must explain how its stateful inspection engine handles return traffic for an outbound HTTPS session a trader initiates to a market-data provider. Which statement best describes how the return packets are permitted?
・Each inbound reply packet is matched against a static inbound allow rule that an administrator must pre-create for every external host
Incorrect. Static inbound rules for every external host are what packet filters require; stateful inspection avoids this by tracking sessions dynamically.
✓The firewall tracks the outbound connection in its state table and automatically permits the matching return packets of that session
Correct. A stateful firewall records the outbound flow in its connection table and uses that state to permit the corresponding return packets without a separate inbound rule.
・The firewall inspects only the first packet of each flow and then forwards all subsequent packets of any protocol without evaluation
Incorrect. Stateful engines evaluate packets against the tracked session state, not just the first packet of a flow for any protocol indiscriminately.
・Return packets are broadcast to every interface and the firewall relies on the client to silently discard traffic it did not request
Incorrect. Firewalls forward return traffic to the correct interface based on routing and state; they do not broadcast replies and depend on clients to drop them.
Explanation
Stateful inspection maintains a connection table so legitimate return traffic for an established outbound session is allowed automatically, which is why no static inbound rule per host is needed.
Example12 · Defensive Network Infrastructure
A manufacturing distributor runs a shop-floor SCADA network alongside its corporate ERP and warehouse Wi-Fi on one flat subnet. After a warehouse laptop is infected, the malware spreads to a PLC controller within minutes. Which architectural change would most directly limit this lateral movement in the future?
・Deploy an inline IPS at the internet perimeter and enable its full signature set so inbound exploit traffic from external attackers is blocked before it reaches any device
Incorrect. A perimeter IPS inspects north-south internet traffic but does nothing to stop east-west spread that already occurred inside the flat subnet.
✓Segment the shop-floor SCADA systems into a dedicated zone behind a firewall that permits only specific protocols and hosts from the corporate side
Correct. Placing SCADA in its own segment behind a firewall that allows only required protocols/hosts enforces the choke point that stops internal lateral movement to PLCs.
・Install endpoint antivirus with real-time scanning on every warehouse laptop and tablet so infected files are quarantined before execution occurs
Incorrect. Endpoint antivirus may help the initial host but does not architecturally prevent a compromised device from reaching the PLC on the same subnet.
・Require multifactor authentication for all corporate ERP logins so stolen credentials cannot be reused by an attacker moving through the network
Incorrect. MFA protects authentication to the ERP but the PLC spread used network reachability, not reused ERP credentials.
Explanation
Lateral movement across a flat network is contained by network segmentation and zone-to-zone filtering, the core principle of defense-in-depth for ICS environments.
Example13 · Defensive Network Infrastructure
The distributor's firewall rulebase has grown to 400 rules, many ending with broad 'any' service allowances added over years. A new auditor asks for the single change that best realigns the rulebase with least-privilege principles. Which action should the firewall team take first?
・Add a final explicit deny-all rule with logging at the bottom of the rulebase so any traffic not matching an earlier rule is dropped and recorded
Incorrect. A deny-all with logging is good hygiene but does not fix the overly broad 'any' allowances that already grant excessive access.
✓Review each permissive rule and tighten it to the specific source, destination, and service actually required, removing unused 'any' allowances
Correct. Least privilege is achieved by narrowing each rule to the exact source, destination, and service required and eliminating unnecessary 'any' permits.
・Enable the firewall's built-in intrusion prevention module so malicious traffic within permitted flows is inspected and blocked at the gateway
Incorrect. IPS inspection adds a detection layer but does not reduce the excessive access the permissive rules already grant.
・Schedule a weekly automated export of the configuration to an off-box server so every rule change is version-controlled and reviewable later
Incorrect. Config version control supports change management and review but does not tighten the permissive rules themselves.
Explanation
Least privilege on a firewall means each rule allows only what is explicitly needed; auditing and tightening broad 'any' rules is the direct remediation.
Example14 · Defensive Network Infrastructure
A telecom operator runs its OSS/BSS billing platform, its customer self-service web portal, and its core signaling network on one flat internal VLAN to simplify management. A defender is asked to redesign the architecture so that a breach of the public-facing portal cannot directly reach billing or signaling systems. Which approach best satisfies this requirement?
・Place a host-based antivirus agent on every billing and signaling server so malware is detected and removed before it can spread laterally across the flat VLAN
Incorrect. Endpoint antivirus may catch known malware but does nothing to restrict network paths; a compromised portal on the same flat VLAN still has direct reachability to billing and signaling hosts.
✓Segment the network into separate security zones and enforce traffic between them through firewalls that permit only required protocols and hosts
Correct. Dividing the environment into zones (DMZ portal, billing, signaling) and mediating all inter-zone traffic through firewalls that allow only required flows removes the direct lateral path a portal compromise would otherwise have.
・Deploy a single large next-generation firewall at the Internet edge configured with intrusion prevention, URL filtering, and application-aware policies
Incorrect. A single edge firewall inspects north-south Internet traffic but provides no east-west control between internal systems that still share one flat VLAN.
・Rotate administrative credentials on the portal servers weekly and require multifactor authentication for all remote administrative logins
Incorrect. Credential hygiene and MFA reduce account misuse but leave the flat network path intact, so a compromised portal can still reach billing and signaling directly.
Explanation
Defense in depth relies on segmentation into zones with enforced choke points; collapsing systems onto one flat VLAN removes those internal boundaries regardless of endpoint or credential controls.
Example15 · Defensive Network Infrastructure
A telecom operator must expose a public DNS resolver and a customer email gateway to the Internet while keeping its internal subscriber database protected. A defender designs a screened subnet (DMZ) between the outer and inner firewalls. What is the primary security benefit of placing these public services in the DMZ rather than on the internal network?
・It encrypts all traffic flowing between the public services and Internet clients so that intercepted packets cannot be read by an attacker
Incorrect. A DMZ is a segmentation construct; it does not itself encrypt traffic, which is a function of TLS or other protocols applied to the services.
・It guarantees the public services remain available by automatically failing over to a backup data center when the primary services become unreachable
Incorrect. Availability and failover come from redundancy and load balancing, not from the isolation role a DMZ provides.
✓It isolates Internet-exposed services so that compromising one does not give the attacker direct network access to internal systems
Correct. The DMZ isolates exposed services between two firewall layers so that a compromised public host is still separated from internal systems by the inner firewall.
・It removes the need for the inner firewall because the outer firewall already filters all inbound traffic reaching the public services
Incorrect. The inner firewall is exactly what preserves separation between the DMZ and internal network, so a DMZ design does not eliminate it.
Explanation
A screened subnet contains Internet-facing services so that their compromise does not yield direct reachability into trusted internal networks, which is its core defensive purpose.
▶ Try 10 free questions (graded)