JN0-222 Dumps To Pass JNCIA-DevOps Exam in One Day (Updated 104 Questions) [Q38-Q60]

Share

JN0-222 Dumps To Pass JNCIA-DevOps Exam in One Day (Updated 104 Questions)

JN0-222 Exam Brain Dumps - Study Notes and Theory

NEW QUESTION 38
You are asked to develop a PyEZ application that will connect to multiple Junos devices using the XML API
and perform an asset inventory. Which standards-based protocol should you use to perform this

  • A. gRPC
  • B. MQTT
  • C. NETCONF
  • D. THRIFT

Answer: C

 

NEW QUESTION 39
What are two data structures in JSON? (Choose two.)

  • A. number
  • B. array
  • C. object
  • D. string

Answer: B,D

 

NEW QUESTION 40
Exhibit.

Which type of data maps to the position key shown in the exhibit?

  • A. Boolean
  • B. position
  • C. string
  • D. integer

Answer: B

 

NEW QUESTION 41
Which two processes does Junos automation use? (Choose two.)

  • A. mgd
  • B. jsd
  • C. dcd
  • D. chassisd

Answer: A,B

 

NEW QUESTION 42
Exhibit

Referring to the exhibit, what is the output from the print(x) line?

  • A. ['b', 'c', 'd']
  • B. ['a', 'b']
  • C. ['b', 'c']
  • D. ['a', 'b', 'c']

Answer: D

 

NEW QUESTION 43
Prior to creating a Junos automation script, you want to understand the output format of a new isolated RPC calls to use in the script.
What is the provided on Junos devices to help accomplish this task?

  • A. REST API Explorer
  • B. RPC on Demand
  • C. PyEZ
  • D. NETCONF

Answer: A

 

NEW QUESTION 44
What are two components of the Waterfall model of software development? (Choose two.)

  • A. a small volume of code changes between releases
  • B. a long interval of time between releases
  • C. a large volume of code changes between releases
  • D. a short interval of time between releases

Answer: B,C

 

NEW QUESTION 45
Exhibit.

Referring to the exhibit, which two statements about the script arc correct? (Choose two.)

  • A. The script prints the name of each configured interface.
  • B. The script retrieves the interface configuration in JSON.
  • C. The script retrieves the interface configuration in XML
  • D. The script prints interface information for each interface name.

Answer: A,C

 

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

  • A. while True: device - Device(host-"vmx-1", user-"lab", passwd-"lab123")...
  • B. try: device - Device(host-"vmx-1", user-"lab", passwd-"lab123")... except: print("Unable to connect to the vMX1")
  • C. with Device(host="vmx-1", user="lab", passwd="lab123") as device:...
  • D. for host in ["vmx-1", "vmx-2"]: device - Device(host-host, user-"lab", passwd-"lab123")...

Answer: B

 

NEW QUESTION 47
What is the purpose of an XSD file?

  • A. to define the scripting language of an XML document
  • B. to define the security and access permissions for an XML document
  • C. to define the shortcuts that can be used in an XML document
  • D. to define the allowed elements and hierarchy of an XML document

Answer: D

 

NEW QUESTION 48
Exhibit.

Referring to the exhibit, which XML XPath expression will only show the IP address XML elements?

  • A. //address/name
  • B. /address/name
  • C. /name
  • D. //name

Answer: A

Explanation:
Explanation
https://www.w3schools.com/xml/xpath_syntax.asp

 

NEW QUESTION 49
Prior to creating a Junos automation script, you want to understand the output format of a new isolated RPC
calls to use in the script.
What is the provided on Junos devices to help accomplish this task?

  • A. REST API Explorer
  • B. RPC on Demand
  • C. PyEZ
  • D. NETCONF

Answer: A

 

NEW QUESTION 50
You need an Ansible Playbook to log in to multiple devices with different login credentials. For compliance purposes, you are not allowed to prompt the user for the credentials or allow the credentials be stored in planted on the control machine for each device.
Which two actions will fulfill this task? (Choose two.)

  • A. Define the credentials as variables in the host's file
  • B. Define the generated SSH keys to use in the playbook on the devices.
  • C. Define the credentials in a vaulted file.
  • D. Define the credentials as variables in the playbook.

Answer: B,C

 

NEW QUESTION 51
Exhibit.

Referring to the exhibit, where would the junos. conf file be found?

  • A. a directory on juniper__}uno3_conf
  • B. a directory located on R1
  • C. a local directory on the Ansible control machine
  • D. a directory on the device list in inventory_hostname

Answer: C

 

NEW QUESTION 52
Which Ansible Playbook play parameter will prevent the system from copying the playbook to the Junos devices?

  • A. gather_facts
  • B. environment
  • C. connection
  • D. serial

Answer: C

 

NEW QUESTION 53
Ansible playbooks are written in which format?

  • A. YAML
  • B. XML
  • C. JSON
  • D. Python

Answer: C

 

NEW QUESTION 54
Which statement about using Ansible with a Junos device is correct?

  • A. An Ansible playbook is a set of tasks written in XML
  • B. SFTP must be used to allow communication between the Ansible control server and the Junos device
  • C. Ansible modules are executed on the control server
  • D. An Ansible agent must be installed and running on the Junos device

Answer: D

 

NEW QUESTION 55
Exhibit.

In the XML output shown in the exhibit. what is the full XPath for the IP address of the interface?
A)

B)

C)

D)

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

Answer: A

 

NEW QUESTION 56
What is the outcome of the Python a = b operator?

  • A. The variable are compared to determine if they have different data types.
  • B. The variables will be added together
  • C. The variables are compared to determine if they have the same value.
  • D. The variables will be subtracted from each other.

Answer: C

 

NEW QUESTION 57
While conducting an automation test, you must issue a command using the curl tool to request the text
formatted output from the show interfaces ge-0/0/0 terse command.
In this scenario, which command would you use?

  • A. curl ""u "lab:lab123" "http://10.210.10.155:3000/rpc/get-interface-information@format=text
    &interface-name=ge-0/0/0? terse="
  • B. curl ""u "lab:lab123" "
    http://10.210.10.155:3000/rpc/get-interface-information@format=text?interface-name=ge-
    0/0/0
    &terse="
  • C. curl ""u "lab:lab123" "
    http://10.210.10.155:3000/rpc/get-interface-information@interface-name=ge-0/0/0?terse="
  • D. curl ""u "lab:lab123" "http://10.210.10.155:3000/rpc/get-interface-information
    &format=text&interface-name=ge- 0/0/0&terse="

Answer: B

 

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

  • A. numpy
  • B. jsnapy
  • C. pyyaml
  • D. junos-eznc

Answer: B,D

 

NEW QUESTION 59
Exhibit.

Referring to the exhibit, which two statements about the script are correct? (Choose two.)

  • A. The script prints the name of each configured interface.
  • B. The script retrieves the interface configuration in XML
  • C. The script retrieves the interface configuration in JSON.
  • D. The script prints interface information for each interface name.

Answer: A,C

 

NEW QUESTION 60
......


Juniper JN0-222 Exam Certification Details:

Exam CodeJN0-222 JNCIA-DevOps
Number of Questions65
Exam NameAutomation and DevOps Associate
Passing ScorePass / Fail (60-70% Approx.)
Recommended TrainingIntroduction to Junos Platform Automation and DevOps (IJAUT)
Duration90 minutes
Exam Price$200 USD
Exam RegistrationPEARSON VUE

 

JN0-222 Dumps PDF - Want To Pass JN0-222 Fast: https://prep4sure.examtorrent.com/JN0-222-exam-papers.html