GIAC Security Essentials (GSEC) Exam-style mock test
GIAC GSEC Security Essentials Practice Exams|Practice test
Full explanations
Exam format
Pass line 73%
33 USD One-time · lifetime access
Enroll →
Sample questions
Example1 · Network Security, Protocols, and Architecture
A B2B SaaS company hosts its customer-facing API, internal admin tools, and a backend database on one flat network segment. A penetration test shows that compromising the public API server grants direct network access to the database. Which architectural change best applies defense-in-depth to limit lateral movement?
・Replace the existing firewall with a newer next-generation firewall appliance that inspects traffic
Incorrect. A newer firewall at the perimeter does not stop lateral movement once an attacker is already inside the flat internal network.
✓Segment the network into separate tiers and restrict traffic between them with filtering controls
Correct. Segmenting into tiers (DMZ, application, database) with controlled traffic between them enforces layered boundaries that contain a compromise.
・Require all employees to rotate their administrative passwords on a monthly schedule
Incorrect. Password rotation addresses credential hygiene, not the network path that allows the API server to reach the database directly.
・Enable verbose logging on every server so that analysts can review events later
Incorrect. Logging improves detection and forensics but does not prevent or restrict the lateral network access itself.
Explanation
Defense-in-depth here means layering network boundaries; tiered segmentation isolates the database tier so a compromised public server cannot reach it directly.
Example2 · Cryptography, PKI, and Authentication
A B2B SaaS company must encrypt large nightly database exports before writing them to cloud object storage. The team needs the fastest possible bulk encryption while keeping key management internal. Which cryptographic approach best fits bulk encryption of large data volumes?
✓Use a symmetric algorithm such as AES because it encrypts large volumes of data efficiently
Correct. Symmetric algorithms like AES are fast and designed for bulk data encryption, making them ideal for large exports.
・Use the recipient's RSA public key directly to encrypt every block of the entire export file
Incorrect. RSA is slow and limited to small payloads, so encrypting an entire large file directly with it is impractical.
・Hash the export with SHA-256 and store the digest alongside the plaintext for confidentiality
Incorrect. Hashing provides integrity, not confidentiality, and leaves the plaintext readable.
・Apply an asymmetric algorithm to each record so that only the private key holder can read any field value later
Incorrect. Per-record asymmetric encryption is extremely slow and unsuited to bulk data volumes.
Explanation
Symmetric ciphers such as AES are the correct choice for high-speed bulk encryption; asymmetric crypto is reserved for key exchange and signatures.
Example3 · Access Control, Password Management, and Security Policy
At a B2B SaaS company, a new support engineer needs to read customer ticket metadata to triage issues but should never see payment card data or modify tenant billing settings. Which provisioning approach best applies the principle of least privilege?
・Clone the permissions of the most senior support engineer on the team so the new hire can handle any escalation that arrives during their shift without waiting
Incorrect. Copying a senior engineer's permission set grants far more access than the triage task requires, violating least privilege.
✓Grant a role limited to read-only access on ticket metadata, excluding payment and billing scopes
Correct. A role scoped to exactly the read-only ticket metadata needed, with payment and billing excluded, grants only what the job requires.
・Grant the built-in administrator role temporarily and promise to remove the extra permissions during the next quarterly access review cycle
Incorrect. Granting administrator rights, even temporarily, provides excessive access and relies on a delayed cleanup that often never happens.
・Grant membership in the broad company-wide support group that already bundles ticketing, billing, and refund approval permissions together
Incorrect. A broad bundled group includes billing and refund permissions the engineer does not need, over-provisioning the account.
Explanation
Least privilege means granting only the specific permissions required for the task. A read-only ticket-metadata role that excludes payment and billing scopes meets the need without excess access.
Example4 · Incident Handling, Malware, and Defense-in-Depth
At a healthcare services firm, the SOC confirms a workstation is actively exfiltrating patient records to an unknown host. Following the standard incident handling process, the team has just finished the Identification phase. Which phase should they perform next?
・Lessons Learned, to document the timeline and update procedures
Incorrect. Lessons Learned is the final phase and comes long after the active threat has been stopped and systems recovered.
✓Containment, to isolate the host and stop the data loss
Correct. After Identification, Containment is next so the host is isolated and ongoing exfiltration of patient records is halted.
・Preparation, to assemble the jump kit and build the response team
Incorrect. Preparation precedes an incident entirely and cannot follow Identification during an active response.
・Recovery, to restore the workstation from a known-good baseline image
Incorrect. Recovery restores systems to production but only occurs after containment and eradication are complete.
Explanation
The PICERL model orders phases as Preparation, Identification, Containment, Eradication, Recovery, and Lessons Learned; Containment directly follows Identification.
Example5 · Windows and Linux Security, Endpoint, and Cloud Fundamentals
At a healthcare services firm, billing clerks on Windows 11 workstations routinely run as local Administrators so a legacy claims application can write to its install folder. Security wants to cut the endpoint attack surface without breaking the app. Which change best reduces privilege while keeping the app working?
✓Give each clerk a standard user account, grant write permissions only on the specific application folder, and keep User Account Control enabled
Correct. Standard accounts with a narrowly scoped folder permission remove persistent admin rights yet let the legacy app write where it needs to, enforcing least privilege.
・Leave the clerks as administrators but enable User Account Control prompts
Incorrect. Keeping admin rights leaves the clerks fully privileged, so malware they run still inherits administrator capability.
・Disable User Account Control so prompts stop appearing during the clerks' daily billing workflow
Incorrect. Disabling UAC removes a protective elevation control and increases risk rather than reducing it.
・Move every billing clerk into the Domain Admins group to centrally manage their elevated workstation rights and application access
Incorrect. Domain Admins grants domain-wide control, a massive privilege escalation that is far worse than local admin.
Explanation
Least privilege means removing standing admin rights and granting only the specific access the application requires; UAC should stay on.
Example6 · Network Security, Protocols, and Architecture
A healthcare services firm runs an electronic health record (EHR) database that must only be reachable by the application tier, never directly from clinician workstations or the internet. The security architect wants to reduce the blast radius if a workstation is compromised. Which network design approach most directly achieves this goal?
・Enable full-disk encryption on every clinician workstation and the EHR database server so data is protected if any device is physically stolen from the facility
Incorrect. Full-disk encryption protects data at rest on stolen devices but does nothing to restrict network reachability to the database.
✓Place the EHR database in a dedicated segmented VLAN and permit only the application tier to reach it through firewall rules
Correct. Segmenting the database into its own VLAN and allowing only the application tier through firewall rules enforces least-privilege reachability and limits lateral movement.
・Deploy endpoint antivirus with weekly signature updates on all clinician workstations across the hospital network
Incorrect. Antivirus helps detect malware but does not isolate the database from compromised workstations at the network layer.
・Require all clinicians to change their Active Directory passwords every thirty days to limit credential reuse
Incorrect. Password rotation addresses credential hygiene, not the network reachability of the EHR database.
Explanation
Network segmentation with restrictive firewall rules enforces that only authorized tiers can reach sensitive systems, reducing lateral movement after a workstation compromise.
Example7 · Network Security, Protocols, and Architecture
At the retailer NorthPeak Outfitters, a network engineer is reviewing how a customer's browser establishes a session with the online store. The three-way handshake she observes uses SYN, SYN-ACK, and ACK segments to agree on initial sequence numbers before any HTTP data flows. Which transport-layer property does this handshake primarily provide for the connection?
・Connectionless best-effort delivery with no guarantee that segments arrive or arrive in order at the store
Incorrect. Connectionless best-effort delivery describes UDP; the SYN/SYN-ACK/ACK exchange is unique to TCP, which is connection-oriented.
✓Reliable, connection-oriented delivery with ordered, acknowledged segment exchange between client and store
Correct. The three-way handshake sets up TCP's reliable, connection-oriented service, synchronizing sequence numbers so segments are acknowledged and ordered.
・Encryption of the payload so that card data travelling to NorthPeak cannot be read by an eavesdropper
Incorrect. The handshake does not encrypt anything; confidentiality would be supplied by TLS running above TCP, not by the handshake itself.
・Translation of the store's domain name into the routable IP address the browser needs
Incorrect. Name-to-address translation is performed by DNS before the handshake, not by the TCP handshake.
Explanation
TCP's three-way handshake establishes a reliable, connection-oriented session by synchronizing sequence numbers; it does not provide encryption, name resolution, or connectionless delivery.
Example8 · Network Security, Protocols, and Architecture
NorthPeak Outfitters wants staff to remotely administer a Linux inventory server over an encrypted channel instead of the legacy cleartext protocol currently in use. The firewall team asks which destination port to open for the secure replacement. Which port should they permit?
・TCP port 23, the port used by the legacy Telnet service the team wants to retire
Incorrect. Port 23 is Telnet, which sends credentials in cleartext and is the insecure protocol being replaced.
✓TCP port 22, used by SSH to provide an encrypted remote administration session
Correct. SSH listens on TCP port 22 and provides the encrypted remote administration channel requested.
・TCP port 21, used by FTP for its control connection to the inventory server
Incorrect. Port 21 is the FTP control channel and is not used for interactive remote shell administration.
・UDP port 69, used by TFTP for simple file transfers to the inventory server
Incorrect. UDP port 69 is TFTP, a lightweight file-transfer protocol with no authentication or encryption.
Explanation
SSH on TCP 22 is the standard encrypted replacement for cleartext Telnet (TCP 23); FTP (21) and TFTP (69) are file-transfer, not secure remote-shell, services.
Example9 · Network Security, Protocols, and Architecture
NorthPeak Outfitters hosts a public web server that customers reach from the Internet, but the server must never initiate connections directly into the internal cardholder database network. The architect places the web server in a screened subnet between two firewall interfaces. What is the primary security purpose of this placement?
✓To isolate the Internet-facing server so a compromise does not grant direct access to internal store systems
Correct. A screened subnet (DMZ) isolates public-facing hosts so that compromising them does not give an attacker a direct path into the internal network.
・To speed up page loads by caching product images closer to customers browsing the store catalog
Incorrect. Caching for performance is unrelated to the DMZ's security goal of isolation.
・To eliminate the need for patching because the subnet firewall blocks all known and unknown attacks
Incorrect. A DMZ reduces exposure but does not remove the need to patch; firewalls cannot block all unknown attacks.
・To assign the web server a public IP so that DNS no longer has to resolve the store's hostname
Incorrect. A public IP and DNS resolution are addressing concerns, not the reason for DMZ placement.
Explanation
A screened subnet (DMZ) isolates Internet-facing servers so their compromise does not yield direct access to protected internal networks; it is not about caching, patching, or addressing.
Example10 · Network Security, Protocols, and Architecture
At Meridian Capital, a trading-desk workstation can ping the gateway by IP but cannot reach the order-entry server by its hostname, while other hosts on the same VLAN resolve names fine. Which OSI layer issue most directly explains this symptom?
・A Layer 3 routing problem preventing the workstation's packets from leaving its local subnet toward the destination network segment
Incorrect. Layer 3 reachability to the gateway is already confirmed by a successful IP ping, so routing off the subnet is working.
✓A name-resolution failure at the application layer because the workstation is using an incorrect or unreachable DNS server
Correct. IP connectivity works but name lookups fail, which points to DNS resolution handled at the application layer rather than lower-layer transport.
・A Layer 2 problem where the switch has no MAC entry for the gateway port
Incorrect. A successful ping to the gateway proves Layer 2 framing and MAC resolution are functioning.
・A physical-layer cabling fault on the uplink between the access switch and the distribution switch serving the floor
Incorrect. Physical-layer breaks would stop the gateway ping too, which succeeded here.
Explanation
Successful IP ping but failed hostname access isolates the fault to name resolution (DNS) at the application layer, not the transport, network, or physical layers.
Example11 · Network Security, Protocols, and Architecture
Meridian Capital's market-data feed streams time-sensitive price ticks where an occasional lost packet is acceptable but added delay is not. Which transport protocol characteristic best matches this requirement?
・TCP, because its three-way handshake and sequence acknowledgment guarantee every tick arrives in order before the next is processed
Incorrect. TCP's guaranteed ordered delivery adds retransmission delay, which conflicts with the latency-sensitive requirement.
✓UDP, because it sends datagrams without connection setup or retransmission, favoring low latency over guaranteed delivery
Correct. UDP's connectionless, no-retransmission design minimizes latency, accepting occasional loss, which fits the streaming feed.
・TCP, because its sliding-window flow control throttles the sender to prevent buffer overflow on the receiving application
Incorrect. TCP flow control helps reliability but introduces throttling delay unsuitable for this feed.
・UDP, because it encrypts each datagram payload natively to protect the market-data stream in transit
Incorrect. UDP provides no native encryption; confidentiality would require an added protocol.
Explanation
UDP trades reliability for low latency with no handshake or retransmission, matching a feed that tolerates loss but not delay.
Example12 · Network Security, Protocols, and Architecture
A security analyst at a manufacturing distributor captures traffic between a warehouse scanner and the inventory server. She sees a three-way handshake begin the session. At which layer of the TCP/IP model is this handshake negotiated to establish a reliable, connection-oriented session?
・The Internet layer, which routes packets between the scanner subnet and the inventory server subnet using IP addresses
Incorrect. The Internet layer handles logical addressing and routing with IP, but it is connectionless and does not perform the SYN/SYN-ACK/ACK handshake.
✓The Transport layer
Correct. TCP operates at the Transport layer, where the three-way handshake establishes a reliable, connection-oriented session before data transfer.
・The Application layer, where the inventory software formats and presents scan records to users
Incorrect. The Application layer defines how programs exchange data, but it relies on the Transport layer below it to set up the connection.
・The Link layer, which frames the data onto the warehouse Ethernet segment
Incorrect. The Link layer frames bits onto the physical medium and does not negotiate end-to-end TCP sessions.
Explanation
The TCP three-way handshake (SYN, SYN-ACK, ACK) is a Transport-layer function that establishes reliable, connection-oriented communication.
Example13 · Network Security, Protocols, and Architecture
The distributor's shipping office is assigned the network 192.168.40.0/26. A new label printer must receive a static IP from this subnet. Which address below is a valid, assignable host address within that subnet?
・192.168.40.63
Incorrect. 192.168.40.63 is the broadcast address of the 192.168.40.0/26 subnet and cannot be assigned to a host.
✓192.168.40.40
Correct. A /26 gives hosts .1 through .62 in this block, so 192.168.40.40 is a valid assignable host address.
・192.168.40.64
Incorrect. 192.168.40.64 is the network address of the next /26 subnet, not part of this one.
・192.168.40.0
Incorrect. 192.168.40.0 is the network (subnet) address and cannot be assigned to a host.
Explanation
A /26 mask (255.255.255.192) yields 64 addresses per block; the first is the network ID and the last is the broadcast, leaving .1-.62 usable in the 192.168.40.0 block.
Example14 · Network Security, Protocols, and Architecture
A telecom operator's NOC engineer finds that two core routers have an established physical link and matching IP subnets, yet a routing adjacency will not form because the configured MTU values differ. At which OSI layer is this mismatch causing the failure?
・Layer 1, the Physical layer, because the cabling and signaling medium between the routers is electrically incompatible
Incorrect. A working physical link rules out Layer 1; the signaling medium is already passing traffic between the two routers successfully.
✓Layer 2, the Data Link layer, where frame size limits are enforced
Correct. MTU defines the maximum frame payload size, which is a Data Link (Layer 2) property, so a mismatch blocks adjacency.
・Layer 3, the Network layer, since IP addressing and routing live here
Incorrect. IP addressing and routing are Layer 3 functions, but the subnets already match and the problem is the frame size limit.
・Layer 4, the Transport layer, because segmentation and reassembly occur there
Incorrect. Segmentation and reassembly happen at Layer 4, but MTU is enforced on frames, not transport segments.
Explanation
Maximum Transmission Unit is a frame-level constraint enforced at the Data Link layer, so mismatched MTU prevents the Layer 2 exchange that routing adjacencies depend on.
Example15 · Network Security, Protocols, and Architecture
The telecom operator is deploying a new VoIP service for its call-center customers and must choose the transport protocol for the real-time media streams. Which property makes UDP the preferred transport for this media traffic?
・It guarantees in-order delivery and automatically retransmits every packet that is lost in transit
Incorrect. Guaranteed ordered delivery with retransmission describes TCP, and retransmitted late audio is useless for real-time calls.
✓It avoids connection setup and retransmission delays, favoring timeliness
Correct. UDP skips handshakes and retransmission, so media arrives with low latency, which matters more than perfect delivery for voice.
・It encrypts the payload by default so media confidentiality is assured end to end
Incorrect. UDP provides no built-in encryption; confidentiality for VoIP requires SRTP or another add-on protocol.
・It performs congestion control with a sliding window to pace the sender's output rate
Incorrect. Windowed congestion control is a TCP mechanism, not something UDP performs on its own.
Explanation
Real-time voice tolerates minor loss but not delay, so the connectionless, retransmission-free nature of UDP is preferred over TCP's reliability overhead.
▶ Try 10 free questions (graded)