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

GIAC Python Coder

Domain 3Objective 2

Website Interaction GPYC Practice Questions (Page 7)

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

  1. 31foundation · easy

    What is the primary purpose of using a session object in the requests library?

    Select an answer first
  2. 32expert · hard

    A Python script needs to download a large file from a server that requires authentication. The server uses a session cookie for authentication and the file is 2 GB. The script currently uses requests.get() with stream=True and iterates over the response content. The download fails after about 1 GB with a connection reset. Which change is most likely to fix the issue?

    Select an answer first
  3. 33foundation · easy

    Which Python method is used to parse a JSON string into a Python dictionary?

    Select an answer first
  4. 34expert · hard

    A Python script receives JSON data from an untrusted source and uses it to create an object via pickle.loads(). The script must avoid insecure deserialization vulnerabilities. Which approach is most secure?

    Select an answer first
  5. 35foundation · easy

    When interacting with a RESTful API that returns paginated results, which HTTP header is commonly used to indicate the total number of pages or items?

    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.