Question 60
While investigating a network policy migration for fictional Cedarbridge Care Systems, the team reports: A playbook restarts network services after every configuration check even when the device configuration is unchanged. Which engineering principle explains the described system behavior?
Explanation
Correct Answer
Ansible handlers are triggered by changed tasks and coalesce notifications, separating configuration checks from disruptive service actions. The corresponding repair is: Notify a handler only when the associated configuration task reports a real change, and apply the restart once if necessary. Acceptance should show: Unchanged reruns cause no service restart, while an approved changed configuration invokes its handler exactly once.
Incorrect Answers
The offered statement is true for this other mechanism: The corresponding repair is: Build the request body from the correct YANG data node and use application/yang-data+json with valid RESTCONF resource paths. It does not explain the facts described here, which follow from: The corresponding repair is: Notify a handler only when the associated configuration task reports a real change, and apply the restart once if necessary.
This principle describes a separate cause: The corresponding repair is: Discover supported YANG modules or capabilities before using module-specific RESTCONF data paths, and branch for supported models. The reported condition is governed by: The corresponding repair is: Notify a handler only when the associated configuration task reports a real change, and apply the restart once if necessary. The two mechanisms should not be conflated.
The offered statement is true for this other mechanism: The corresponding repair is: Choose a supported declarative IaC framework for persistent desired configuration and targeted scripts for bounded imperative queries or integrations. It does not explain the facts described here, which follow from: The corresponding repair is: Notify a handler only when the associated configuration task reports a real change, and apply the restart once if necessary.