Ansible MCQ

Ansible MCQ

  • Sharad Jaiswal
  • 08th Aug, 2022

Ansible is a simple open-source and automatic platform or framework. Its main function is the deployment of software and configuration management. Ansible is written in Python Powershell, Shell & Ruby Language. The Ansible framework doesn’t depend on any agent software and it has also does not any additional infrastructure. This framework requires only certain instructions to accomplish any task. Ansible framework is written by Michael DeHaan but further acquired by Red Hat in the year 2015.

Finally, We have listed below the Best Ansible MCQ Questions for your basic knowledge of Ansible Interviews or Exams. This Ansible MCQ Mock Test contains Max. 25 multiple Choice Questions. Choose the right answer to test your knowledge.

Ansible MCQ Questions

1) In Which Language Ansible engine written?

  • A. Python
  • B.Java
  • C.C++
  • D.C#

2) Which year Ansible initially released ?

  • A. January 2012
  • B.February 2012
  • C.March 2012
  • D.April 2012

3) Who was developed by Ansible ?

  • A. Konrad Zuse
  • B.James Gosling
  • C.Michael Dehaan
  • D.Larry Wall

4) What language is an Ansible playbooks are written in by default ?

  • A. XML
  • B.HTML
  • C.JSON
  • D.YAML

5) Which argument will you use to specify a variable for your Ansible playbook?

  • A. -c
  • B.-d
  • C.-e
  • D.None of them

6) What is Ansible Galaxy ?

  • A. $ ansible-galaxy username.role_name
  • B.$ ansible-galaxy install username.role_name
  • C.$ galaxy install username.role_name
  • D.None of them

7) What are the things Ansible can do?

  • A. Task automation
  • B.Configuration management
  • C.Deployment of application
  • D.All of the above

8) What are the requirements of the Ansible server?

  • A. Ruby 2.3 version or the higher
  • B.Maven 3.6 version or the higher
  • C.Python 2.6 version or the higher
  • D.None of them

9) What is the default location for Ansible ?

  • A. /usr/ansible
  • B./user/share/ansible_name
  • C./usr/share/ansible
  • D.Both A & B

10) Which module will you utilize to create a directory?

  • A. template
  • B.file
  • C.data
  • D.fetch

11) Ansible module is utilized for managing docker _______

  • A. docker
  • B.docker_login
  • C.docker_image
  • D.docker_service

12) What is cowsay in ansible?

  • A. ANSIBLE_COW_SELECTION=random
  • B.ANSIBLE_COW_INSERTION=random.
  • C.ANSIBLE_COWSAY_SELECTION=random
  • D.None of them

13) What is inventory in ansible?

  • A. --vars
  • B.--list
  • C.--export
  • D.All of the above

14) What is use of ask_pass module in Ansible?

  • A. ansible-ask-pass
  • B.ansible-passbook --ask-pass
  • C.ansible-playbook --ask-pass
  • D.Both A & B

15) What is Ansible tower ?

  • A. task automation
  • B.free for usage until 10 nodes.
  • C.web-based solution
  • D.All of the above

Leave A Comment :

Valid name is required.

Valid name is required.

Valid email id is required.

Related MCQ/Quiz

01st
Jul
Sql Server MCQ
01st
Jun
Kubernetes MCQ
01st
Nov
WPF MCQ
01st
Nov
TensorFlow MCQ