
CiscoCertified Network Professional Cybersecurity (CBRCOR)
Domain 4Objective 2
4.2 Interpret Basic Scripts Such as Python 350-201 Practice Questions (Page 4)
Part of the Automation domain, which accounts for 20% of the 350-201 exam. Cisco does not publish an official question count, but from its 120-minute exam (~50–80 total, ~10–16 in this domain), expect 1–1 from this objective — we provide 30 practice questions to prepare you well beyond it. (estimate)
30questions here
6free pages
7concepts
20%of the exam
Questions 16–20
- 16
What is the purpose of the `else` clause in an `if-else` statement?
Select an answer first - 17
Which element of a Python script is used to group a block of statements that belong together, such as the body of an if statement or a loop?
Select an answer first - 18
A security analyst is analyzing a Python script that counts down from a specified number. The script is: ```python count = 3 while count > 0: print(count) count -= 1 print('Done') ``` What is the output?
Select an answer first - 19
A security engineer is testing a Python script that parses a JSON file containing firewall rules. The script includes: ```python try: with open('rules.json', 'r') as f: data = f.read() import json rules = json.loads(data) print(len(rules)) except Exception as e: print('Error: ' + str(e)) ``` If 'rules.json' contains invalid JSON, what is the output?
Select an answer first - 20
Given the Python script `print(2 + 3 * 4)`, what is the output?
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 Cisco. “350-201” is a trademark of its owner, used for identification only.