DevNet Associate · 200-901
100 questions · 120 min · 82% Techclick practice target
⚠️ Exam Rules
| Questions in this Techclick bank | 100 |
|---|---|
| Timer | 120 min |
| Techclick practice target | 82% |
| Official exam code | 200-901 |
A team is choosing a data structure to store the latest unique IP addresses seen on the wire, where ordering does not matter and duplicate inserts must collapse silently. Which Python type is BEST?
Correct: B. set gives O(1) membership tests and automatic de-duplication — exactly the semantics described. list allows duplicates (the common trap). tuple is immutable and not deduplicating. A dict with None values works but wastes memory and intent compared with set.
Look at the snippet: <pre>def add(a, b=[]): b.append(a) return b print(add(1)) print(add(2))</pre> What is printed?
Correct: B. Mutable default arguments are evaluated ONCE at function-definition time and shared across calls — the classic Python gotcha. So b accumulates: [1] then [1,2]. The fix is `def add(a, b=None): b = b or []`. Believing each call gets a fresh [] is the trap distractor.
Which TWO statements about Git branching are TRUE? (Choose 2)
Correct: A and B. rebase replays commits on a new base — that IS rewriting history. pull = fetch + merge (or rebase). merge can fast-forward without a merge commit (use --no-ff to force one). cherry-pick COPIES a commit (the source still has it). stash SAVES changes for later, it does not delete them.
A class manages a database connection. To make sure the connection is always closed even on exceptions, what is the CLEANEST Python pattern?
Correct: B. Context managers are the idiomatic Python pattern — `with conn:` guarantees __exit__ runs on normal exit and exceptions. __del__ is unreliable because GC timing is not guaranteed. try/finally works but repeats at every call site. atexit only runs at interpreter shutdown.
Which design pattern describes a single shared instance used to provide one global access point, often used for configuration objects?
Correct: B. Singleton enforces a single instance with a global access point — the textbook pattern for shared configuration or logging. Factory creates instances. Observer is publish/subscribe. Strategy swaps interchangeable algorithms.
Last updated:
Yes. You can start, finish and score it for free, and download the Techclick practice certificate.
This bank has 100 original scenario-based questions with a 120-minute timer and a 82% Techclick practice target.
The official exam code is 200-901 (Cisco).
No. They are original practice questions written by Techclick. This is not the vendor's official exam and not leaked dumps.
Score 82% or higher to get a Techclick practice certificate and LinkedIn badge. It is not an official Cisco certification.
Related practice tests: CCIE Security Written 350-701, CCNA 200-301, Cisco 300-410, CCNP ENCOR 350-401, Cisco 100-160, Cisco 200-201 (linked below).

You earned it — let the world know!
