
GIAC Python Coder
Domain 3Objective 2
Website Interaction GPYC Practice Questions (Page 6)
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 26–30
- 26
Which encoding type is used when uploading files via an HTML form?
Select an answer first - 27
A Python script logs into a website using a session object, then needs to download a file that requires authentication. The script currently uses a fresh requests.get() call for the download, which returns a 401. What is the most likely cause and the correct fix?
Select an answer first - 28
A Python application uses a WebSocket connection to receive real-time data. The connection occasionally drops due to network issues. The application currently crashes when the connection is lost. Which approach is most robust for handling this?
Select an answer first - 29
In the requests library, which object allows you to persist cookies and maintain session state across multiple HTTP requests?
Select an answer first - 30
What does robots.txt specify for web crawlers?
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.