A cleared analyst asks for a file outside her task and is refused, because her duties do not require it. Which principle refused her?Answer: Need-to-know. NIST glossary, "need-to-know"
A login page cuts every password off at 20 characters. What maximum length does NIST SP 800-63B-4 say verifiers should at least permit?Answer: 64 characters. NIST SP 800-63B-4, section 3.1.1.2
A policy paper wants the layers that NIST's definition of defense in depth integrates. Which three are they?Answer: People, technology and operations. NIST glossary, "defense-in-depth"
A sign-up form insists on one capital, one digit and one symbol in each password. What does NIST SP 800-63B-4 say of such rules?Answer: Verifiers shall not impose them. NIST SP 800-63B-4, section 3.1.1.2
A site blocks pasting in its password field. How does NIST SP 800-63B-4 treat password managers?Answer: Verifiers shall allow them and autofill. NIST SP 800-63B-4, section 3.1.1.2
A user picks a new password. Against what does NIST SP 800-63B-4 have the verifier compare it?Answer: A blocklist of common and compromised passwords. NIST SP 800-63B-4, section 3.1.1.2
Show all 11
An attacker with any valid domain account requests service tickets and cracks them offline. What is the attack called?Answer: Kerberoasting. MITRE ATT&CK, T1558.003
An online guessing attack runs against one account. How many consecutive failed attempts is the upper limit of NIST SP 800-63B-4?Answer: 100. NIST SP 800-63B-4, section 3.2.2
Nurses, clerks and auditors each get permissions from the job they hold, not one by one. Which access control is this?Answer: Role-based access control. NIST glossary, "role-based access control"
Precomputed tables turn stolen hashes back into passwords in seconds. Which step in storing passwords makes a rainbow table useless?Answer: A large random salt in each hash. Wikipedia, "Rainbow table"
With which account's password hash does an attacker forge a Kerberos golden ticket?Answer: KRBTGT. MITRE ATT&CK, T1558.001
Network architecture, protocols and devices
A laptop on an access port sends router advertisements and becomes the IPv6 gateway for its neighbors. Which switch feature stops it?Answer: RA-Guard. RFC 6105
A network IDS sensor has no IP address on the interface it watches with, so nobody can connect to it. What does NIST SP 800-94 call this?Answer: Stealth mode. NIST SP 800-94, section 4
A network IDS watches a link that carries only VPN traffic and never alerts. Which limitation in NIST SP 800-94 explains it?Answer: It cannot detect attacks inside encrypted traffic. NIST SP 800-94, section 4.3
A security team wants to see DNS over TLS leaving the network. Which TCP port does it look for?Answer: 853. RFC 7858, section 3.1
A Snort rule begins: alert tcp $EXTERNAL_NET any -> $HOME_NET 22. What does the arrow set?Answer: The direction of the traffic the rule applies to. Snort 3 Rule Writing Guide, Direction Operators
An analyst wants each packet's data in hexadecimal and in ASCII on the screen. Which tcpdump option prints both?Answer: -X. Tcpdump(1)
Show all 15
An attacker tags a frame twice to reach a host on another VLAN. Which VLAN does the outer tag have to name?Answer: The native VLAN of a trunk. Wikipedia, "VLAN hopping"
An office access point has a push button and an eight-digit setup PIN. Which feature should be turned off to stop the known PIN attack?Answer: Wi-Fi Protected Setup (WPS). Wikipedia, "Wi-Fi Protected Setup"
The fragment offset of an IPv4 packet is 185. In units of how many octets is it measured?Answer: 8. RFC 791, section 3.1
How long is the header of a UDP datagram that carries no data?Answer: 8 octets. RFC 768
In a private VLAN, with which ports can an isolated port exchange frames at Layer 2?Answer: Promiscuous ports only. RFC 5517, section 2
KRACK replays part of a Wi-Fi connection until a key is reinstalled and its nonce reset. Which part does it replay?Answer: The third message of the WPA2 four-way handshake. Wikipedia, "KRACK"
Which option of a Snort rule identifies the rule by a number of its own?Answer: sid. Snort 3 Rule Writing Guide, sid
Which tcpdump option writes the raw packets to a file instead of parsing and printing them?Answer: -w. Tcpdump(1)
Zeek watches a tap. In which of its logs does an analyst look for an entry for each TCP or UDP connection?Answer: conn.log. Book of Zeek, conn.log
Web, virtualization, cloud and endpoints
A chatbot states a false court case with full confidence. What does NIST's generative AI profile call this?Answer: Confabulation. NIST AI 600-1, section 2.2
A container should never write to its own root filesystem. Which docker run option sets that?Answer: --read-only. Docker documentation, docker container run
A developer bakes a database password into a container image. What does NIST SP 800-190 say about such secrets?Answer: Store them outside images and provide them at runtime. NIST SP 800-190, section 4.1.4
A host-based IDS sees an attack that arrived inside a TLS session. Why can it, when a network sensor cannot?Answer: It runs on the host, where the traffic ends. NIST SP 800-94, section 8
A Mac user opens an app downloaded from the internet for the first time. Which feature checks the developer signature and notarization?Answer: Gatekeeper. Apple Platform Security, Gatekeeper
A session cookie must never travel over plain http. Which attribute asks the browser for that?Answer: Secure. RFC 6265, section 4.1.2.5
Show all 14
A TLS client checks a server's name against its certificate by RFC 9525. Which part of the certificate does it read?Answer: The subjectAltName extension. RFC 9525
An administrator starts a container with docker run --privileged. What does the flag give it?Answer: All capabilities and every host device. Docker documentation, docker container run
NIST SP 800-190 recommends a minimal operating system made only to run containers. What does it call this?Answer: A container-specific host OS. NIST SP 800-190
Nothing is configured beyond the defaults. How does Kubernetes keep Secrets in its data store, etcd?Answer: Unencrypted. Kubernetes documentation, Secrets
On macOS, which feature makes critical file system locations read-only, so that malicious code cannot change them?Answer: System Integrity Protection. Apple Platform Security, System Integrity Protection
Two pages share a host name, one over http and one over https. Why does the browser treat them as different origins?Answer: The scheme differs. MDN Web Docs, Same-origin policy
What does the XProtect technology built into macOS use to find known malware?Answer: YARA signatures. Apple Platform Security, Protecting against malware in macOS
Which response header lets a site list the sources from which scripts may be loaded, as a guard against cross-site scripting?Answer: Content-Security-Policy. MDN Web Docs, Content Security Policy
Incidents, data loss, mobile and testing
A company buys the phones and lets staff use them for private things too. Which deployment model is it?Answer: COPE. NIST SP 1800-21, abstract
A data loss prevention product is to watch all three states of data. Which three does NIST's definition name?Answer: In use, in motion and at rest. NIST glossary, "data loss prevention"
A spy hides a list of names inside the pixels of a holiday photo. What is this called?Answer: Steganography. NIST glossary, "steganography"
A UDP port never answers an Nmap UDP scan, even after retransmissions. How does Nmap classify it?Answer: open|filtered. Nmap Reference Guide, Port Scanning Techniques
An analyst wants Nmap to report which hosts are up and leave every port alone. Which option does that?Answer: -sn. Nmap Reference Guide, Host Discovery
Digital evidence has been collected. Which phase of NIST's forensic process comes next and extracts the pieces of interest?Answer: Examination. NIST SP 800-86, section 3
Show all 11
Erase Data is turned on for an iPhone. After how many consecutive wrong passcodes is its content removed?Answer: 10. Apple Platform Security, Passcodes and passwords
In the phases NIST SP 800-115 gives for penetration testing, which runs alongside the other three?Answer: Reporting. NIST SP 800-115, section 5.2.1
The organization's IT staff know and have agreed to the security test. What does NIST SP 800-115 call it?Answer: Overt, or white hat, testing. NIST SP 800-115, section 2.4.2
What does NIST SP 800-61 Rev. 2 call the portable case a responder keeps packed with a laptop, media and forms?Answer: A jump kit. NIST SP 800-61 Rev. 2 (archived), section 3.1.1
Which Nmap option asks open ports what program and version answers on them?Answer: -sV. Nmap Reference Guide, Service and Version Detection
SIEM, critical controls and exploits
A compiler places a known value between a buffer and the control data on the stack and checks it later. What is the value called?Answer: A canary. Wikipedia, "Buffer overflow protection"
A log file is closed and a new one opened when the first is considered complete. What does NIST SP 800-92 call this?Answer: Log rotation. NIST SP 800-92, section 3.2
A SIEM rule needs the Sysmon event for an outgoing TCP connection with the process that made it. Which event ID is it?Answer: 3. Microsoft Learn, Sysmon
A small firm starts with the CIS Controls. Which Implementation Group does CIS call essential cyber hygiene?Answer: IG1. Center for Internet Security, Implementation Group 1
An exploit that jumps to a fixed library address fails at each restart, because the address has moved. Which defense is at work?Answer: Address space layout randomization. Wikipedia, "Address space layout randomization"
How many Controls are in version 8.1 of the CIS Critical Security Controls?Answer: 18. Center for Internet Security, The 18 CIS Critical Security Controls
Show all 15
In CSF 2.0, an organization writes down the outcomes it wants to reach. Which document is this?Answer: A Target Profile. NIST Cybersecurity Framework 2.0, section 3.1
In MITRE ATT&CK, what is the specific implementation an adversary used for a technique?Answer: A procedure. MITRE ATT&CK, Frequently Asked Questions
Malware changes its own code each time it spreads while its function stays the same. What is such code called?Answer: Polymorphic. Wikipedia, "Polymorphic code"
The NIST Cybersecurity Framework 2.0 has four Tiers. Which is the highest?Answer: Adaptive. NIST Cybersecurity Framework 2.0, section 3.2
Old entries nobody needs are taken out of a log to make a smaller one. What does NIST SP 800-92 call this?Answer: Log reduction. NIST SP 800-92, section 3.2
Shellcode lands in a buffer on the heap, but the processor refuses to run it. Which Windows protection marks such memory as non-executable?Answer: Data Execution Prevention. Microsoft Learn, Data Execution Prevention
Syslog messages are to cross the network inside TLS. Which TCP port does RFC 5425 give as the default?Answer: 6514. RFC 5425, section 4.1
Which of the CIS Critical Security Controls, version 8.1, is number 1?Answer: Inventory and Control of Enterprise Assets. Center for Internet Security, The 18 CIS Critical Security Controls
Which Sysmon event ID records a DNS query and the process behind it?Answer: 22. Microsoft Learn, Sysmon
AWS and Azure operations
Administrators must reach EC2 instances without open inbound ports, bastion hosts or SSH keys. Which AWS feature fits?Answer: Session Manager. AWS Systems Manager User Guide, Session Manager
An Azure app must read a storage account with no password or key in its code. What does Microsoft provide for that?Answer: A managed identity. Microsoft Learn, managed identities
An operations team must patch a few hundred EC2 instances on a schedule. Which AWS Systems Manager tool automates it?Answer: Patch Manager. AWS Systems Manager User Guide, Patch Manager
Management ports of Azure virtual machines stay closed until someone asks for access for a set time. Which Defender for Cloud feature is it?Answer: Just-in-time VM access. Microsoft Learn, just-in-time VM access
Users keep choosing weak passwords. What does Microsoft Entra Password Protection check each new one against?Answer: Global and custom banned password lists. Microsoft Learn, Microsoft Entra Password Protection
What does Instance Metadata Service Version 2 on Amazon EC2 require of each request that version 1 did not?Answer: A session token, got with a PUT request. Amazon EC2 User Guide, instance metadata
Which AWS tool finds buckets and roles that are shared with an entity outside the account?Answer: IAM Access Analyzer. IAM User Guide, IAM Access Analyzer
Which Azure service gives RDP and SSH to virtual machines over TLS, so that they need no public IP address?Answer: Azure Bastion. Microsoft Learn, What is Azure Bastion?
Which Microsoft service is a cloud-native SIEM?Answer: Microsoft Sentinel. Microsoft Learn, What is Microsoft Sentinel?
Cryptography
A bitmap image is encrypted with a block cipher, yet its outline can still be seen. Which mode was used?Answer: ECB. Wikipedia, "Block cipher mode of operation"
A developer wants the signature of a release in a file of its own, apart from the archive. Which gpg command makes it?Answer: --detach-sign. GnuPG manual, Operational GPG Commands
A file is encrypted with gpg --encrypt --recipient ana. To whose key is it encrypted?Answer: Ana's public key. GnuPG manual, Operational GPG Commands
A firewall lets UDP 500 through, yet VPN clients behind NAT still fail. Which other UDP port does IKEv2 use there?Answer: 4500. RFC 7296, section 2.23
A firm retains the private half of each employee's encryption key pair, so that it can recover encrypted mail. What is this called?Answer: Key escrow. NIST glossary, "key escrow"
By what date does NIST say SHA-1 should be phased out?Answer: December 31, 2030. NIST news, December 15, 2022
Show all 11
How long is the key of ChaCha20 as RFC 8439 defines it?Answer: 256 bits. RFC 8439, section 2.3
Two hosts agree on a key with plain Diffie-Hellman and nothing else. Which attack does this leave open?Answer: A man in the middle. Wikipedia, "Diffie-Hellman key exchange"
Two servers add an HMAC to each message. What does it show that a plain SHA-256 digest does not?Answer: That the sender holds the shared secret. RFC 2104
What must never repeat under one key when AES is used in GCM?Answer: The initialization vector. NIST SP 800-38D
Which key usage bit must a CA certificate carry so that its key may verify signatures on other certificates?Answer: keyCertSign. RFC 5280, section 4.2.1.3
Linux
A Linux server must not forward packets between its interfaces. Which sysctl is set to 0?Answer: net.ipv4.ip_forward. Linux kernel documentation, IP Sysctl
A log file may grow but nobody should rewrite it. Which chattr attribute allows it to be opened only for appending?Answer: a. Chattr(1)
A password hash in /etc/shadow begins $y$. Which hashing method made it?Answer: yescrypt. Crypt(5), Debian manual pages
A port is open and nobody knows why. What does lsof -i list?Answer: Files that are internet or network connections. Lsof(8)
A web server must bind to port 443 without running as root. Which Linux capability is enough?Answer: CAP_NET_BIND_SERVICE. Capabilities(7)
An AppArmor profile is in complain mode. What happens when the program breaks a rule?Answer: It is allowed and reported. Apparmor(7), Debian manual pages
Show all 14
An audit watch on /etc/passwd is given the permissions wa. Which two kinds of access does it record?Answer: Writes and attribute changes. Auditctl(8)
An auditor wants every set-user-ID file on a Linux host. Which test finds files with that bit set, whatever the other bits?Answer: -perm -4000. Find(1)
Root may log in over SSH with a key but never with a password. Which value of PermitRootLogin says so?Answer: prohibit-password. Sshd_config(5)
The second field of a line in /etc/passwd holds only the letter x. Where is the encrypted password?Answer: In /etc/shadow. Passwd(5)
Two accounts in /etc/passwd have user ID 0. What power does the second one have?Answer: The same as root. Capabilities(7)
Which command lists the failed logins that Linux keeps in /var/log/btmp?Answer: lastb. Last(1), Debian manual pages
Which mount option stops set-user-ID programs on a USB stick from gaining their owner's rights?Answer: nosuid. Mount(8)
Which value of kernel.randomize_va_space turns on heap randomization as well as that of stack, mmap base and libraries?Answer: 2. Linux kernel documentation, /proc/sys/kernel
Windows
A domain account is put in the Protected Users group. Which authentication can it no longer use?Answer: NTLM. Microsoft Learn, Protected Users security group
A file has an inherited deny for a group and an explicit allow for Ana, who is in that group. Which does Windows read first?Answer: The explicit allow. Microsoft Learn, Order of ACEs in a DACL
A group must hold members from any domain in the forest and be granted rights in any domain. Which scope does it need?Answer: Universal. Microsoft Learn, Active Directory security groups
A host must be compared with a baseline of security settings kept in a database. Which command does it?Answer: secedit /analyze. Microsoft Learn, secedit
A member is added to the local Administrators group. Which security event records it?Answer: 4732. Microsoft Learn, event 4732
A renamed account has a SID that ends in -500. Which account is it?Answer: The built-in Administrator. Microsoft Learn, Security identifiers
Show all 29
A user gets round the PowerShell execution policy by pasting the script into the console. What does Microsoft call the policy?Answer: Defense in depth, not a security boundary. Microsoft Learn, about_Execution_Policies
A Windows object has an empty DACL: it exists and has no entries. Who gets access?Answer: Nobody. Microsoft Learn, DACLs and ACEs
An INF security template is ready. Which secedit command applies the stored settings to the computer?Answer: secedit /configure. Microsoft Learn, secedit
Audit File System is enabled, yet opening a payroll file logs nothing. What does the file still need?Answer: A SACL that covers the user and the access. Microsoft Learn, Audit File System
By default, under which kind of account does each IIS application pool run its worker process?Answer: A virtual account of its own, ApplicationPoolIdentity. Microsoft Learn, Application Pool Identities
Every workstation has the same local administrator password. Which Windows feature gives each its own and backs it up to the directory?Answer: Windows LAPS. Microsoft Learn, What is Windows LAPS?
For how long is a Windows 11 feature update supported in the Enterprise and Education editions?Answer: 36 months. Microsoft Learn, Windows 11 release information
Get-FileHash is run on a suspect file with no -Algorithm given. Which hash does it return?Answer: SHA256. Microsoft Learn, Get-FileHash
Help desk staff should run only a few chosen commands on a server through PowerShell. Which feature limits them to those?Answer: Just Enough Administration. Microsoft Learn, Just Enough Administration
How often does Windows refresh Group Policy in the background on a member computer, before the random offset?Answer: Every 90 minutes. Microsoft Learn, Group Policy processing
On which day does Microsoft release the monthly cumulative security update for Windows?Answer: The second Tuesday. Microsoft Learn, Update release cycle for Windows clients
Remote Desktop asks for credentials before it creates a session. Which setting does this?Answer: Network Level Authentication. Microsoft Learn, Enable Remote Desktop
The same setting differs in the local policy, the site, the domain and the OU. Which one applies, when nothing is enforced or blocked?Answer: The OU's. Microsoft Learn, Group Policy processing
Two Windows servers must authenticate each other and protect their traffic with IPsec. Which PowerShell cmdlet creates the rule?Answer: New-NetIPsecRule. Microsoft Learn, New-NetIPsecRule
What does Credential Guard use to keep NTLM hashes and Kerberos tickets away from the operating system?Answer: Virtualization-based security. Microsoft Learn, Credential Guard overview
What has Microsoft said about Windows Server Update Services (WSUS)?Answer: It is deprecated and gets no new features. Microsoft Learn, WSUS overview
Which event ID holds the text of PowerShell code once script block logging is on?Answer: 4104. Microsoft Learn, about_Logging_Windows
Which NTFS structure keeps a record of the changes made to files on a volume, useful in a timeline?Answer: The USN change journal. Microsoft Learn, fsutil usn
Which security event is logged when a new logon is given administrator-equivalent rights?Answer: 4672. Microsoft Learn, event 4672
Which servicing channel does Microsoft keep for special-purpose devices such as ATMs and medical equipment?Answer: Long-Term Servicing Channel. Microsoft Learn, Overview of Windows as a service
Which TCP port carries PowerShell remoting over HTTPS (WinRM) by default?Answer: 5986. Microsoft Learn, Installation and configuration for WinRM
Which user right lets a service account read any file for backup, past its NTFS permissions?Answer: Back up files and directories. Microsoft Learn, Back up files and directories
Which Windows user right lets its holder attach to any process, even one it does not own?Answer: Debug programs. Microsoft Learn, Debug programs
How this list was compiled: Own questions, sorted by the nine areas covered that GIAC lists for the GSEC and written to its 26 certification objectives (giac.org, read November 29, 2026). Facts were read on November 29, 2026 in public texts: the NIST glossary, NIST SP 800-38D, 800-61 Rev. 2 (archived), 800-63B-4, 800-86, 800-92, 800-94, 800-115, 800-190 and 1800-21, NIST AI 600-1, the NIST Cybersecurity Framework 2.0; IETF RFCs; MITRE ATT&CK; the CIS Controls pages; Linux, Debian, tcpdump, Nmap, Snort, Zeek and GnuPG manuals; Microsoft Learn; AWS, Docker, Kubernetes, Apple and MDN documentation; and Wikipedia. Each question names the text and links to it. License: Every question, wrong choice and explanation was written for this site from the public texts named in each question. Nothing is copied or reworded from a GIAC exam or practice test, a SANS course book or another practice product.
How it works
These 129 GSEC exam questions are our own, sorted by the nine areas on GIAC's page. They are unofficial, not affiliated with or endorsed by GIAC, and take nothing from its exams or practice tests.
Read the full guide
From a missed question to an index entry
1. Choose one area under Topic, or begin with all nine.
2. When you miss one, read the reason and its source, find the term in your own books and write term and page in your index.
3. Exam mode asks 106 questions in 240 minutes and shows your score by area. Give the lowest area new entries first.
What GIAC's page lists
GIAC's GSEC page, read November 29, 2026, gives 26 objectives. Six are on Windows and two on Linux; others name macOS and containers, the CIS Controls and AI essentials. It prints no weights. Some items are CyberLive, hands-on work in virtual machines, and none of those is asked here.
GIAC forbids paper that looks like practice questions and answers: the printed sheet from here stays at home.
Questions and answers
What is the passing score for the GSEC?
72% for exam versions released on or after April 6, 2026. The exam has 106 questions and a limit of 4 hours. GIAC asks you to confirm the figure for your own attempt in your account.
Is the GSEC exam open book?
Yes, on paper. GIAC allows an armful of hardcopy books and notes, but no computer, phone or tablet, and nothing stored electronically, such as a PDF.
Can you skip questions on the GSEC exam?
Yes, 10 to 15, depending on the exam, and you answer them later. A question you have answered cannot be reviewed or changed.
How does GSEC differ from Security+?
GIAC's list goes further into systems: Linux hardening, Windows access control, policy and PowerShell, AWS and Azure operations. It also has hands-on items in virtual machines. This page and our Security+ page share no question.