▶ 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
Exam10
Exam10
devops / ansible
• 5 questions
Question 1 of 5
What is `ansible-lint` used for?
A.
Running playbooks in check mode
B.
Statically analysing playbooks for best-practice violations
C.
Validating inventory files
D.
Encrypting variable files
Question 2 of 5
Which Ansible feature allows testing playbooks without making changes?
A.
ansible-playbook --dry-run
B.
ansible-playbook --check
C.
ansible-playbook --test
D.
ansible-playbook --simulate
Question 3 of 5
What does the `delegate_to` keyword do?
A.
Passes a task to the next host in inventory
B.
Runs a task on a different host than the current one
C.
Delegates privilege escalation
D.
Transfers file ownership
Question 4 of 5
Which keyword runs a task exactly once regardless of how many hosts are in the play?
A.
run_once: true
B.
single: true
C.
once: true
D.
execute_once: true
Question 5 of 5
What is AWX?
A.
Ansible's package manager
B.
The open-source version of Ansible Automation Platform (formerly Tower)
C.
A cloud-hosted inventory plugin
D.
A testing framework for Ansible roles
← Back
Submit Answers ✓