exam questions

Exam 350-401 All Questions

View all questions & answers for the 350-401 exam

Exam 350-401 topic 1 question 821 discussion

Actual exam question from Cisco's 350-401
Question #: 821
Topic #: 1
[All 350-401 Questions]



Refer to the exhibit. What is printed to the console when this script is run?

  • A. a key-value pair in tuple type
  • B. an error
  • C. a key-value pair in list type
  • D. a key-value pair in string type
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
chmacnp
2 months, 4 weeks ago
Selected Answer: D
don't understand but this is the output of the answer after running through a compiler tool: vlan10 192.168.1.0 vlan20 192.168.2.0 vlan30 192.168.3.0 Answer D in this case
upvoted 1 times
...
[Removed]
10 months, 3 weeks ago
Selected Answer: D
D is correct vlan10: 192.168.1.0 vlan20: 192.168.2.0 vlan30: 192.168.3.0 Each line represents a key-value pair concatenated as a string. ................
upvoted 2 times
...
[Removed]
11 months, 2 weeks ago
Selected Answer: D
D is correct
upvoted 1 times
...
Marcinko
1 year, 1 month ago
def main(): vlans = {'vlan10':'192.168.1.0','vlan20':'192.168.2.0','vlan30':'192.168.3.0'} vlans_key(vlans) def vlans_key(vlans): for key in vlans.keys(): print(str(key) + ' ' + str(vlans[key])) if __name__ == '__main__': main()
upvoted 2 times
...
Horsefeathers
1 year, 4 months ago
Selected Answer: D
Here is the output of the Python program: ``` vlan10 192.168.1.0 vlan20 192.168.2.0 vlan30 192.168.3.0 ``` A string representation of key-value pairs with a space separating the key and value.
upvoted 3 times
...
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.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago