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

GIAC Python Coder

Domain 2Objective 1

Creation of Executables GPYC Practice Questions (Page 3)

Part of the Scripting and Automation domain, which makes up ~23% of our current practice bank. GIAC (SANS) does not publish an official question count, but from its 120-minute exam (~50–80 total, ~12–18 in this domain), expect 4–6 from this objective — we provide 35 practice questions to prepare you well beyond it. (estimate)

35questions here
7free pages
7concepts

Questions 11–15

  1. 11application · medium

    A developer is using py2exe to package a Windows GUI application that reads a template file and writes logs to a subdirectory. The setup.py currently builds the executable, but the template file is missing when the exe runs. What should be added to the setup.py configuration?

    Select an answer first
  2. 12application · medium

    A PyInstaller onefile executable works on the build machine but fails on a colleague's machine with an error about a missing Python module. The module is imported conditionally. What is the best fix?

    Select an answer first
  3. 13foundation · easy

    Which PyInstaller command creates a single-file executable named 'myapp' from the script 'myapp.py'?

    Select an answer first
  4. 14application · medium

    A developer is using py2exe and wants to set a version number and company name for the Windows executable. Where should this be configured?

    Select an answer first
  5. 15application · medium

    A team uses cx_Freeze to build a Linux executable for a Python script that imports a custom module from a local folder and reads a JSON config. The build succeeds, but the executable fails to find the custom module at runtime. What is the most likely cause and fix?

    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.