PCPP1 Networking And Restful Apis Practice Question
Which TWO of the following statements about the Python 'requests' library are correct?
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
It uses 'urllib3' internally for connection pooling
The library handles connection pooling automatically when using Sessions, and it is built on top of 'urllib3'.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
It uses 'urllib3' internally for connection pooling
Why this is correct
Requests is built on top of the powerful urllib3 library.
- ✗
It does not support HTTPS
Why it's wrong here
It supports HTTPS by default.
- ✗
It is part of the standard library
Why it's wrong here
Requests is a third-party package.
- ✗
It is thread-safe by default for all operations
Why it's wrong here
It is not thread-safe for shared state.
- ✓
It automatically closes connections for every request if not using a Session
Why this is correct
Without a session, connections are typically closed to ensure safety.
About these practice questions
Courseiva writes every PCPP1 question from scratch — 209 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
JA
Written and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed August 2026 · checked against the official Python Institute exam blueprint
This PCPP1 practice question is part of Courseiva's free Python Institute certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the PCPP1 exam.