CCNA: Cisco Certified Network Associate — Question 573
How does Chef configuration management enforce a required device configuration?
Answer options
- A. The Chef Infra Server uses its configured cookbook to push the required configuration to the remote device requesting updates.
- B. The installed agent on the device connects to the Chef Infra Server and pulls its required configuration from the cookbook.
- C. The Chef Infra Server uses its configured cookbook to alert each remote device when it is time for the device to pull a new configuration.
- D. The installed agent on the device queries the Chef Infra Server and the server responds by pushing the configuration from the cookbook.
Correct answer: B
Explanation
The correct answer is B because the installed agent on the device actively connects to the Chef Infra Server to pull the necessary configuration from the cookbook. Options A and D incorrectly describe the process as a push mechanism, which is not how Chef works; it is pull-based. Option C misrepresents the function of the server, as it does not simply alert devices but rather allows them to fetch their configurations when needed.