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

GIAC Python Coder

Domain 2Objective 1

Creation of Executables GPYC Practice Questions (Page 4)

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 16–20

  1. 16application · medium

    A team uses cx_Freeze to build a cross-platform Python application. The application loads a JSON configuration file from a subdirectory called 'config'. The team needs to ensure the JSON file is included in the build on both Windows and Linux. Which approach is correct?

    Select an answer first
  2. 17expert · hard

    A team uses cx_Freeze to build an executable for a Python application that uses a C extension. The build succeeds on Linux, but when the executable is run on a different Linux machine, it fails with an error about a missing shared library. What is the best solution?

    Select an answer first
  3. 18foundation · easy

    In a py2exe setup.py file, which function is called to generate the executable?

    Select an answer first
  4. 19application · medium

    After building a PyInstaller executable, a user reports that the executable runs but does not display a GUI window. The script uses tkinter. What is the most likely cause?

    Select an answer first
  5. 20foundation · easy

    In a cx_Freeze setup.py, which option is used to specify the main script to be converted into an executable?

    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.