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

Câu 3: 300-535: Automating Cisco Service Provider Solutions (SPAUTO)

Refer to the exhibit. A Python script is created to add a new device on Cisco NSO using RESTCONF API. The device is added successfully, but a 405 Method NotAllowed RESTCONF error code has received as the line to fetch SSH keys runs. Which code is missing to complete the script?

Nội dung câu hỏi

Refer to the exhibit. A Python script is created to add a new device on Cisco NSO using RESTCONF API. The device is added successfully, but a 405 Method NotAllowed RESTCONF error code has received as the line to fetch SSH keys runs. Which code is missing to complete the script?

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. response = requests.put(baseUriOperation + "/devices/device=ios-device/ssh/fetch-host-keys", auth=auth, headers=headers)
  2. B. response = requests.post(baseUriOperation + "/devices/device=ios-device/ssh/fetch-host-keys", auth=auth, headers=headers)
  3. C. response = requests.post(baseUriOperation + "/devices/device=ios-device/ssh/request-host-keys", auth=auth, headers=headers) — đáp án hiện tại
  4. D. response = requests.put(baseUriOperation + "/devices/device=ios-device/ssh/request-host-keys", auth=auth, headers=headers)

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ề