Free JN0-221 Exam Braindumps (page: 5)

Page 5 of 16

Which statement is correct about Infrastructure as Code (IaC)?

  1. It is an infrastructure that runs identical operating systems
  2. It is an infrastructure where devices are entirely virtualized
  3. It is an infrastructure that is used for beta code testing
  4. It is an infrastructure where devices are managed like software

Answer(s): D


Reference:

https://www.vmware.com/topics/glossary/content/infrastructure-as-code



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

  1. Ansible modules only execute a change if required
  2. By default, Ansible core modules use NETCONF to connect to the remote host
  3. By default, Ansible playbooks are executed locally
  4. Ansible uses an agentless architecture

Answer(s): B,D


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



Which two Python packages use NETCONF to interact with Junos devices? (Choose two.)

  1. numpy
  2. jsnapy
  3. junos-eznc
  4. pyyaml

Answer(s): B,C



Which Python code block is an example of a context manager?

  1. while True:
    device – Device(host-“vmx-1”, user-“lab”, passwd-“lab123”)
    ...
  2. try:
    device – Device(host-“vmx-1”, user-“lab”, passwd-“lab123”)
    ...
    except:
    print(“Unable to connect to the vMX1”)
  3. with Device(host=”vmx-1”, user=”lab”, passwd=”lab123”) as device:
    ...
  4. for host in [“vmx-1”, “vmx-2”]:
    device – Device(host-host, user-“lab”, passwd-“lab123”)
    ...

Answer(s): B


Reference:

https://packetpushers.net/using-python-context-managers/



Page 5 of 16



Post your Comments and Discuss Juniper JN0-221 exam with other Community members:

Nelo commented on September 08, 2021
This certificaion questions and answers are the same as those other sites selling for triple the price.
UNITED STATES
upvote