300-435 · Question #38
300-435 Question #38: Real Exam Question with Answer & Explanation
Sign in or unlock 300-435 to reveal the answer and full explanation for question #38. The question stem and answer options stay visible for context.
Question
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 the 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?
Options
- As.post(f"https://vmanage:8443/dataservice/template/policy/vsmart/activate?policyId=%s" % policy_id)
- Bs.post(f"https://vmanage:8443/dataservice/template/policy/vsmart/activate/%s" % policy_id)
- Cs.post(f"https://vmanage:8443/dataservice/template/policy/vsmart/activate&policyId=%s" % policy_id)
- Ds.post(f"https://vmanage:8443/dataservice/template/policy/vsmart/activate/", data = {'policyId': policy_id})
Unlock 300-435 to see the answer
You've previewed enough free 300-435 questions. Unlock 300-435 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.