🔥 3-day streak
Cisco CCNP Security SCOR (350-701)105 / 146
Question 105 of 146
A security engineer wrote a Python script to retrieve blocked-domain data from a Cisco Umbrella reporting API. The script contains the following snippet: resp = requests.get(url, headers=headers) data = resp.json() for item in data['data']: print(item['domain']) The script runs without a connection error, but raises a KeyError: 'data' on the line with the for loop. What is the most likely cause?
Reviewed for accuracy · Report an issueNext question