Examers.io
ExamsOrganizationsHow it worksPricingHelp & FAQ
GIAC (SANS) logo

GIAC Python Coder

Domain 1Objective 2

Data Structures GPYC Practice Questions (Page 7)

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 31–35

  1. 31application · medium

    A developer has a list 'queue' and needs to process items in FIFO (first-in, first-out) order. Which operation correctly removes and returns the first item?

    Select an answer first
  2. 32application · medium

    A data analyst has a nested list representing a grid of sensor readings: grid = [[1, 2], [3, 4]]. The analyst assigns backup = grid and then modifies backup[0][0] = 99. What is the value of grid[0][0] after this modification?

    Select an answer first
  3. 33expert · medium

    A developer needs to store configuration data that must not be modified accidentally. The data includes a list of allowed IP addresses. Which data structure should be used to ensure the list cannot be changed?

    Select an answer first
  4. 34application · medium

    A developer has a list 'packets' containing packet sizes in bytes. The developer needs to remove all occurrences of the value 0 from the list, preserving the order of the remaining elements. Which approach correctly accomplishes this?

    Select an answer first
  5. 35foundation · easy

    What does the enumerate function return when used in a for loop? ```python for item in enumerate(['a', 'b', 'c']): print(item) ```

    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.