exam questions

Exam JN0-221 All Questions

View all questions & answers for the JN0-221 exam

Exam JN0-221 topic 1 question 37 discussion

Actual exam question from Juniper's JN0-221
Question #: 37
Topic #: 1
[All JN0-221 Questions]

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

  • A. All Ansible host and group variables must be defined in the /etc/ansible/hosts directory
  • B. Groups can be nested and a device is allowed to participate in multiple groups
  • C. Separate host and group variable files can be used for larger environments
  • D. Groups cannot be nested and a device is allowed to participate only a single group
Show Suggested Answer Hide Answer
Suggested Answer: AB 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
owlbufi
Highly Voted 4 years, 1 month ago
B and C should be the right answers. A. is not correct, You can define host variables directly in the playbook. https://docs.ansible.com/ansible/2.3/playbooks_variables.html#variables-defined-in-inventory
upvoted 6 times
...
lucaboban
Most Recent 4 years, 2 months ago
I think correct answer is: AC
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago