JN0-222 Exam Questions
99 real JN0-222 exam questions with expert-verified answers and explanations. Page 2 of 2.
- Question #53
What will determine which data serialization format is used for interfacing with a system?
- Question #54
Which two statements about Ansible are correct? (Choose two.)
- Question #55
Why is a REST API considered stateless?
- Question #56
Exhibit. You have the configuration shown in the exhibit, but are unable to access the REST API Explorer. Which configuration is necessary to solve this problem?
- Question #57
Exhibit. Referring to the exhibit, which two statements about the script are correct? (Choose two.)
- Question #58NETCONF and RESTCONF
What is the default port for NETCONF connections over SSH?
NETCONFSSHport 830protocol - Question #59
Which two programing languages would be used for on-box scripting with Junos devices? (Choose two.)
- Question #60NETCONF and RESTCONF
Which HTTP status code indicates a response to a successful request?
HTTPstatus codesREST200 OK - Question #61
Your organization is developing an application to automate management of Junos network appliances. You want to use the existing PyEZ libraries to improve the development process. W...
- Question #62
Exhibit. Referring to the exhibit, which XPath statement would retrieve the commit-user attribute in the candidate configuration?
- Question #63
Which statement is correct about Ansible playbooks?
- Question #64
Which development model is the classic approach to software development?
- Question #65
You are asked to gather interface information from a Junos device. Your environment supports the JSON format. To determine how interface information is represented, you decide to v...
- Question #66
Which Python operator tests two variables to see if they contain the same value?
- Question #67NETCONF and RESTCONF
What is the advantage of using the REST API?
REST APIJunosmanagementintegration - Question #68
Exhibit. Which type of file is shown in the exhibit?
- Question #70XML and JSON
Exhibit. Referring to the exhibit, this snippet of code would represent which type of data?
JSONdata structuresJSON objectJSON array - Question #71
Exhibit. Referring to the exhibit, which statement about the Ansible Playbook is correct?
- Question #72
Exhibit. Referring to the exhibit, which two code blocks are an equivalent representation in JSON? (Choose two.)
- Question #73
What are two popular methods of data serialization? (Choose two.)
- Question #74XML and JSON
Which statement about element nodes is correct?
XMLelement nodesroot elementXML structure - Question #75
Which two statements about DevOps are correct? (Choose two.)
- Question #76
Which statement is correct about Infrastructure as Code (IaC)?
- Question #77
Which two Python packages use NETCONF to interact with Junos devices? (Choose two.)
- Question #78Python
Which Python code block is an example of a context manager?
Pythoncontext managerwith statementPyEZ - Question #79
Which two processes does Junos automation use? (Choose two.)
- Question #80
What are two examples of XPath axes? (Choose two.)
- Question #81
Which type of data is contained in the key of the JSON object shown in the exhibit?
- Question #82Automation Overview
According to the Manifesto for Agile Software Development, what is the highest priority?
AgileDevOpsmanifestocustomer satisfaction - Question #83
Which Ansible Playbook play parameter will prevent the system from copying the playbook to the Junos devices?
- Question #84Python
Exhibit Referring to the exhibit, what is the output from the print(x) line?
Pythonlist slicingindexingdata types - Question #85
Which Ansible module would be used to obtain basic information about a Junos device?
- Question #86
Which two statements about Ansible are correct? (Choose two.)
- Question #87Python
Exhibit. You need to translate the configuration shown in the exhibit into a PyEZ RPC call. Which line shows the proper PyEZ syntax?
PyEZRPCmethod namingPython - Question #88
What are three elements of Infrastructure as Code (IaC)? (Choose three.)
- Question #89
Exhibit. Referring to the exhibit, what is the function of the register key?
- Question #90
Which API does the Junos CLI use to modify the configuration database?
- Question #91
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...
- Question #92Ansible
Exhibit. Referring to the exhibit, which statement is correct?
AnsibleRPCJunos modulesoutput handling - Question #93
Which statement about using Ansible with a Junos device is correct?
- Question #94YANG, NETCONF, and RESTCONF
Given the <name> username </name> XML code, what is the information between the opening and closing tags called?
XMLelement nodeNETCONF data encodingmarkup structure - Question #95
Which two tools should be used to test REST APIs? (Choose two.)
- Question #96
Which two statements about Junos PyEZ RPC(s) are correct? (Choose two.)
- Question #97
What is the purpose of an XSD file?
- Question #98
What are two components of the Waterfall model of software development? (Choose two.)
- Question #99YANG, NETCONF, and RESTCONF
Which Junos system process handles NETCONF automation commands?
NETCONFmgdJunos system processesautomation daemon - Question #100YANG, NETCONF, and RESTCONF
Which character is used to separate multiple parameters in a single REST API call?
RESTCONFREST APIquery stringHTTP parameters - Question #102
Exhibit. Referring to the exhibit, which XML XPath expression will only show the IP address XML elements?
- Question #103
You are using the curl tool to include multiple RPCs in a REST API request. Which HTTP method must be used for this request?