Question 6 of 32


Prev Question Next Question

Question

import json
import requests

USER = "admin"
PASS = "Clsco12345"

TENAT_ID alsa

BASE_URL = "https://198.18.128.136"

CREDENTIALS = {'password': PASS, ‘username': USER}

session = requests.Session()
session. post (BASE_URL+"/token/v2/authenticate", data= CREDENTIALS, verify=False)

QUERY_URL=BASE_URL+"/sw-reporting/rest/v2/tenants/{0}/queries". format (TENAT_ID)

flow_data ={
“searchName": "Flows API Search on 6/29/2019",

'019-06-29T00:00:012",
2019-06-29T23:59:592"

session.post (QUERY_URL, json=flow_data, verify=False)

Refer to the exhibit.

A network operator must generate a daily flow report and learn how to act on or manipulate returned data.

When the operator runs the script, it returns an enormous amount of information.

Which two actions enable the operator to limit returned data? (Choose two.)

Answers