Question 260
After resolving the following case, what should the engineer verify? An engineer assumes Python indentation is decorative and puts an interface update outside an if condition.
Explanation
Correct Answer
This is the intended verification of the remedy: Indent the interface update inside the intended conditional block. Python indentation establishes control-flow grouping.
Incorrect Answers
That observation would verify a different condition: a network inventory script fails on a missing optional API key in one JSON payload.
That observation would verify a different condition: a Python script loops through device addresses but stops after the first because return is inside the loop.
That observation would verify a different condition: a script iterates over a string of addresses and inadvertently processes each character as a separate host.