Examers.io
ExamsOrganizationsHow it worksPricingHelp & FAQ
GIAC (SANS) logo

GIAC Python Coder

Domain 3Objective 1

Network Interfaces GPYC Practice Questions (Page 2)

Part of the Network and Web Interaction domain, which makes up ~25% of our current practice bank. GIAC (SANS) does not publish an official question count, but from its 120-minute exam (~50–80 total, ~13–20 in this domain), expect 4–7 from this objective — we provide 17 practice questions to prepare you well beyond it. (estimate)

17questions here
4free pages
4concepts

Questions 6–10

  1. 6application · medium

    A security analyst needs to inventory all active network interfaces on a mixed fleet of Windows and Linux servers. The script must run without installing third-party packages and must report the interface name and its IPv4 address. Which approach should the analyst use?

    Select an answer first
  2. 7application · easy

    A script must alert when any network interface goes down. It currently uses psutil.net_if_stats(). Which key in the returned dictionary indicates whether an interface is up?

    Select an answer first
  3. 8foundation · easy

    Which Python library provides a cross-platform way to check whether a network interface is currently up (operational) using the `isup` attribute?

    Select an answer first
  4. 9foundation · easy

    When using `psutil.net_if_addrs()` on different operating systems, what is a key difference in the returned data?

    Select an answer first
  5. 10application · medium

    A developer is writing a Python script that must run on both Windows and Linux to enumerate network interfaces. The script should use only the standard library. Which code snippet correctly lists interface names on both platforms?

    Select an answer first
Finished these 5 questions?

Review the revealed explanations, or continue through the curriculum.

Free Basic Practice is a study aid with revealable answers — not a scored exam. Examers.io is independent and not affiliated with or endorsed by GIAC (SANS). “GPYC” is a trademark of its owner, used for identification only.