Ansible MCQ

Ansible MCQ | Freshers & Experienced

  • Sharad Jaiswal
  • 13th Feb, 2021

We have listed below the Best Ansible MCQ Questions for your basic knowledge of Ansible Interviews. This Ansible MCQ Mock Test contains 25 multiple Choice Questions. You have to select the right answer to every question.

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
Feb
React JS MCQ
01st
Feb
Angular Js MCQ
01st
Feb
Angular 2 MCQ
01st
Feb
JSON MCQ
01st
Feb
PHP MCQ