Question 80
While investigating a network policy migration for fictional Cedarbridge Care Systems, the team reports: A Python script retries a POST creating a network object after an ambiguous timeout and creates a duplicate because the first request already succeeded. Which engineering principle explains the described system behavior?
Explanation
Correct Answer
A network transport timeout does not prove server-side failure; blind retries of non-idempotent operations can duplicate effects. The corresponding repair is: Before retrying a potentially non-idempotent change, check resulting resource state or use a supported idempotency or operation key. Acceptance should show: An induced response-loss test yields one intended network object or operation and records its final state without duplicate changes.
Incorrect Answers
The corresponding repair is: Choose a supported targeted PATCH or edit operation for partial changes and reserve PUT for intentionally replacing the resource representation. That explanation applies to a different technical failure. Here the controlling principle is: The corresponding repair is: Before retrying a potentially non-idempotent change, check resulting resource state or use a supported idempotency or operation key.
The offered statement is true for this other mechanism: The corresponding repair is: Select the tool and deployment pattern by risk, state persistence, change scope, rollback capability and approval obligations. It does not explain the facts described here, which follow from: The corresponding repair is: Before retrying a potentially non-idempotent change, check resulting resource state or use a supported idempotency or operation key.
This principle describes a separate cause: The corresponding repair is: Read intended configuration and runtime operational YANG data from their appropriate modeled resources, and write only configurable leaves. The reported condition is governed by: The corresponding repair is: Before retrying a potentially non-idempotent change, check resulting resource state or use a supported idempotency or operation key. The two mechanisms should not be conflated.