CertyRush
Đang tải...
C CertyRush
Câu hỏi free preview

Câu 61: 300-435: Automating Cisco Enterprise Solutions (ENAUTO)

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…

Nội dung câu hỏi

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?

Minh họa câu hỏi

Các lựa chọn

Đáp án được giữ gọn theo nhãn A, B, C, D trong phần bình chọn tương tác.

  1. A. s.port('https://vmanage:8443/dataservice/template/policy/vsmart/activate?policyId=%s' % policy_id)
  2. B. s.port('https://vmanage:8443/dataservice/template/policy/vsmart/activate/%s' % policy_id) — đáp án hiện tại
  3. C. s.port('https://vmanage:8443/dataservice/template/policy/vsmart/activate&policyId=%s' % policy_id)
  4. D. s.port('https://vmanage:8443/dataservice/template/policy/vsmart/activate/', data = {'policyId': policy_id})

Cộng đồng

0 bình luận công khai. Tên thành viên được ẩn một phần.

Chưa có bình luận. Mở giao diện tương tác để bắt đầu thảo luận.

Câu hỏi liền kề