1.Can you tell me about Chef?
2.List some of the comparison between Puppet and Chef?
No such extended API
3.Can you tell me about the Chef resources?
4.List some of the functions of Chef resources?
We can able to describe about desired states of the configuration items.
We can able to bring the certain items to the state.
We can able to select the resources just like package, services or template.
We can able to list out the properties of the resources & other needed details.
We can able to group resources into the receipts. This is just for describing the work configurations.
5.Can you list Chef’s major components?
6.Can you explain about the Chef Recipe?
7.List some of the functions of Chef Recipe?
We can able to install software components with the help of Chef Recipe.
We can able to manage all files as well as apps deployment.
We can able to execute all other recipes with the help of single recipe.
8.Can You explain about the Chef Workstations?
We can say this as a host. This is to modify configure data & cookbooks. Then this is forwarded to Chef Servers.
Can You explain about the Chef Servers?
We can say this as central stores. This is to accumulate all data which are needed to configure the node.
Can you explain about the Chef Nodes?
We can say this as the client responsible to share the data all over the network. This is Chef-client based architecture.
Can you explain about the cookbooks?
Functional unit for the configuring as well as policy distribution is Cookbook. It defines the scenario as well as contains all the needed things to support the scenario. The scenarios are as follows. They are,
Extension to the Chef.
Explain about the Chef repo?
It is the directory. This is on our Workstation which stores the following. They are,
Explain about the Chef – clients run?
It is used for describing the series of the steps which we take by Chef – client. This is when we configure the node.
Explain about the Data Bags?
The global variables which is stored as the JSON as well as accessible from the Chef servers. It is a searching index. We can able to load by the recipe / accessed during the search.
Explain about the Chef DK?
It is a location where the users can able to interact with the Chef. In the workstation, users can author as well as test the cookbook. This is possible with the help of tools like Test Kitchen. Here users can able to interact with Chef server with the help of knife as well as Chef tools.
Can you tell the version of the cookbook which you will set once it gets ready to use in the production?
Based on the Semantic Versioning, we need to set 1.0.0 as the version of our cookbook once it gets ready to use in the production.
Can you explain the difference between the Chef apply from the Chef client?
Executable program which runs one Recipe from command line is Chef apply. This is one part of development kit of the Chef. This is one of the greatest ways for exploring the resources.
Chef client will apply the cookbook. We use this for the production purpose. We can able to run the Chef client for applying single or many cookbooks.
Can you explain about significance of the signed Header?
It is very much necessary for validating the interaction between Chef node, server & authentication of the signed header.
Can you tell me why SSL certificates are used in the Chef?
We need this for initial config of Chef. Also, to create the certificate & private key in the Nginx. This will also ensure whether the data access is right between Chef client as well as Chef server.
Explain about the Chef Repository working?
It is the collections of the following. They are,
Cookbooks and many more.
This will also sync Chef Repository with GIT & VCS. This is to improve its performance.
Tell me about the run list?
It is required to specify the Recipes. This is mainly required to run it. Also, orders in which it executes the recipes.
List few advantages of the run list?
Following are few advantages of the run list. They are,
This ensures whether recipes are running as per the same order which we mentioned.
We need to specify the node in which it is executed.
This will transfer from workstation to the Chef server & management console.
Explain the importance of Starter kit in Chef?
It is required to create the config files in the Chef. This provides us the info about interacting with server. As well as it will define config file. We can able to download starter kit easily. We can able to use this at desired place in workstation.
Can you explain the process to update the cookbook?
Following are the steps which we need to follow to update the cookbook. They are,
Hostname / IP addresses of node.
Username & password to login in the particular node.
We should use keys for the authentication instead of login credentials.
Let me know about your understanding in Test Kitchen?
It helps us to improve lifecycle development. Also, it enables cookbook on servers. We can able to create the different VMs in the cloud / on-premise.