JN0-222 Exam Questions
99 real JN0-222 exam questions with expert-verified answers and explanations. Page 1 of 2.
- Question #1
Which statement is correct about YAML?
- Question #2
What is the outcome of the Python a = b operator?
- Question #3
Exhibit. You are asked to create a block of code containing a list of desserts. What would you do to correct the YAML block shown in the exhibit?
- Question #4
Which two statements about Python lists are correct? (Choose two.)
- Question #5
Which set of DevOps CAUMS values is correct?
- Question #6
Which character is used to show the start of parameters in a REST API call?
- Question #7
What are two values of the Agile model of software development? (Choose two.)
- Question #8
Exhibit. Referring to the exhibit, where would the junos. conf file be found?
- Question #9
In Phython, my_list = [ 1, 2, 3] is an example of which type of operation?
- Question #10
Which two statements regarding the DevOps methodology are correct? (Choose two.)
- Question #11
Which two statements about the Junos PyEZ configuration module are correct? (Choose two )
- Question #12
What is a valid JSON object?
- Question #13
Which Python code block is an example of an context manager? A) B) C) D)
- Question #14
Which statement is correct about the Junos XML API?
- Question #15
which two statements are correct? (Choose two.)
- Question #16
Exhibit. What is the purpose of the G character shown in the exhibit?
- Question #17
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 hel...
- Question #18
Exhibit. Referring to the exhibit, what is the correct method to retrieve the value associated only with ''MX960''?
- Question #19
Which two statements about Ansible are true? (Choose two.)
- Question #20
Ansible playbooks are written in which format?
- Question #21
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)
- Question #22
Exhibit. Which type of data maps to the position key shown in the exhibit?
- Question #24
You are creating a JSON data structure and must add a title called, The "Big" Router. In this scenario, which example will produce the desired results?
- Question #25
Which code format is a valid example of an HTTPS get-interface-information method using the default port?
- Question #26
Which two statements are correct about Junose PyEZ Tables and Views? (Choose two.)
- Question #27
In the PyEZ utils module, which class would be used to begin the software upgrade process on a Junos device?
- Question #28
Exhibit. Referring to the exhibit, which two statements are correct? (Choose two)
- Question #29
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...
- Question #30
What are two data structures in JSON? (Choose two.)
- Question #31
As part of an application to manage network devices, you must query hundreds of network devices require a mutable data type that contains unordered, unique elements. Which Python d...
- Question #32
Which two Junos processes handle automation on Junos devices? (Choose two.)
- Question #33
Exhibit. Which command produces the output shown in the exhibit?
- Question #34
Exhibit. Referring to the exhibit, which two statements are correct? (Choose two.)
- Question #35
PyEX supports which three connection methods? (Choose three.)
- Question #36
Exhibit Referring to the exhibit, what will be two results of this playbook before saving it to a file? (Choose two.)
- Question #37
Exhibit. What is the function of the . // syntax in the code shown in the exhibit?
- Question #38
What are two examples of XPath operators? (Choose two.) A.
- Question #39
Exhibit. Referring to the exhibit, which statement about the Ansible host file is correct?
- Question #40
An Ansible playbook executes which type of module?
- Question #41
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 t...
- Question #42
Which XML feature is used to ensure that elements defined in multiple schemas would be used in the same document without conflicts?
- Question #43
Which XML shorthand notation is used when no data exists between tags?
- Question #44
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...
- Question #45
Exhibit. Referring to the exhibit, which two statements are correct? (Choose two )
- Question #47
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...
- Question #48
Exhibit. Which command will solve the problem......
- Question #49
Which feature is used in XML to ensure that all attributes and elements have unique names?
- Question #50
Exhibit. Referring to the exhibit, which statement about REST is correct?
- Question #51
What is an example of correct XML syntax?
- Question #52
You want to perform a dry run on the myPlays playbook and use a custom inventory file called myRouters.ini. Which Ansible command would you use in this scenario?