Chef resource defines a small segment of the operating system in its desired state. It also refers to a configuration policy statement that is utilized to represent the desired state of any node and then to the current configuration. All together it helps resource providers and developers.

The functions of a Chef Resource are-
  • The present status of the target machine can be known for its help
  • it also defines the steps which are required to perform to get the target machines
  • It also specifies the resources for example templates, services, files or packages.
BY Best Interview Question ON 05 Oct 2019