nerdexam
CiscoCisco

350-401 · Question #1085

350-401 Question #1085: Real Exam Question with Answer & Explanation

The correct answer is A: { "car":{ "type":"Ford", "color":"Blue", "year":"1998" } }. Option A is correctly formatted JSON because it uses proper colon (:) separators between keys and values, all strings are enclosed in double quotes, and the nested object structure is syntactically valid. Options B and D both incorrectly use an equals sign (=) instead of a colon

Submitted by yaw92· Mar 6, 2026Network Programmability and Automation - Understanding data encoding formats (JSON) used in REST APIs and network automation scripting (e.g., Cisco CCNA/CCNP Domain: Automation and Programmability)

Question

Which JSON script is properly formatted? A. B. C. D.

Options

  • A{ "car":{ "type":"Ford", "color":"Blue", "year":"1998" } }
  • B{ "book":{ "title":"Engineering", "grade"="4", "edition":"4" } }
  • C{ "truck":{ "type":"Dodge", "color":"Blue", "year":"2010" } }
  • D{ "device":{ "type":"switch", "model":"Catalyst", "model"="30-46.10.04.53.6c" } }

Explanation

Option A is correctly formatted JSON because it uses proper colon (:) separators between keys and values, all strings are enclosed in double quotes, and the nested object structure is syntactically valid. Options B and D both incorrectly use an equals sign (=) instead of a colon (:) as the key-value separator, which is a fundamental JSON syntax violation. Option D also contains a duplicate key, which further invalidates it.

Topics

#JSON#Data Formats#Network Automation#Syntax Validation

Community Discussion

No community discussion yet for this question.

Full 350-401 PracticeBrowse All 350-401 Questions