exam questions

Exam JN0-221 All Questions

View all questions & answers for the JN0-221 exam

Exam JN0-221 topic 1 question 18 discussion

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

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

  • A. Ansible modules only execute a change if required
  • B. By default, Ansible core modules use NETCONF to connect to the remote host
  • C. By default, Ansible playbooks are executed locally
  • D. Ansible uses an agentless architecture
Show Suggested Answer Hide Answer
Suggested Answer: BD 🗳️
Reference:
https://www.juniper.net/documentation/en_US/junos-ansible/topics/concept/junos-ansible-overview.html#:~:text=Ansible%20uses%20an%20agentless
%20architecture,software%20on%20the%20managed%20nodes.&text=Thus%2C%20Ansible%20users%20can%20get,of%20Python%20to%20use%20Ansible

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
NETchan
3 years, 3 months ago
c and d netconf over ssh has to be activated so its not on by default C is true as ansible playbooks are executed locally on the ansible servers and are obviously agentless
upvoted 2 times
...
F_A
3 years, 3 months ago
A and D Ansible uses SSH by default and it copies the modules to the remote device, execute them and then remove them. Only a Python interpreter is needed on the remote device. Junos operates differently. Modules are run locally and NETCONF is used to perform the automation tasks on the remote device. The expression "by default" makes letter B wrong.
upvoted 2 times
...
aleksos
3 years, 8 months ago
B, D - Ansible uses the Junos XML API over NETCONF to interface with devices running Junos OS
upvoted 4 times
...
lucaboban
4 years, 2 months ago
Correct answer is: AD
upvoted 1 times
aleksos
3 years, 8 months ago
Wrong, APPLY a change if it’s required. Executes all playbook...
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