Courseiva
Pen Test Planning →mediumMultiple Choice

GPEN Pen Test Planning Practice Question

Which of the following best describes the 'Gray-box' testing methodology?

⚠ Common exam trap

Candidates often confuse Gray-box with White-box testing, mistakenly assuming the tester has full access to source code or internal architectural diagrams, rather than just limited, partial knowledge of the environment.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

✓

Partial knowledge of internal systems and limited documentation.

Gray-box testing combines elements of both black-box and white-box testing. The tester has limited knowledge of the environment, such as network diagrams or internal documentation, but does not have full source code access. This approach is highly effective for simulating a sophisticated attacker, such as an insider or an attacker who has already gained an initial foothold, allowing for a more focused and efficient security assessment.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • ✗

    Complete lack of knowledge about the target environment.

    Why it's wrong here

    This describes black-box testing. In black-box testing, the tester operates without any internal knowledge of the systems, networks, or applications, simulating an external attacker who has no prior information and must perform all reconnaissance and target identification from scratch without any guidance from the client.

  • ✗

    Full access to source code, network diagrams, and documentation.

    Why it's wrong here

    This describes white-box testing. In white-box testing, the tester has total visibility into the target environment, including source code, architecture diagrams, and configuration files. This allows for the most thorough analysis of the system's security but is not the definition of gray-box testing.

  • ✓

    Partial knowledge of internal systems and limited documentation.

    Why this is correct

    Gray-box testing involves having partial information, such as IP ranges or high-level network diagrams, but not full access to source code or administrative credentials. This strikes a balance between the realism of black-box testing and the depth and efficiency of white-box testing for the security assessment.

  • ✗

    Testing only the physical security controls of a facility.

    Why it's wrong here

    Physical security testing is a specific type of engagement, not a methodology for system-level penetration testing. While physical security can be part of a larger assessment, the term 'gray-box' refers to the level of technical knowledge the tester has about the digital assets they are evaluating.

About these practice questions

One of 298 original GPEN practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written and reviewed by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

Last reviewed September 2026 · checked against the official GIAC exam blueprint

This GPEN practice question is part of Courseiva's free GIAC certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the GPEN exam.