Juniper JN0-221 Practice Verified Answers - Pass Your Exams For Sure! [2021]
Valid Way To Pass Automation and DevOps's JN0-221 Exam
NEW QUESTION 50
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. PyEZ
- B. NETCONF
- C. RPC on Demand
- D. REST API Explorer
Answer: D
NEW QUESTION 51
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?
- A. {"title": "The \n"Big\n" Router"}
- B. {"title": ""The "Big" Router""}
- C. {"title": "The "'Big'" Router"}
- D. {"title": "The \"Big\" Router"}
Answer: D
NEW QUESTION 52
Junos PyEZ is a microframework used to operate the Junos OS using which language?
- A. Python
- B. Ruby
- C. Chef
- D. Puppet
Answer: A
Explanation:
Explanation/Reference: https://www.juniper.net/documentation/en_US/junos-pyez/topics/concept/junos-pyez- overview.html#:~:text=Junos%20PyEZ%20is%20a%20microframework,operating%20system%20(Junos%
20OS).
NEW QUESTION 53
Referring to the exhibit.
which two statements are correct? (Choose two.)
- A. The configuration will be retrieved in JSON format.
- B. The retrieved configuration will be from the Junos active configuration.
- C. The configuration will be retrieved in XML format.
- D. The retrieved configuration will be from the Junos candidate configuration.
Answer: B,D
NEW QUESTION 54
Exhibit.
You need to translate the configuration shown in the exhibit into a PyEZ RPC call.
Which line shows the proper PyEZ syntax?
- A. dev.rpc.get_route_information:table="inet.0"
- B. dev.rpc.get-route-information(table="inet.0")
- C. dev.rpc.get-route-information:table="inet.0"
- D. dev.rpc.get_route_information(table="inet.0")
Answer: D
NEW QUESTION 55
Exhibit.
Referring to the exhibit, which two statements are correct? (Choose two)
- A. The connection to the Junos device is explicitly opened and closed
- B. The Junos configuration database is explicitly locked and unlocked
- C. The connection to the Junos device is automatically opened and closed
- D. The Junos configuration database is automatically locked and unlocked.
Answer: B,D
NEW QUESTION 56
Exhibit.
Referring to the exhibit, which two statements about the script arc correct? (Choose two.)
- A. The script retrieves the interface configuration in XML
- B. The script retrieves the interface configuration in JSON.
- C. The script prints interface information for each interface name.
- D. The script prints the name of each configured interface.
Answer: A,D
NEW QUESTION 57
Which two statements are correct about Junos PyEZ Tables and Views? (Choose two.)
- A. The juniper_junos_configmodule enables the use of PyEZ Tables and Views
- B. PyEZ Tables and Views are defined using YAML
- C. The juniper_junos_tablemodule enables the use of PyEZ Tables and Views
- D. PyEZ Tables and Views are defined using CSV
Answer: B,C
Explanation:
Explanation/Reference: https://www.juniper.net/documentation/en_US/junos-ansible/topics/topic-map/junos-ansible- data-retrieving-using-junos-pyez-tables.html
NEW QUESTION 58
Click the Exhibit button.
>>> print(hardware_count)
{'MX960':10, 'SRX300': 22, 'QFX5100': 4}
Referring to the exhibit, what is the correct method to retrieve the value associated only with "MX960"?
- A. hardware_count.keys()
- B. hardware_count["MX960"]
- C. hardware_count.values()
- D. hardware_count[0]
Answer: A
NEW QUESTION 59
As part of an application to manage network devices, you must query hundreds of network devices and return the unique set of IP prefixes by configured firewall filters. To accomplish this task you will require a mutable data type that contains unordered, unique elements.
Which Python data type will fulfill these requirements?
- A. tuples
- B. sets
- C. lists
- D. dictionaries
Answer: B
NEW QUESTION 60
Which XML shorthand notation is used when no data exists between tags?
- A. </data/>
- B. <data+>
- C. <data>
- D. <data>
Answer: D
NEW QUESTION 61
Exhibit.
Which command will solve the problem......
- A. pip install Juniper, junos..
- B. ansible-galaxy install ..
- C. pip install-eznc..
- D. ansible-galaxy install..
Answer: B
NEW QUESTION 62
Which Junos system process handles NETCONF automation commands?
- A. jsd
- B. snmpd
- C. eventd
- D. mgd
Answer: C,D
Explanation:
Explanation/Reference: https://www.oreilly.com/library/view/automating-junos-administration/9781491928875/ch01.html
NEW QUESTION 63
Exhibit.
Referring to the exhibit, which statement about the Ansible Playbook is correct?
- A. The Ansible Playbook execution will fail
- B. The Ansible Playbook will report a syntax error
- C. The Ansible Playbook will prompt for credentials
- D. The Ansible Playbook will execute successfully
Answer: C
NEW QUESTION 64
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. THRIFT
- D. NETCONF
Answer: D
NEW QUESTION 65
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. Which API would satisfy this requirement?
- A. XML API
- B. JETAPI
- C. REST API
- D. RPC API
Answer: C
NEW QUESTION 66
What is the purpose of an XSD file?
- A. to define the shortcuts that can be used in an XML document
- B. to define the allowed elements and hierarchy of an XML document
- C. to define the scripting language of an XML document
- D. to define the security and access permissions for an XML document
Answer: B
Explanation:
Explanation/Reference: https://www.proficomms.cz/files/datasheets/Juniper/junosos.pdf (p.4)
NEW QUESTION 67
What are two popular methods of data serialization? (Choose two.)
- A. YAML
- B. Python
- C. JSON
- D. SLAX
Answer: A,B
NEW QUESTION 68
Exhibit.
What is the purpose of the G character shown in the exhibit?
- A. The G sign is a JSON object that holds XML elements from the Junos configuration segment.
- B. The e sign is a JSON array that holds XML elements from the Junos configuration segment.
- C. The 0 sign is a JSON object that holds XML attributes from the Junos configuration segment.
- D. The 0 sign is a JSON array that holds Xf.1L attributes from the Junos configuration segment.
Answer: D
NEW QUESTION 69
Given the <name> username </name>XML code, what is the information between the opening and closing tags called?
- A. element node
- B. data node
- C. name node
- D. text node
Answer: A
Explanation:
Explanation/Reference: https://www.juniper.net/documentation/en_US/junos/topics/concept/junos-script-automation- xml-overview.html
NEW QUESTION 70
Exhibit.
Which command produces the output shown in the exhibit?
- A. user@router> show version | display xml rpc
- B. user@router# show version I display xzil
- C. user@router> show version I display json
- D. user@router> show version I display xml
Answer: A
NEW QUESTION 71
Which development model is the classic approach to software development?
- A. Waterfall
- B. Lean
- C. Kanban
- D. Scrum
Answer: A
NEW QUESTION 72
......
Juniper JN0-221 Pre-Exam Practice Tests | ActualVCE: https://www.actualvce.com/Juniper/JN0-221-valid-vce-dumps.html