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

GIAC Python Coder

Domain 3Objective 2

Website Interaction GPYC Practice Questions (Page 9)

Part of the Network and Web Interaction domain, which makes up ~25% of our current practice bank. GIAC (SANS) does not publish an official question count, but from its 120-minute exam (~50–80 total, ~13–20 in this domain), expect 4–7 from this objective — we provide 47 practice questions to prepare you well beyond it. (estimate)

47questions here
10free pages
12concepts

Questions 41–45

  1. 41foundation · easy

    Which HTTP status code indicates that the requested resource has been permanently moved to a new URL?

    Select an answer first
  2. 42foundation · easy

    Which exception does the requests library raise when a request times out?

    Select an answer first
  3. 43foundation · easy

    Which HTTP method is typically used to submit data to a server to create a new resource?

    Select an answer first
  4. 44application · medium

    A Python script needs to establish a WebSocket connection to a server to receive real-time updates. The script must send a JSON message and then listen for incoming messages. Which library and approach is correct?

    Select an answer first
  5. 45application · medium

    A Python script interacts with a paginated REST API. The API returns a JSON object with a 'next' field containing the URL for the next page, or null if there are no more pages. The script must retrieve all pages and collect items from an 'items' array. Which approach is correct?

    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.