DevOps Training institute in Ameerpet | DevOps Training Online

 TOP 10 Ansible Interview Questions and Answers for 2022

1. What is CI/CD?

Continuous Integration is something that is used for streamlining the development and deployment process. These lead to the more rapid development of cohesive software.

2. What is Configuration Management?

It’s a practice that we should follow in order to keep track of all updates that are going into the system over a period of time. This also helps in a situation where a major bug has been introduced to the system due to some new changes and we need to fix it with minimum downtime. DevOps with AWS

3. How does Ansible work?

Ansible is a combination of multiple pieces working together to become an automation tool. Mainly these are modules, playbooks, and plugins.

4. What are the features of Ansible?

It has the following features:

·         Agentless – Unlike puppet or chef there is no software or agent managing the nodes.

·         Python – Built on top of python which is very easy to learn and write scripts and one of the robust programming languages.

·         SSH – Password-less network authentication which makes it more secure and easy to set up.

·         Push architecture – The core concept is to push multiple small codes to configure and run the action on client nodes.

·         Setup – This is very easy to set up with a very low learning curve and any open source so that anyone can get hands-on. DevOps with AWS

·         Manage Inventory – Machines’ addresses are stored in a simple text format and we can add different sources of truth to pull the list using plugins such as Openstack, Rackspace, etc.

5. Explain Infrastructure as Code?

Infrastructure as Code or IaC is a process that DevOps teams should follow to have a more organized way of managing the infra. Instead of some throwaway scripts or manually configuring any cloud component, there should be a code repo where all of these will lie and any change in configuration should be done through it.

6. What is Ansible Galaxy?

Galaxy is a repository of Ansible roles that can be shared among users and can be directly dropped into playbooks for execution. It is also used for the distribution of packages containing roles, plugins, and modules also known as collection.

7. What is Ansible Tower?

It’s an enterprise-level web-based solution that increases Ansible’s accessibility to other IT Terms by including an easy-to-use UI (user interface). 

8. Explain what an ask pass module is.

It’s a playbook control module used to control a password prompt. It’s set to True by default.

9. What’s an ad hoc command?

Users initiate ad hoc commands to initiate actions on a host without using a playbook. Consider it a one-shot command.

10. Explain the difference between a playbook and a play.

A play is a set of tasks that run on one or more managed hosts. Plays consist of one or more tasks. A playbook consists of one or more plays.

Contact us +91-9989971070, 70322 90546

Register now for DevOps online training

Visit: https://www.visualpath.in/devops-online-training.html

Comments