🔥 3-day streak
Cisco CCNP Cybersecurity CBRCOR (350-201)112 / 147
Question 112 of 147
A SOC analyst has a Python script that queries a threat-intel API and prints each indicator's value and reputation score to the console. The team lead asks the analyst to modify the script so the results are saved to a file named 'indicators.csv' with a header row, so the data can be opened in a spreadsheet and shared. The current relevant code is: ```python import requests resp = requests.get(url, headers=headers) for item in resp.json()['data']: print(item['indicator'], item['score']) ``` Which modification correctly produces the required CSV output?
Reviewed for accuracy · Report an issueNext question