<< Prev Question Next Question >>

Question 14/35

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?

Recent Comments (The most recent comments are at the top.)

Nilu - Dec 23, 2021

Sets are a mutable collection of distinct (unique) immutable values that are unordered.

Lists and tuples are standard Python data types that store values in a sequence. Sets are another standard Python data type that also store values. The major difference is that sets, unlike lists or tuples, cannot have multiple occurrences of the same element and store unordered values.
Tuples are immutable datatypes.

LEAVE A REPLY

Your email address will not be published. Required fields are marked *

Question List (35q)
Question 1: Which statement about using Ansible with a Junos device is c...
Question 2: Exhibit. (Exhibit) What is the function of the . // syntax i...
Question 3: Ansible playbooks are written in which format?...
Question 4: Which statement is correct about Infrastructure as Code (IaC...
Question 5: Your organization is developing an application to automate m...
Question 6: Which API does the Junos CLI use to modify the configuration...
1 commentQuestion 7: Which feature is used in XML to ensure that all attributes a...
1 commentQuestion 8: You are a programmer currently developing code on a Linux de...
1 commentQuestion 9: Which type of data is contained in the key of the JSON objec...
1 commentQuestion 10: What will determine which data serialization format is used ...
Question 11: Which two tools should be used to test REST APIs? (Choose tw...
1 commentQuestion 12: In Phython, my_list = [ 1, 2, 3] is an example of which type...
Question 13: What are two examples of XPath operators? (Choose two.)...
1 commentQuestion 14: As part of an application to manage network devices, you mus...
Question 15: While conducting an automation test, you must issue a comman...
Question 16: In the PyEZ utils module, which class would be used to begin...
Question 17: What is a valid JSON object?
Question 18: What are two components of the Waterfall model of software d...
1 commentQuestion 19: What are two popular methods of data serialization? (Choose ...
Question 20: Referring to the exhibit. (Exhibit) which two statements are...
1 commentQuestion 21: Which two Junos processes handle automation on Junos devices...
1 commentQuestion 22: Which Python code block is an example of an context manager?...
Question 23: Which two processes does Junos automation use? (Choose two.)...
Question 24: Which two statements about DevOps are correct? (Choose two.)...
Question 25: Exhibit. (Exhibit) Which command produces the output shown i...
Question 26: You want to perform a dry run on the myPlays playbook and us...
Question 27: What are two examples of XPath axes? (Choose two.)...
Question 28: Which development model is the classic approach to software ...
Question 29: Which two statements about the Junos PyEZ configuration modu...
Question 30: Exhibit. (Exhibit) Referring to the exhibit, what is the fun...
1 commentQuestion 31: Which set of DevOps CAUMS values is correct?...
Question 32: An Ansible playbook executes which type of module?...
1 commentQuestion 33: Exhibit. (Exhibit) Referring to the exhibit, which two state...
Question 34: Exhibit. (Exhibit) You are asked to create a block of code c...
Question 35: Exhibit. (Exhibit) You have the configuration shown in the e...