Solved

Refer to the Exhibit

Question 48

Multiple Choice

  Refer to the exhibit. A Python script must be created to deactivate vSmart Policy Cisco SD-WAN vManage Configuration APIs. The documentation states the URL is as shown in the exhibit for this REST call using POST, and that  policyId  is a required request parameter. Which line of Python code makes this call, assuming the variable  s  is a valid Requests session object and the variable  policy-id  is the policyId? A)  s.port('https://vmanage:8443/dataservice/template/policy/vsmart/activate?policyId=%s' % policy_id)  B)  s.port('https://vmanage:8443/dataservice/template/policy/vsmart/activate/%s' % policy_id)  C)  s.port('https://vmanage:8443/dataservice/template/policy/vsmart/activate&policyId=%s' % policy_id)  D)  s.port('https://vmanage:8443/dataservice/template/policy/vsmart/activate/', data = {'policyId': policy_id}) Refer to the exhibit. A Python script must be created to deactivate vSmart Policy Cisco SD-WAN vManage Configuration APIs. The documentation states the URL is as shown in the exhibit for this REST call using POST, and that "policyId" is a required request parameter. Which line of Python code makes this call, assuming the variable "s" is a valid Requests session object and the variable "policy-id" is the policyId?


A) s.port('https://vmanage:8443/dataservice/template/policy/vsmart/activate?policyId=%s' % policy_id)
B) s.port('https://vmanage:8443/dataservice/template/policy/vsmart/activate/%s' % policy_id)
C) s.port('https://vmanage:8443/dataservice/template/policy/vsmart/activate&policyId=%s' % policy_id)
D) s.port('https://vmanage:8443/dataservice/template/policy/vsmart/activate/', data = {'policyId': policy_id})

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents