▶ MCQ Portal
Home
Medical
Neet-Ug
4
Ssc-Cgl
General_Awareness
5
Devops
Ansible
10
Aws
5
Azure
10
Docker
5
Jenkins
5
Kubernetes
5
Terraform
10
⚑ Feedback
Home
ansible
Exam8
Exam8
devops / ansible
• 5 questions
Question 1 of 5
What is Ansible Galaxy?
A.
Ansible's graphical UI
B.
A hub for sharing and downloading Ansible roles and collections
C.
A cloud-hosted inventory service
D.
A testing framework for playbooks
Question 2 of 5
Which command installs a role from Ansible Galaxy?
A.
ansible install geerlingguy.apache
B.
ansible-galaxy role install geerlingguy.apache
C.
ansible-galaxy download geerlingguy.apache
D.
ansible-get geerlingguy.apache
Question 3 of 5
What is an Ansible Collection?
A.
A list of inventory hosts
B.
A distribution format bundling roles, modules, plugins, and playbooks
C.
A set of environment variables
D.
A group of handler tasks
Question 4 of 5
Which file lists the collections your project depends on?
A.
requirements.yml
B.
collections.txt
C.
dependencies.yaml
D.
galaxy.cfg
Question 5 of 5
How do you install all collections listed in requirements.yml?
A.
ansible-galaxy install -r requirements.yml
B.
ansible-galaxy collection install -r requirements.yml
C.
ansible install -r requirements.yml
D.
pip install -r requirements.yml
← Back
Submit Answers ✓