▶ ExamTry
Home
Medical
Neet Ug
4
Ssc-Cgl
General_Awareness
5
Mock-Test
5
Devops
Git
3
Ansible
10
Aws
5
Azure
10
Docker
5
Jenkins
5
Kubernetes
5
Terraform
10
⚑ Feedback
Home
ansible
Exam4
Exam4
devops / ansible
• 5 questions
Question 1 of 5
What are Ansible handlers used for?
A.
Defining connection parameters
B.
Running tasks only when notified by another task
C.
Managing inventory groups
D.
Encrypting sensitive variables
Question 2 of 5
When do handlers run by default?
A.
Immediately after the notifying task
B.
At the beginning of the next play
C.
At the end of the play after all tasks complete
D.
Only on the next playbook run
Question 3 of 5
Which keyword triggers a handler from a task?
A.
trigger
B.
call
C.
notify
D.
signal
Question 4 of 5
What happens if a handler is notified multiple times in a play?
A.
It runs once for each notification
B.
It runs only once, at the end of the play
C.
It raises an error
D.
The last notification overrides earlier ones
Question 5 of 5
Which keyword forces all pending handlers to run immediately at that point?
A.
flush_handlers
B.
run_handlers
C.
trigger_handlers
D.
execute_handlers
← Back
Submit Answers ✓