Implementing Cisco Enterprise Network Core Technologies (350-401 ENCOR) Exam Materials - Question #481 Discussion

Comment Image Comment Image Comment Image
Question Diagram

Refer to the exhibit. Which line of code completes the code snippet and extracts the IP address value? (Choose one answer)

  • A. dictionary["interface"]["ipv4"]["address"]["0"]["ip"]
  • B. dictionary["interface"]["ipv4"]["address"]["ip"]
  • C. dictionary["interface"]["address"]["1"]["ip"]
  • D. dictionary["ipv4"]["address"]["ip"]
Correct Answer: A

Brave-Dump Community Votes

Answer: A (1 vote) 100%

Community Explanations & Comments (1)

Anonymous User 1 month ago
Selected: A
There is a type in option A. it should be [0] not ["0"] because it is a list index not a dictionary key.