
GIAC Python Coder
Domain 1Objective 2
Data Structures GPYC Practice Questions (Page 5)
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 21–25
- 21
A developer has a list 'matrix' containing sublists (rows). The developer assigns 'copy = matrix' and then modifies copy[0][0] = 99. The developer is surprised to find that matrix[0][0] is also 99. What is the root cause?
Select an answer first - 22
What is the result of the following code? ```python matrix = [[1, 2], [3, 4]] print(matrix[1][0]) ```
Select an answer first - 23
Which list method removes the first occurrence of a specified value and raises a ValueError if the value is not present?
Select an answer first - 24
A security analyst has a list 'ip_list' that may contain duplicate IP addresses. The analyst needs to determine how many unique IPs are in the list. Which expression gives the count of unique IPs?
Select an answer first - 25
Which dictionary method returns a view object that displays a list of all the values in the dictionary?
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.