🔥 3-day streak
Cisco CCNP Security SCOR (350-701)107 / 146
Question 107 of 146
A security engineer is reviewing a colleague's Python script that automates policy retrieval from a Cisco Secure Firewall Management Center (FMC). The relevant lines are: import requests resp = requests.post('https://fmc.example.com/api/fmc_platform/v1/auth/generatetoken', auth=('admin','C1sco123'), verify=False) token = resp.headers['X-auth-access-token'] headers = {'X-auth-access-token': token} data = requests.get('https://fmc.example.com/api/fmc_config/v1/domain/xxxx/policy/accesspolicies', headers=headers, verify=False) What is the primary purpose of the first POST request in this workflow?
Reviewed for accuracy · Report an issueNext question