DevOps Tools Engineer (LPIC-OT 701) — Question 5
Which of the following commands lists the cookbooks available on a Chef server?
Answer options
- A. kitchen cookbook list
- B. chef-client cookbook list
- C. chef-server cookbook list
- D. chef-solo cookbook list
- E. knife cookbook list
Correct answer: C
Explanation
The command 'chef-server cookbook list' is specifically designed to interact with a Chef server to list its cookbooks. The other options either pertain to different contexts (like kitchen, client, or solo modes) or are incorrect commands for listing cookbooks on a Chef server.