Question 11
Choose 1
Desired state says a service must be running. It is currently stopped. What should reconciliation do?
Correct answer:
C. Start the service
Answer Option (Which option is correct) C. Start the service
Explanation:
Reconciliation compares the actual service state with the declared desired state. Because the service is stopped but is required to be running, the automation should start it and check the outcome. A successful action should be followed by a state or health check rather than assumed from the request alone.
Why the other options are incorrect:
A. Change the SLA:
An SLA change alters service commitments. It does not start a stopped process. Reconciliation must operate on the actual service state.
B. Tag the repository:
A repository tag records a version reference. It does not launch the managed workload. The running-state requirement still needs enforcement.
D. Delete the state file:
Deleting the state file removes management information. It does not intentionally satisfy the service's desired state. It can also disrupt subsequent reconciliation.
References:
Ansible: desired state and architecture
Explanation:
Reconciliation compares the actual service state with the declared desired state. Because the service is stopped but is required to be running, the automation should start it and check the outcome. A successful action should be followed by a state or health check rather than assumed from the request alone.
Why the other options are incorrect:
A. Change the SLA:
An SLA change alters service commitments. It does not start a stopped process. Reconciliation must operate on the actual service state.
B. Tag the repository:
A repository tag records a version reference. It does not launch the managed workload. The running-state requirement still needs enforcement.
D. Delete the state file:
Deleting the state file removes management information. It does not intentionally satisfy the service's desired state. It can also disrupt subsequent reconciliation.
References:
Ansible: desired state and architecture