medium
Single Answer
0What is wrong with this JSON data? { "interface": "Fa0/1", "bandwidth": "100mb", "status": "up", "address": { "ipaddress": "192.168.1.5", "subnetmask": "255.255.255.0", "default gateway": "192.168.1.1", }
Answer Options
A
The interface of Fa0/1 is capitalized.
B
The address should have a square bracket.
C
There is a missing curly bracket.
D
Nothing is wrong.
Correct Answer: C
Explanation
There is a missing curly bracket that ends the address value. The capitalization of Fa0/1 is fine because it is within double quotes, so therefore it is read literally. The address does not need to have square brackets unless there will be more than one address.
json
syntax
troubleshooting
validation