Latest Juniper JN0-222 PDF and Dumps (2023) Free Exam Questions Answers
Pass Your JNCIA-DevOps JN0-222 Exam on May 10, 2023 with 104 Questions
NEW QUESTION 12
Which two statements about Ansible are correct? (Choose two.)
- A. Ansible can use a single playbook to configure devices from multiple vendors.
- B. Ansible requires a license to unlock full functionality.
- C. Ansible is an open source project.
- D. Ansible modules must be written in Go.
Answer: A,C
NEW QUESTION 13
Exhibit.
Referring to the exhibit, which two statements are correct? (Choose two.)
- A. The module in the first task in maintained by Ansible.
- B. The Ansible play in the exhibit outputs but does not modify the device hostname.
- C. The Ansible play in the exhibit modifies and outputs the device hostname.
- D. The module in the first task is maintained by Juniper.
Answer: B,D
NEW QUESTION 14
You are a programmer currently developing code on a Linux device. You want to start the Python interactive interpreter (shell) from the command prompt.
Which command must be used to accomplish this task?
- A. bash$ pip
- B. bash$ sh
- C. bash$ ./_init_.py
- D. bash$ python
Answer: C
NEW QUESTION 15
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 C
- B. Option D
- C. Option B
- D. Option A
Answer: B
NEW QUESTION 16
Exhibit Referring to the exhibit, what will be two results of this playbook before saving it to a file? (Choose two.)
- A. to include only the system/services
- B. to retrieve the candidate configuration
- C. retrieve the committed configuration
- D. to include everything but the system/services
Answer: A,C
NEW QUESTION 17
Exhibit.
Referring to the exhibit, what is the correct method to retrieve the value associated only with ''MX960''?
- A. harware_count [''MX960'']
- B. hardware_count.keys ()
- C. hardware_count (0)
- D. hardware_count. value ()
Answer: B
NEW QUESTION 18
You are asked to write an automation script using Python. When you execute the script, you notice that your code sends an RpcTimeoutError error.
In this scenario, what would be the reason for this error?
- A. The Python script was not able to connect to the Juniper device
- B. The Juniper device took too long to reply to the RPC call
- C. The RPC syntax is incorrect
- D. The Juniper device rejects the connection
Answer: B
NEW QUESTION 19
You are asked to write an automation script using Python. When you execute the script, you notice that your
code sends an RpcTimeoutError error.
In this scenario, what would be the reason for this error?
- A. The Python script was not able to connect to the Juniper device
- B. The Juniper device took too long to reply to the RPC call
- C. The RPC syntax is incorrect
- D. The Juniper device rejects the connection
Answer: B
NEW QUESTION 20
Which statement is correct about YAML?
- A. YAML is not case-sensitive.
- B. YAML files must start
- C. YAML strings must have quotation marks.
- D. YAML uses spaces for indentation
Answer: D
NEW QUESTION 21
Exhibit.
Referring to the exhibit, which two statements about the script arc correct? (Choose two.)
- A. The script retrieves the interface configuration in JSON.
- B. The script retrieves the interface configuration in XML
- C. The script prints interface information for each interface name.
- D. The script prints the name of each configured interface.
Answer: B,D
NEW QUESTION 22
What is the default port for NETCONF connections over SSH?
- A. 0
- B. 1
- C. 2
- D. 3
Answer: C
Explanation:
Explanation
https://www.juniper.net/documentation/us/en/software/junos/netconf/topics/topic-map/netconf-ssh-connection.ht
The IANA-assigned port for NETCONF-over-SSH sessions is 830.
NEW QUESTION 23
Which two statements regarding the DevOps methodology are correct? (Choose two.)
- A. A goal is to make development, test, and production environments as identical as possible
- B. Feedback should be analyzed at each stage of the process.
- C. Code changes should be few and manually tested.
- D. Communication between people should be minimized during the process as much as possible
Answer: A,B
NEW QUESTION 24
Exhibit.
You are making alternations to an existing script to retrieve the encrypted root password from the Junos device shown in the exhibit. You decide to add this request to the script after the script has navigated to the configuration/system hierarchy.
In this scenario, which XPath reference should be used to accomplish this task
- A. encrypted-password
- B. root-authentication/encrypted-password
- C. host-name/root-authentication/encrypted-password
- D. configuration/version/system/host-name/root-authentication/encrypted-password
Answer: D
NEW QUESTION 25
Which two statements about the Junos PyEZ configuration module are correct? (Choose two )
- A. PyEZ does not support performing an exclusive lock on the configuration database.
- B. The configuration module supports loading a rescue configuration
- C. The lock() method can be used to lock the configuration database.
- D. The configuration module does not support loading a rescue configuration
Answer: B,C
NEW QUESTION 26
What are two examples of XPath operators? (Choose two.)
- A. AND
- B. IS
- C. @
- D.
Answer: C,D
NEW QUESTION 27
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 in a vaulted file.
- B. Define the credentials as variables in the playbook.
- C. Define the generated SSH keys to use in the playbook on the devices.
- D. Define the credentials as variables in the host's file
Answer: A,C
NEW QUESTION 28
Exhibit.
Referring to the exhibit, which two code blocks are an equivalent representation in JSON? (Choose two.)
- A.

- B. {"Routers":["r1","r2"],"Switches":[{"s1":[{"interface":"ge-0/0/0.0"}]}]}
- C. {"routers":["r1","r2"],"switches":[{"s1":[{"interface":"ge-0/0/0.0"}]}]}
- D.

Answer: C,D
NEW QUESTION 29
Which two statements about DevOps are correct? (Choose two.)
- A. DevOps is a methodology that ensures that collaboration does not occur across organizational
boundaries - B. DevOps is a methodology that allows for frequent, quick modifications
- C. DevOps is a methodology used to develop software or systems
- D. DevOps is a methodology that is limited to small codebase development
Answer: B,C
NEW QUESTION 30
What will determine which data serialization format is used for interfacing with a system?
- A. the system's API
- B. IDE specifications
- C. the operating system
- D. programming language version
Answer: D
NEW QUESTION 31
Which two processes does Junos automation use? (Choose two.)
- A. dcd
- B. jsd
- C. chassisd
- D. mgd
Answer: B,D
NEW QUESTION 32
You are a programmer currently developing code on a Linux device. You want to start the Python interactive
interpreter (shell) from the command prompt. Which command must be used to accomplish this task?
- A. bash$ pip
- B. bash$ sh
- C. bash$ ./_init_.py
- D. bash$ python
Answer: C
NEW QUESTION 33
......
JN0-222 Dumps for JNCIA-DevOps Certified Exam Questions and Answer: https://www.examtorrent.com/JN0-222-valid-vce-dumps.html
JN0-222 Free Exam Study Guide! (Updated 104 Questions): https://drive.google.com/open?id=1peGmRzdiyNwo4ZobrQrIfgYl4T_lDJZu
