nerdexam
Cisco

350-401 · Question #60

Which exhibit displays a valid JSON file? A. B. C. D.

The correct answer is D. { "hostname": "edge_router_1", "interfaces": [ "GigabitEthernet1/1", "GigabitEthernet1/2", "GigabitEthernet1/3" ], }. Wait - the correct answer should actually be C, not D. Option C uses a proper JSON array (square brackets []) for the list of interfaces and has no trailing comma, making it fully valid JSON. Option D uses square brackets correctly but includes a trailing comma after the closing

Submitted by miguelv· Mar 6, 2026Network Programmability and Automation - Understanding data encoding formats (JSON) used in REST APIs and network automation tools (CCNA/CCNP Domain: Automation and Programmability)

Question

Which exhibit displays a valid JSON file? A. B. C. D.

Exhibits

350-401 question #60 exhibit 1
350-401 question #60 exhibit 2
350-401 question #60 exhibit 3
350-401 question #60 exhibit 4
350-401 question #60 exhibit 5
350-401 question #60 exhibit 6
350-401 question #60 exhibit 7
350-401 question #60 exhibit 8

Options

  • A{ "hostname": "edge_router_1", "interfaces": { "GigabitEthernet1/1", "GigabitEthernet1/2", "GigabitEthernet1/3" } }
  • B{ "hostname": "edge_router_1", "interfaces": { "GigabitEthernet1/1", "GigabitEthernet1/2", "GigabitEthernet1/3" }, }
  • C{ "hostname": "edge_router_1", "interfaces": [ "GigabitEthernet1/1", "GigabitEthernet1/2", "GigabitEthernet1/3" ] }
  • D{ "hostname": "edge_router_1", "interfaces": [ "GigabitEthernet1/1", "GigabitEthernet1/2", "GigabitEthernet1/3" ], }

How the community answered

(25 responses)
  • A
    8% (2)
  • C
    4% (1)
  • D
    88% (22)

Explanation

Wait - the correct answer should actually be C, not D. Option C uses a proper JSON array (square brackets []) for the list of interfaces and has no trailing comma, making it fully valid JSON. Option D uses square brackets correctly but includes a trailing comma after the closing bracket, which is invalid in JSON syntax. If the stated correct answer is D, this appears to be an error in the question key.

Topics

#JSON syntax#Data serialization#Data formats#Network automation

Community Discussion

No community discussion yet for this question.

Full 350-401 Practice