JN0-221 Practice Exam Tests Latest Updated on Sep-2021
Pass JN0-221 Exam in First Attempt Guaranteed Dumps!
NEW QUESTION 46
Which statement is correct about YAML?
- A. YAML strings must have quotation marks.
- B. YAML is not case-sensitive.
- C. YAML uses spaces for indentation
- D. YAML files must start
Answer: C
NEW QUESTION 47
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. host-name/root-authentication/encrypted-password
- B. encrypted-password
- C. configuration/version/system/host-name/root-authentication/encrypted-password
- D. root-authentication/encrypted-password
Answer: C
NEW QUESTION 48
Click the Exhibit button.
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 49
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 50
Which two tools should be used to test REST APIs? (Choose two.)
- A. curl
- B. Chef
- C. Postman
- D. Puppet
Answer: A,C
NEW QUESTION 51
Referring to the exhibit.
which two statements are correct? (Choose two.)
- A. The configuration will be retrieved in JSON format.
- B. The configuration will be retrieved in XML format.
- C. The retrieved configuration will be from the Junos candidate configuration.
- D. The retrieved configuration will be from the Junos active configuration.
Answer: A,C
NEW QUESTION 52
Which statement is correct about the Junos XML API?
- A. The API uses NETCONF for off-box automation.
- B. The API is only executed when a configuration is committed
- C. The API only works for on-box automation tools.
- D. The API uses HTTPS for securing off-box automation.
Answer: A
NEW QUESTION 53
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 54
What is the advantage of using the REST API?
- A. The REST API is enabled by default on all Junos devices
- B. The REST API enables Junos devices to participate in other REST management system environments
- C. By default, the REST API retrieves data from a Junos device in HTML format
- D. By default, the REST API retrieves data from a Junos device in CSV format
Answer: D
NEW QUESTION 55
Exhibit.
What is the function of the . // syntax in the code shown in the exhibit?
- A. to perform the return function
- B. to format the output as rich text
- C. to return a tree of data from the text
- D. to perform a recursive search at all levels
Answer: D
NEW QUESTION 56
Which two statements about Ansible are true? (Choose two.)
- A. By default, Ansible playbooks are executed locally
- B. Ansible uses an agentless architecture
- C. Ansible modules only execute a change if required
- D. By default, Ansible core modules use NETCONF to connect to the remote host
Answer: B,D
Explanation:
Explanation/Reference:
Reference: https://www.juniper.net/documentation/en_US/junos-ansible/topics/concept/junos-ansible- overview.html#:~:text=Ansible%20uses%20an%20agentless%20architecture,software%20on%20the%
20managed%20nodes.&text=Thus%2C%20Ansible%20users%20can%20get,of%20Python%20to%20use
%20Ansible
NEW QUESTION 57
Exhibit.
Referring to the exhibit, which statement about REST is correct?
- A. The device is configured to allow HTTP connections on port 3030.
- B. The device is configured to allow only two simultaneous REST connections.
- C. The device is configured to allow HTTPS connections on port 3443.
- D. The device is configured to allow connections from the REST API Explorer
Answer: C
NEW QUESTION 58
In Phython, my_list = [ 1, 2, 3] is an example of which type of operation?
- A. Assignment
- B. comparison
- C. bitwise
- D. Membership
Answer: D
NEW QUESTION 59
Exhibit.
Referring to the exhibit, where would the junos. conf file be found?
- A. a directory located on R1
- B. a local directory on the Ansible control machine
- C. a directory on juniper__}uno3_conf
- D. a directory on the device list in inventory_hostname
Answer: B
NEW QUESTION 60
Exhibit.
Referring to the exhibit, which XPath statement would retrieve the commit-user attribute in the candidate configuration?
- A. configuration/junos: commit-user
- B. configuration/@ junos: commit-user
- C. configuration/commit-user
- D. configuration:@ junos: commit-user
Answer: D
Explanation:
Explanation
NEW QUESTION 61
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 RPC syntax is incorrect
- B. The Juniper device rejects the connection
- C. The Juniper device took too long to reply to the RPC call
- D. The Python script was not able to connect to the Juniper device
Answer: C
NEW QUESTION 62
Which two programing languages would be used for on-box scripting with Junos devices? (Choose two.)
- A. Python
- B. Ansible
- C. XSLT
- D. Puppet
Answer: A,C
NEW QUESTION 63
What are two components of the Waterfall model of software development? (Choose two.)
- A. a short interval of time between releases
- B. a small volume of code changes between releases
- C. a long interval of time between releases
- D. a large volume of code changes between releases
Answer: C,D
Explanation:
Explanation/Reference: https://resources.whitesourcesoftware.com/blog-whitesource/sdlc-software-development-life- cycle
NEW QUESTION 64
Exhibit.
Referring to the exhibit, where would the junos. conf file be found?
- A. a directory located on R1
- B. a local directory on the Ansible control machine
- C. a directory on juniper__}uno3_conf
- D. a directory on the device list in inventory_hostname
Answer: B
NEW QUESTION 65
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. sets
- B. tuples
- C. lists
- D. dictionaries
Answer: B
NEW QUESTION 66
Which statement about using Ansible with a Junos device is correct?
- A. An Ansible agent must be installed and running on the Junos device
- B. Ansible modules are executed on the control server
- C. An Ansible playbook is a set of tasks written in XML
- D. SFTP must be used to allow communication between the Ansible control server and the Junos device
Answer: A
NEW QUESTION 67
Junos PyEZ is a microframework used to operate the Junos OS using which language?
- A. Python
- B. Ruby
- C. Chef
- D. Puppet
Answer: A
NEW QUESTION 68
Exhibit.
Which command produces the output shown in the exhibit?
- A. user@router# show version I display xzil
- B. user@router> show version | display xml rpc
- C. user@router> show version I display json
- D. user@router> show version I display xml
Answer: D
NEW QUESTION 69
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 70
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 71
......
Automation and DevOps Free Certification Exam Material from Exams4sures with 105 Questions: https://www.exams4sures.com/Juniper/JN0-221-practice-exam-dumps.html