
GIAC Python Coder
Domain 1Objective 5
Exception Handling GPYC Practice Questions (Page 1)
Part of the Python Fundamentals domain, which makes up ~43% of our current practice bank. GIAC (SANS) does not publish an official question count, but from its 120-minute exam (~50–80 total, ~22–34 in this domain), expect 4–7 from this objective — we provide 25 practice questions to prepare you well beyond it. (estimate)
25questions here
5free pages
12concepts
Questions 1–5
- 1
In Python, what is an exception?
Select an answer first - 2
Why should you avoid using a bare except clause (except:) in production code?
Select an answer first - 3
When catching specific exceptions, why is it better to catch a specific exception type rather than a broad one like Exception?
Select an answer first - 4
What happens when an exception is raised inside a try block and there is no matching except clause?
Select an answer first - 5
Which statement about the finally clause is true?
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.