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

GIAC Python Coder

Domain 3Objective 2

Website Interaction GPYC Practice Questions (Page 8)

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 36–40

  1. 36expert · hard

    A Python script must scrape a website that uses infinite scrolling to load content via JavaScript. The script must extract all items from the page. Which approach is most reliable?

    Select an answer first
  2. 37application · medium

    A Python script scrapes a website that has a robots.txt file disallowing /private/ but allowing /public/. The script must only scrape /public/ pages and avoid being blocked. Which approach is appropriate?

    Select an answer first
  3. 38foundation · easy

    By default, how does the requests library handle HTTP redirects (3xx status codes)?

    Select an answer first
  4. 39application · medium

    A Python script must authenticate to a REST API that uses OAuth 2.0 with client credentials. The API returns an access token that expires in 3600 seconds. The script runs periodically and must minimize the number of token requests. Which approach should the script use?

    Select an answer first
  5. 40foundation · easy

    In the HTTP request/response cycle, which component is responsible for initiating the communication by sending an HTTP request?

    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.