A network administrator issues a RESTCONF HTTP GET request to retrieve OSPF interface parameters from a Cisco IOS XE router. The API returns the following JSON payload:
{
"Cisco-IOS-XE-ospf:ospf": {
"process": [
{
"id": 1,
"area": [
{
"area-id": 0,
"interface": [
{
"name": "GigabitEthernet1",
"cost": 10,
"passive": false
},
{
"name": "GigabitEthernet2",
"cost": 100,
"passive": true
}
]
}
]
}
]
}
}
Based on the JSON payload provided, which two statements correctly interpret the structural data and values? (Select two.)
- The key "process" maps to a JSON array containing objects that represent OSPF process configurations.Cevap
- The data path Cisco-IOS-XE-ospf:ospf -> process[0] -> area[0] -> interface[1] -> passive evaluates to the boolean value true.Cevap
- CThe value associated with the "cost" key under interface[0] is formatted as a string data type.
- DThe element at array index 0 in the interface list corresponds to interface GigabitEthernet2.