An automation script retrieves the following JSON response payload from a Cisco Catalyst Center system health API endpoint and stores it in a Python dictionary variable named `health_data`:
{
"response": {
"overallHealth": 85,
"issueList": [
{
"issueId": "ISSUE-101",
"severity": "HIGH",
"impactedEntities": [
{"name": "GigabitEthernet1/0/1", "type": "Interface"},
{"name": "GigabitEthernet1/0/2", "type": "Interface"}
]
},
{
"issueId": "ISSUE-102",
"severity": "LOW",
"impactedEntities": [
{"name": "PowerSupply1", "type": "Power"}
]
}
]
}
}
Which two of the following statements regarding the structure and extraction of data from this JSON payload are correct?
- The expression health_data["response"]["issueList"][0]["impactedEntities"][1]["name"] evaluates to the string "GigabitEthernet1/0/2".Cevap
- The value corresponding to the key "overallHealth" is an integer data type, whereas the value of "severity" is a string data type.Cevap
- CThe expression health_data["response"]["issueList"][1]["impactedEntities"][0] evaluates to the string "PowerSupply1".
- DThe expression health_data["response"]["issueList"][1]["impactedEntities"][1]["name"] correctly retrieves the second power supply name.