Ansible MCQ Questions And Answers - DevOps

Ansible MCQs : This section focuses on "basics" of Ansible. These Multiple Choice Questions (MCQ) should be practiced to improve the Ansible skills required for various interviews (campus interviews, walk-in interviews, company interviews), placements, entrance exams and other competitive examinations.

1. _________________ is something that is used for streamlining the development and deployment process.

A. Continuous Delivery
B. Continuous Integration
C. Continuous Test
D. Continuous Intervention

View Answer


2. _____________ is a combination of multiple pieces working together to become an automation tool.

A. Bugzilla
B. Chef
C. Ansible
D. Git

View Answer


3. What are the features of Ansible?

A. Unlike puppet or chef there is no software or agent managing the nodes
B. Passwordless network authentication which makes it more secure and easy to set up
C. The core concept is to push multiple small codes to the configure and run the action on client nodes
D. All of the above

View Answer


4. IaC stands for?

A. Integration as Code
B. Infra as Code
C. Infrastructure Ansible Code
D. Infrastructure as Code

View Answer


5. ___________ is a repository of Ansible roles that can be shared among users and can be directly dropped into playbooks for execution.

A. Modules
B. Functions
C. Galaxy
D. Standalone

View Answer


6. How many types of modules in Ansible?

A. 1
B. 2
C. 3
D. 4

View Answer


7. YAML or files are like any formatted text file with few sets of rules just like JSON or XML.

A. TRUE
B. FALSE
C. Can be true or false
D. Can not say

View Answer


8. In Which Language Ansible engine written?

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

View Answer


9. What language is an Ansible playbooks are written in by default ?

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

View Answer


10. The task is a unit action of Ansible.

A. Yes
B. No
C. Can be yes or no
D. Can not say

View Answer




Discussion



* You must be logged in to add comment.