Current JN0-421 Exam Dumps [2022] Complete Juniper Exam Smoothly [Q39-Q61]

Share

Current JN0-421  Exam Dumps [2022] Complete Juniper Exam Smoothly

JN0-421 Premium PDF & Test Engine Files with 66 Questions & Answers


Juniper JN0-421 Exam Syllabus Topics:

TopicDetails
Topic 1
  • Describe how to use Ansible for automating Junos
  • gRPC
  • gNMI (network management interface)
Topic 2
  • Identify the concepts and general features of Junos support for YANG models
  • Describe the concepts, benefits, or operation of automation scripts for Junos
Topic 3
  • Describe the concepts, benefits, or operation of automation access methods
  • JSD-based automation
Topic 4
  • Commit, Op, Event, or SNMP scripts
  • PyEZ exception handling
  • MGD-based automation
Topic 5
  • Fast Programmatic Configuration (Ephemeral DBs)
  • Describe the concepts, benefits, or operation of data serialization
Topic 6
  • Identify the concepts, general features, or functionality of the Juniper Extension Toolkit
  • Describe Python tools for automating Junos
Topic 7
  • Implementation concepts
  • Telemetry concepts
  • Notification APIs
  • Service APIs

 

NEW QUESTION 39
What is the purpose of an __init__.py file?

  • A. An __init__.py file indicates to the Python interpreter that a directory contains Python packages or modules
  • B. An __init__.py file contains strings for additional directories that the Python interpreter adds to sys.path
    []
  • C. An __init__.py file initializes a Python application with default values for instantiated objects
  • D. __init__.py file sets all magic attributes with the __init__.prefix with the appropriate default values

Answer: A

 

NEW QUESTION 40
Click the Exhibit button.
Exhibit:

Referring to the exhibit, what is the execution order of tasks in the Ansible playbook?

  • A. Task C > Task B
  • B. Task A > Task B > Task C
  • C. Task A > Task B
  • D. Task C > Task B > Task A

Answer: C

 

NEW QUESTION 41
To which component(s) does the JET service APIs provide access?

  • A. YANG modules
  • B. XML APIs
  • C. control plane
  • D. forwarding plane

Answer: C

 

NEW QUESTION 42
What are two format distinctions to know when using YAML? (Choose two)

  • A. white space indentation insensitive
  • B. tab indentation allowed
  • C. white space indentation sensitive
  • D. tab indentation not allowed

Answer: C,D

Explanation:
Explanation
Because YAML is white-space sensitive and indentation is significant (not allowed), you should always use spaces rather than tabs when creating playbooks. In YAML, items preceded by a hyphen (-) are considered list items, and the key:value notation represents a hash.
References:

 

NEW QUESTION 43
What are two benefits of network automation? (Choose two )

  • A. increase programming language fluency
  • B. to enforce consistency in automated devices
  • C. to provide historical configuration management
  • D. to improve product lifecycle management

Answer: B,D

 

NEW QUESTION 44
Which two primary processes are used by Juniper devices for on-box or off-box automation? (Choose two)

  • A. jsd
  • B. rpd
  • C. ancpd
  • D. mgd

Answer: A,D

 

NEW QUESTION 45
What are three types of Juniper on-box scripts? (Choose three)

  • A. Ansible
  • B. expect
  • C. operational
  • D. event
  • E. commit

Answer: A,C,E

 

NEW QUESTION 46
You are writing a SLAX op script to provide a customized rendition of the show interface output. You want to include a command-line argument named interface and provide it whit the default value of fxp0.
A)

B)

C)

D)

  • A. Option C
  • B. Option A
  • C. Option B
  • D. Option D

Answer: C

 

NEW QUESTION 47
Click the Exhibit button.



Referring to the exhibit, what is the type of the myConfig variable on line 17 of the Python script?

  • A. template
  • B. dictionary
  • C. string
  • D. list

Answer: A

 

NEW QUESTION 48
Which messaging protocol do JET service APIs use to interface with the Junos OS?

  • A. MQTT
  • B. gRPC
  • C. NETCONF
  • D. Rabbit MQ

Answer: D

 

NEW QUESTION 49
What is the purpose of an _intit_.py file ?

  • A. An_init_.py file contains strings for additional directories that the Python interpreter adds to sys.path [].
  • B. An_init_.py file initializes a Python application with default values for instantiated objects.
  • C. An_init_.py file indicates to the Python interpreter that a directory contains Python packages or modules.
  • D. An_init_.py file sets all magic attributes with the _init_prefix with the appropriate default values.

Answer: B

 

NEW QUESTION 50
Using the REST ful API on Junos device, you are able to retrieve configuration information in which three formats? (choose three.)

  • A. JSON
  • B. XML
  • C. plain text
  • D. YAML
  • E. GPB

Answer: A,B,D

 

NEW QUESTION 51
What is purpose of RubyEZ?

  • A. to provide an off device interface to Ruby
  • B. to provide a Ruby interface to the Junos Space management product
  • C. to provide a Ruby framework for interfacing with Juniper devices
  • D. to provide a Ruby interface to Juniper devices that support Puppet

Answer: C

 

NEW QUESTION 52
Click the Exhibit button.
Exhibit:

You are using RubyEZ to interact with a Junos device: however, you are not successfully connecting to the device.
Referring to the exhibit, what is the problem?

  • A. Netconf::SSH.new statement arguments must be hashes
  • B. Argument passed to Netconf:: SSH.new statement must be referenced as variables
  • C. Netconf::SSH.new statement only expects an IP address of the target device
  • D. A Junos::Ez::Provider statement is missing before the Netconf::SSH. New statement

Answer: B

 

NEW QUESTION 53
In SLAX, what is the difference between the jcs : invoke ( ) and the jcs : execute ( ) functions?

  • A. RPCs called by jcs : invoke ( ) are not executed until the conclusion of the script.
  • B. RPCs called by jcs : invoke ( ) are executed within an existing connection.
  • C. RPCs called by jcs : execute ( ) are executed within an existing connection.
  • D. RPCs called by jcs : execute ( ) are not executed until the conclusion of the script.

Answer: A

 

NEW QUESTION 54
What are two format distinctions to know when using YAML? (Choose two.)

  • A. tab indentation allowed
  • B. whit space indentation sensitive
  • C. tab indentation not allowed
  • D. white space indentation insensitive

Answer: C,D

 

NEW QUESTION 55
What are three ways for PyEZ to connect to supported Junos devices? (Choose three)

  • A. serial interface
  • B. JET API
  • C. Webhook
  • D. Telnet
  • E. NETCONF over SSH

Answer: A,D,E

 

NEW QUESTION 56
What are two attributes of the jsd JET service process? (Choose two)

  • A. It creates a separate thread to service JET application requests
  • B. It executes one API request per session
  • C. It executes APIs from multiple sessions in parallel
  • D. It supports only one client session at a time

Answer: A,C

Explanation:
Explanation
To support application interaction with Junos OS, the JETservice process (jsd), by default, uses TCP port
32767 to listen for and receive requests from applications to execute APIs. Whenever a request comes on the TCP port, jsd creates a separate thread to service the JET application request. The session remains established as long as the client and server are both up and able to communicate with each other. Over the lifetime of a session, jsd can execute many APIs, and it can execute APIs from multiple sessions in parallel. You can have a maximum of 8 active client sessions connected at any given time.
References:

 

NEW QUESTION 57
Click the Exhibit button.
Exhibit:

An automation developer is using command-line scripting and wants to briefly survey NETCONF capabilities before running a new task.
Referring to the exhibit, how does the automation developer end the current NETCONF session and go to the next one?

  • A. Use the <rpc><kill-session></kill-session></rpc> command.
  • B. Use the quit command
  • C. Use the logout command
  • D. Use the <rpc><close-session></close-session></rpc> command.

Answer: D

 

NEW QUESTION 58
A customer has a control machine with a default Ansible installation. During execution of an Ansible module against a Junos device, the Ansible control machine generates the

What is the cause for this error?

  • A. router1.example.com was not defined in /etc/hosts on the control machine.
  • B. router1.example.com was not defined in /etc/ansible/inventory/hosts on the control machine.
  • C. Ansible cannot connect to the device through NTETCONF
  • D. Ansible cannot authenticate to the device.

Answer: B

 

NEW QUESTION 59
You need to reset all Junson systems in your lab to their factory-default state and then push a new configuration to the device.
Which two Ansible modules would your playbook use to accomplish this task? (Choose two.)

  • A. Junos_zeroize
  • B. Junos_install_confi
  • C. Junos_get_facts
  • D. Junos_system_services

Answer: A

 

NEW QUESTION 60
By default, Python event scripts and SNMP script configured on a Junos device execute as which user ?

  • A. snmpd
  • B. nobody
  • C. wheel
  • D. root

Answer: B

 

NEW QUESTION 61
......

JN0-421 Premium Files Practice Valid Exam Dumps Question: https://www.dumpstests.com/JN0-421-latest-test-dumps.html

Get 100% Real JN0-421 Accurate & Verified Answers As Seen in the Real Exam!: https://drive.google.com/open?id=1Pl7KsJ6j7cuTmwvGUkkIBYGhCqyS4RXM