JNCIA-DevOps: Juniper Networks Certified Associate – Automation (2021) — Question 24

Which two statements about Ansible are correct? (Choose two.)

Answer options

Correct answer: A, B

Explanation

Option A is incorrect because while host and group variables can be defined in /etc/ansible/hosts, they can also be defined elsewhere. Option B is correct as it allows for group nesting and membership in multiple groups. Option C is also correct for larger environments, but it is not one of the selected answers. Option D is incorrect as it contradicts the ability for groups to be nested.