Question 590
A scheduled network playbook runs twice; the second run should report no change when the intended configuration is already present. Which automation quality is sought?
Explanation
Correct Answer
Idempotence means applying the same intended configuration repeatedly produces the same resulting state once it is established. Suitable network configuration modules can compare or reconcile current and desired state to avoid needless edits. This property makes retries safer but does not eliminate the need for change review or rollback plans.
Incorrect Answers
Changing targets on each run defeats state convergence and may disrupt unrelated ports. It is the opposite of consistent idempotent operation.
Some commands or scripts have side effects on repeated execution. Idempotence must be implemented and tested rather than assumed from the existence of a playbook.
Automatic restarts are unnecessary and can interrupt the network. An idempotent update should avoid work when the desired state is already satisfied.