
GIAC Python Coder
Domain 2Objective 1
Creation of Executables GPYC Practice Questions (Page 5)
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 21–25
- 21
Why is it important to build a Python executable on the same operating system where it will be run?
Select an answer first - 22
A developer is troubleshooting a PyInstaller executable that fails to run on a clean Windows VM. The error is 'The code execution cannot proceed because VCRUNTIME140.dll was not found'. The build machine has Visual Studio installed. What is the best fix?
Select an answer first - 23
After building a PyInstaller onefile executable, a user reports that the program crashes immediately with an error about a missing DLL. The build machine works fine. What is the most likely cause?
Select an answer first - 24
Which common packaging error is often caused by a missing module that was not included in the executable?
Select an answer first - 25
A developer is using PyInstaller to package a script that imports a module only when a certain environment variable is set. The build succeeds, but the executable fails with ImportError when the environment variable is set. What is the most efficient 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.