A list can contain dictionaries. A dictionary makes sense to store key and value pairs, but each key and value pair is useless without the context of related key/value pairs. A list will accomplish this by grouping each key/value pair into individual list entries.
dictionaries are the most suitable data structure for storing firewall rules in a Python script, as they allow for easy association of configuration parameters with their respective values.
If you’re managing multiple firewall rules, use a list of dictionaries.
If you’re managing a single firewall rule, use a dictionary.
upvoted 2 times
...
...
This section is not available anymore. Please use the main Exam Page.PT0-002 Exam Questions
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
e21089f
3Â months, 1Â week agoPTA
5Â months, 1Â week agoNikamy
5Â months, 2Â weeks agoSecEngi
6Â months, 2Â weeks agozemijan
4Â months, 2Â weeks ago