Juniper Automation and DevOps, Associate (JNCIA-DevOps) - JN0-221 Exam Practice Test

Question 1
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?

Correct Answer: B
Question 2
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?

Correct Answer: C
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?

Correct Answer: C
Question 4
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?

Correct Answer: D
Question 5
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?

Correct Answer: A
Question 6
Which Python code block is an example of a context manager?

Correct Answer: B
Question 7
Exhibit.

Referring to the exhibit, which statement is correct?

Correct Answer: C
Question 8
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?

Correct Answer: C
Question 9
Exhibit

Referring to the exhibit, what will be two results of this playbook before saving it to a file? (Choose two.)

Correct Answer: A,B
Question 10
Exhibit.

You need to translate the configuration shown in the exhibit into a PyEZ RPC call.
Which line shows the proper PyEZ syntax?

Correct Answer: A