Câu 59: 300-615: Troubleshooting Cisco Data Center Infrastructure (DCIT)
Refer to the exhibit. A network engineer must display the status of the vPC domain using the Python script and guest shell. The status of Cisco Nexus switches 1 and 2 must be displayed, but the code fails and displays the status of Cisco Nexus switches 0 and 1 instead. Which code resolves the issue?
Nội dung câu hỏi
Refer to the exhibit. A network engineer must display the status of the vPC domain using the Python script and guest shell. The status of Cisco Nexus switches 1 and 2 must be displayed, but the code fails and displays the status of Cisco Nexus switches 0 and 1 instead. Which code resolves the issue?
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.
- A. print ('Show VPC On Switch', [i] + 1, '\n') on line 5
- B. print ('Show VPC On Switch', i + 2, '\n') on line 5
- C. for i in range(1,3): on line 4 — đáp án hiện tại
- D. for i in range(1-2): on line 4
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.