
GIAC Python Coder
Domain 1Objective 2
Data Structures GPYC Practice Questions (Page 8)
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 37 practice questions to prepare you well beyond it. (estimate)
37questions here
8free pages
12concepts
Questions 36–37
- 36
A developer needs to create a dictionary that maps configuration keys to values. The keys must be immutable and the dictionary will be used for lookups. Which of the following can be used as a dictionary key?
Select an answer first - 37
A developer has a tuple 'coordinates' containing (x, y, z) values. The developer needs to assign each value to a separate variable. Which code snippet correctly unpacks the tuple?
Select an answer first
Finished these 2 questions?
Review the revealed explanations, or continue through the curriculum.
No more pagesBack to GPYC
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.