Question 50
At fictional Northshore Cloud, an acceptance review of an inventory reconciliation finds: A Python network maintenance loop calls requests.get without a timeout and blocks indefinitely when a switch management plane stops responding. Which result most directly verifies that the proposed correction worked?
Explanation
Correct Answer
A simulated nonresponsive endpoint times out within the declared bound and produces a per-device failure record without blocking others. This directly verifies the related correction: Set explicit connect and read timeouts and catch the resulting exceptions so the worker can report and continue safely. It checks the technical distinction: Python HTTP clients do not guarantee a useful bounded response time unless the caller configures explicit timeouts.
Incorrect Answers
The offered action targets: This directly verifies the related correction: Read intended configuration and runtime operational YANG data from their appropriate modeled resources, and write only configurable leaves. The case facts point instead to: This directly verifies the related correction: Set explicit connect and read timeouts and catch the resulting exceptions so the worker can report and continue safely. Implement “A simulated nonresponsive endpoint times out within the declared bound and produces a per-device failure record without blocking others” to address that specific condition.
This alternative is a response to another technical cause: This directly verifies the related correction: Configure a shared protected Terraform state backend with supported locking and serialize competing applies against the same state. The reported case instead depends on: This directly verifies the related correction: Set explicit connect and read timeouts and catch the resulting exceptions so the worker can report and continue safely. The action that directly addresses it is “A simulated nonresponsive endpoint times out within the declared bound and produces a per-device failure record without blocking others”.
The proposed action belongs to the mechanism: This directly verifies the related correction: Separate inventory groups and group variables by approved device scope, then constrain the play to the intended group. Here the stated fault follows a different mechanism: This directly verifies the related correction: Set explicit connect and read timeouts and catch the resulting exceptions so the worker can report and continue safely. The corrective choice is “A simulated nonresponsive endpoint times out within the declared bound and produces a per-device failure record without blocking others”.