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

GIAC Python Coder

Domain 2Objective 1

Creation of Executables GPYC Practice Questions (Page 2)

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 6–10

  1. 6application · medium

    An analyst packages a Python script with PyInstaller. The script reads a file named 'data.txt' from its current directory. When the analyst runs the executable from a different directory, the file is not found. What is the best solution?

    Select an answer first
  2. 7expert · hard

    A developer is using py2exe to package a GUI application that uses a third-party library which imports a DLL at runtime. The executable runs on the build machine but fails on a clean machine with a missing DLL error. What is the best approach?

    Select an answer first
  3. 8application · medium

    A developer has a Python script that imports a rarely-used module. The module is not detected by PyInstaller's analysis. The developer wants to ensure the module is included in the executable. Which PyInstaller option should be used?

    Select an answer first
  4. 9expert · hard

    A developer is using py2exe to package a GUI application that also uses a command-line helper script. The developer wants the main executable to be a GUI app, but the helper script to run as a console app. How should the setup.py be configured?

    Select an answer first
  5. 10application · medium

    A Python script uses the multiprocessing module. When packaged with PyInstaller on Windows, the resulting executable crashes on startup. What is the most likely cause and solution?

    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.