
GIAC Python Coder
Domain 2Objective 1
Creation of Executables GPYC Practice Questions (Page 6)
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 26–30
- 26
Which step is typically part of the general process of creating an executable from a Python script?
Select an answer first - 27
What is the first step you should take when a newly created executable fails to run on a test machine?
Select an answer first - 28
A developer is using PyInstaller to package a Python application that imports a module only when a certain environment variable is set. The module is not included in the executable, causing a runtime error. The developer wants to ensure the module is always included. Which approach is best?
Select an answer first - 29
Which PyInstaller option is used to include an additional data file (e.g., a configuration file) in the executable?
Select an answer first - 30
A developer wants to create a single executable that shows a console window for debugging but later wants to hide it for production. What PyInstaller option should be used for the production build?
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.