Exam Information
Free practice questions with explanations
GIAC GISF Practice Questions
Answer a question to see the correct answer and the explanation, or click Show answer. Newest questions first.
- Questions
- 14
- Answered
- 0
- Correct
- 0
- Score
- -
-
1 Question 1 Single choice AAA and Access Controls
A mid-sized accounting firm runs a Windows Server domain with a file server holding client tax records. Auditors require that every access to these records be attributable to a named individual, and that no one can both approve and post journal entries. A contractor needs read-only access to one folder for six weeks, after which the access must end automatically without an administrator having to remember to remove it. The firm wants the least administrative effort. Which approach BEST meets all of these requirements?
Correct Answer: AExplanationA named domain account with an expiration date gives individual accountability through audit logs and removes access automatically when the expiry passes, with no manual step. Group-based NTFS permissions keep the grant scoped to one folder and to read-only. The shared account fails attributability and requires a manual disable. Full control violates least privilege even if auditing is on, since auditing only records misuse rather than preventing it. A local account on the file server is not governed by the domain and offers no automatic expiry, so the password rotation does not end access.
-
2 Question 2 Drag and drop Network Addressing and Protocols
A small office has a router providing internet access to a flat LAN of workstations, a printer, and a file server. The network team must troubleshoot intermittent failures where some hosts cannot reach the internet while others can, and must verify that IP-to-MAC resolution on the LAN is working correctly. Match each requirement to the protocol or mechanism that addresses it.
Drag each item onto its matching target. On a phone: tap an item, then tap a target.
Resolve the MAC address of a neighbouring host on the same subnetConfirm whether a host has a valid default gateway and reach the router directlyTranslate a hostname to an IP address before any connection is openedObtain a dynamic IPv4 address and gateway for a newly connected workstationSNMPICMP echo requestARPNATDHCPDNSCorrect Answer:- Resolve the MAC address of a neighbouring host on the same subnet → ARP
- Confirm whether a host has a valid default gateway and reach the router directly → ICMP echo request
- Obtain a dynamic IPv4 address and gateway for a newly connected workstation → DHCP
- Translate a hostname to an IP address before any connection is opened → DNS
ExplanationARP is the link-layer mechanism that maps IPv4 addresses to MAC addresses on a local segment, so it is the one that resolves neighbours. ICMP echo requests (ping) test reachability of the gateway and other hosts at the network layer. DHCP delivers the address, mask, and default gateway to clients. DNS performs name resolution, which is needed before connecting by name. NAT is a translation function at the router rather than a lookup of MAC addresses, and SNMP is a management protocol, so neither matches the listed requirements.
-
3 Question 3 Single choice Computer Math
A forensic analyst is examining a memory dump and finds a 4-byte integer field in a legacy application's header. The field's bytes, read in memory order on a little-endian x86 system, are 0x78 0x56 0x34 0x12. The analyst must record the value in decimal to match a vendor's log format, and must also confirm that the field has not wrapped due to overflow when the application treats it as an unsigned value. Which statement is correct?
Correct Answer: DExplanationLittle-endian storage places the least significant byte first, so the bytes 78 56 34 12 reconstruct to 0x12345678. Converting that hexadecimal value gives 305419896 decimal. Since this is well below 2^32 - 1, it fits an unsigned 32-bit field with no overflow. It is also below 2^31, so it would not overflow a signed 32-bit range either, which rules out the option claiming overflow in signed form. The reversed byte order produces the wrong value, and the claim of unsigned overflow is false for this number.
-
4 Question 4 Multiple choice Cryptographic Algorithms and Attacks
A healthcare startup stores patient notes encrypted with AES-256 in CBC mode. A security review finds that the application uses the same initialization vector for every record encrypted under a given key, derived from the record's sequence number. The review also notes that the application does not verify the integrity of stored ciphertext. The team must correct these weaknesses without changing the database schema for existing rows more than necessary. (Choose two.)
Correct Answer: B, DExplanationReusing an IV under CBC leaks information about equal plaintext prefixes, so each encryption needs a unique, unpredictable IV, which is stored alongside the ciphertext. CBC alone provides no integrity, so an authenticated mode such as GCM or an added MAC is needed to detect tampering. ECB is weaker because it leaks repeated blocks. A longer key does not fix IV reuse or missing integrity. Hashing the plaintext does not protect the stored ciphertext against modification and would not allow recovery of the notes.
-
5 Question 5 Dropdown Application Security
A development team is reviewing a Python web endpoint that builds a SQL statement by concatenating a user-supplied search term. The security lead wants a short fix that prevents injection without changing the query logic, using parameterised queries through the database driver. The statement is shown below with two blanks completed by the team. Select the correct value for each blank. query = 'SELECT name FROM products WHERE category = [1]' cursor.execute(query, [2])
Choose the correct value for each blank.
query = 'SELECT name FROM products WHERE category = '
cursor.execute(query, )Correct Answer:query = 'SELECT name FROM products WHERE category = %s'
cursor.execute(query, (category,))ExplanationParameterised queries require a placeholder in the SQL text and the value passed separately as a sequence, which the driver then binds safely. The %s placeholder is the paramstyle used by common DB-API drivers such as psycopg2 and mysql-connector, and the trailing comma makes (category,) a one-element tuple rather than a parenthesised string. Using a concatenated or formatted string keeps the injection path open, and %d would reject non-integer categories. Passing the bare variable without a sequence wrapper is not accepted as the parameter collection.
-
6 Question 6 Order list History of Cryptography
A cryptography instructor is preparing a lesson that traces how substitution ciphers were broken over time. A student is asked to describe the historical sequence of the key developments that led from simple monoalphabetic substitution to a technique that exploits letter frequency statistics against it. Arrange the steps in the correct chronological order of their development in the history of cryptanalysis.
Drag the steps into the correct order, or use the arrows.
- Charles Babbage and Friedrich Kasiski develop methods to find the key length of repeating-key ciphers
- Shannon formalises confusion and diffusion as properties that secure ciphers must have
- Polyalphabetic ciphers such as the Vigenere cipher are introduced to flatten letter frequencies
- Al-Kindi describes frequency analysis as a method for breaking monoalphabetic substitution
Correct Answer:- Polyalphabetic ciphers such as the Vigenere cipher are introduced to flatten letter frequencies
- Al-Kindi describes frequency analysis as a method for breaking monoalphabetic substitution
- Charles Babbage and Friedrich Kasiski develop methods to find the key length of repeating-key ciphers
- Shannon formalises confusion and diffusion as properties that secure ciphers must have
ExplanationAl-Kindi's ninth-century treatise is the earliest known description of frequency analysis against monoalphabetic substitution. Polyalphabetic ciphers arose in the Renaissance as a direct response, using multiple alphabets to flatten letter frequencies. Kasiski and Babbage later showed that repeating-key polyalphabetic ciphers could be attacked by finding repeated ciphertext sequences and their spacing. Shannon's 1949 work on confusion and diffusion came much later and is a theoretical foundation for modern block ciphers, so it belongs last in this chronology.
-
7 Question 7 Single choice Fundamentals of Cryptography
A logistics company exchanges shipment manifests with a customs broker over the internet. Manifests must stay confidential in transit, the broker must be certain that each manifest came from the company and was not altered, and the company must not be able to deny having sent a manifest later. The company already has a public key infrastructure that issues certificates to both parties. The security architect must choose the cryptographic construction that best covers all three requirements for each manifest. Which design should be selected?
Correct Answer: AExplanationEncrypting with the recipient's public key provides confidentiality, and signing with the sender's private key provides origin authentication, integrity, and non-repudiation because only the company holds that key. The signature also lets the broker detect any alteration. The HMAC option relies on a shared secret, which cannot provide non-repudiation since both parties could have produced it. Signing with the broker's key and encrypting for the company reverses the roles and would attribute the manifest to the wrong party. Encrypting with the broker's public key alone omits authentication and non-repudiation.
-
8 Question 8 Drag and drop AAA and Access Controls
A university research lab uses a Linux server where several projects share data. A new policy requires that a project member can read and write only their own project directory, that the lab PI can read all project directories without editing them, and that a single account must be prevented from being granted both access levels on the same directory at once. The administrator wants to use native Linux mechanisms. Match each requirement to the mechanism that best implements it.
Drag each item onto its matching target. On a phone: tap an item, then tap a target.
Restrict a project member to read and write on only their own directoryGive the PI read-only traversal of every project directoryEnsure new files inside a project inherit the project groupSetting the sticky bit on the project directorySet the setgid bit on the project directoryOwner and group permissions set with standard ug rwx bitsEnabling SELinux enforcing mode with the unconfined_t typeAccess Control Lists granting the PI r-x on each directoryCorrect Answer:- Restrict a project member to read and write on only their own directory → Owner and group permissions set with standard ug rwx bits
- Give the PI read-only traversal of every project directory → Access Control Lists granting the PI r-x on each directory
- Ensure new files inside a project inherit the project group → Set the setgid bit on the project directory
ExplanationStandard owner-group-other permissions cleanly isolate each project so that only its members can write. Per-directory ACL entries let a specific user, the PI, receive read and traverse rights without changing group ownership or granting write. The setgid bit on a directory causes newly created files to inherit the directory's group, which keeps project data grouped correctly. The sticky bit restricts deletion of files in shared directories rather than defining group inheritance, and unconfined_t removes SELinux confinement, which would weaken rather than enforce the separation.
-
9 Question 9 Single choice Network Addressing and Protocols
A company has been assigned the public IPv4 block 203.0.113.0/26 by its provider. It runs an internal network with 180 workstations and servers, and a DMZ hosting a public web server that must have a fixed public address. Administrators want a design that conserves public addresses and keeps the internal hosts private. A junior engineer proposes assigning each internal workstation a public address from the /26 block so that remote access is simpler. Which response is correct?
Correct Answer: CExplanationA /26 contains 64 addresses, of which 62 are usable hosts, so it cannot give 180 internal systems public addresses. The correct design places internal hosts in RFC 1918 private space and translates outbound traffic with NAT, reserving public addresses for the DMZ server and the NAT outside interface. Dynamic leases do not increase the number of concurrent public addresses needed. Port-forwarding every workstation through one address is impractical and does not give outbound access. The multicast claim is false, since 203.0.113.0/24 is documentation space and is ordinary unicast.
-
10 Question 10 Dropdown Cryptographic Algorithms and Attacks
A security engineer is generating an RSA key pair for signing software releases on a Linux build host. The policy requires a key modulus of at least 3072 bits and that the key be generated with OpenSSL, using a strong public exponent. The engineer completes the command below. Select the correct value for each blank. openssl genpkey -algorithm RSA -pkeyopt rsa_keygen_bits:[1] -pkeyopt rsa_keygen_pubexp:[2] -out release.key
Choose the correct value for each blank.
openssl genpkey -algorithm RSA -pkeyopt rsa_keygen_bits: -pkeyopt rsa_keygen_pubexp: -out release.keyCorrect Answer:openssl genpkey -algorithm RSA -pkeyopt rsa_keygen_bits:3072 -pkeyopt rsa_keygen_pubexp:65537 -out release.key
ExplanationThe rsa_keygen_bits option sets the modulus length, and 3072 meets the stated minimum while staying at the lower bound the policy requires. The rsa_keygen_pubexp option sets the public exponent, and 65537 is the standard choice because it is a Fermat prime that balances efficiency with resistance to small-exponent weaknesses. The value 3 is a small exponent that is avoided in modern practice, and 17 and 1 are not appropriate. Choosing 2048 would breach the policy minimum, while 4096 would technically comply but was not the stated target.
-
11 Question 11 Single choice Fundamentals of Cryptography
A bank's card-processing system encrypts cardholder data at rest with a symmetric key. The key is rotated annually, and the bank must be able to re-encrypt stored data after rotation without application downtime. A security engineer proposes using the same key for both data encryption and for deriving the integrity keys used in the message authentication codes on transaction logs. An auditor objects. Which principle is the auditor most directly citing, and what is the correct remedy?
Correct Answer: AExplanationUsing one key for both encryption and MAC generation violates key separation, because a cryptanalytic weakness or leak affecting one function undermines the other. The remedy is to derive independent subkeys from a master secret with an approved key derivation function such as HKDF, each bound to a specific purpose. Key escrow concerns recovery rather than purpose separation, and key stretching defends low-entropy passwords against guessing rather than fixing key reuse. Forward secrecy relates to session key exchange and does not address reuse of a stored data key across two functions.
-
12 Question 12 Multiple choice Application Security
A company is hardening a Java web application that accepts file uploads from customers and stores them on a network share that is also mounted on internal servers. A recent scan flagged that uploaded files can be executed on the server and that filenames are used directly in path construction. The security team must reduce the risk of remote code execution and path traversal while keeping the upload feature working for business documents such as PDF and DOCX files. (Choose two.)
Correct Answer: A, BExplanationAllow-listing extensions and checking magic bytes stops files disguised with a permitted name or Content-Type from being accepted as documents. Generating a random server-side identifier removes the user-controlled filename from path construction, which eliminates traversal through names such as ../. Permitting script execution in the storage location enables remote code execution. Client-side checks can be bypassed directly against the server. A WAF is a supplementary control and cannot be relied on to catch every encoded traversal or malicious payload.
-
13 Question 13 Order list Computer Math
A network engineer must determine the usable host range of the subnet 10.20.48.0/21 to document it for a new branch office, and wants to confirm the computed network address before assigning addresses. The engineer performs the calculation by hand using binary notation. Arrange the steps in the correct order the engineer must perform them.
Drag the steps into the correct order, or use the arrows.
- Apply a bitwise AND between the address and the mask to obtain the network address 10.20.48.0
- Determine the number of host bits as 32 minus 21, giving 11 host bits
- Compute the broadcast address by setting all host bits to 1 and exclude the network and broadcast addresses from the usable range
- Convert the third octet 48 to binary and identify the 21-bit mask boundary within the third octet
Correct Answer:- Convert the third octet 48 to binary and identify the 21-bit mask boundary within the third octet
- Apply a bitwise AND between the address and the mask to obtain the network address 10.20.48.0
- Determine the number of host bits as 32 minus 21, giving 11 host bits
- Compute the broadcast address by setting all host bits to 1 and exclude the network and broadcast addresses from the usable range
ExplanationThe engineer first needs the mask boundary, which for a /21 falls within the third octet because the first two octets consume 16 bits and the next 5 bits belong to the network. Knowing the host bit count is then used to bound the block size, which here is 2^11 addresses. The AND operation with the mask produces the network address, and this must precede the broadcast calculation that sets the host bits to 1. Usable hosts are the addresses between network and broadcast, so that exclusion comes last.
-
14 Question 14 Single choice Cryptographic Algorithms and Attacks
A penetration tester has captured several thousand ciphertexts produced by a web application that encrypts session tokens with AES in CBC mode and returns an HTTP 500 error for invalid padding but a generic 200 response with a different body length for valid padding. The application uses a secret key the tester does not know, and the tester has no access to the server's logs. The goal is to recover one full token without the key. Which attack is the tester best positioned to perform?
Correct Answer: BExplanationThe distinct responses for valid and invalid padding form a padding oracle, which an attacker can exploit against CBC mode by modifying ciphertext blocks and observing the result. This allows recovery of the plaintext token byte by byte without the key. The chosen-plaintext option would not reveal the key, since AES is not broken by such queries alone. A birthday attack targets hash or collision resistance rather than block cipher padding. The known-plaintext dictionary method is aimed at guessing keys and does not use the observable padding leak.
These are 14 of the 451 questions in the full GISF pack.
Get All 451 QuestionsGet all 451 questions & answers
Full access options for GIAC GISF
Self-study
PDF Version
- 451 actual exam questions
- Compatible with all devices
- Printable PDF format
- No download limits
- 90 days free updates
- 24/7 customer support
Best value
Bundle Pack
- Discounted PDF + online access
- 451 actual exam questions
- Both PDF and online practice test
- Free 90 days updates
- No download or practice limits
- 24/7 customer support
Exam simulation
Online Practice Test
- 451 actual exam questions
- Actual exam environment
- 90 days free updates
- Browser-based software
- 24/7 customer support
100% Money Back Guarantee
Your success comes first
At DumpsProvider, we give you a 100% money back guarantee on all of our exam dumps. For us, your success is the #1 priority and we are more than confident that our exam material will help you pass the GISF Exam (GIAC Information Security Fundamentals) on your very first attempt.
In a rare case, if you fail your exam, we will refund your amount without asking a single question.