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

GIAC Python Coder

Domain 3Objective 2

Website Interaction GPYC Practice Questions (Page 5)

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 21–25

  1. 21application · medium

    A Python script must authenticate to a legacy API that uses HTTP Basic Auth. The credentials are stored in environment variables. Which requests call correctly uses these credentials?

    Select an answer first
  2. 22foundation · easy

    Which authentication mechanism sends credentials in the Authorization header as a Base64-encoded username:password string?

    Select an answer first
  3. 23application · medium

    A Python script uses the requests library to call an API. The API sometimes returns a 429 Too Many Requests with a Retry-After header. The script currently fails immediately on 429. Which change should be made to handle this gracefully?

    Select an answer first
  4. 24application · medium

    A Python scraper is being blocked by a website that returns 403 Forbidden. The site's robots.txt allows the path being scraped. Which change is most likely to resolve the block?

    Select an answer first
  5. 25application · medium

    A Python script needs to scrape a website that loads its content dynamically via JavaScript after the initial HTML is loaded. The script must extract data from the rendered DOM. Which tool is most appropriate?

    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.