Sign Up
Log In
Home
discussion
Exam 200-901 Question id=6233 Understanding and Using APIs

Refer to the exhibit.



Given the API documentation for the UCS SDK Python class, Ucsl-landle, which code snippet creates a handle instance?

A. #!/usr/bin/env python3 from ucsmsdk.ucshandle import UcsHandle handle = UcsHandle("10.1.2.254", "admin", "password", port="443", secure=True)
B. #!/usr/bin/env python3 from ucsmsdk.ucshandle import UcsHandle handle = UcsHandle("10.1.2.254", username="admin", password="password", port="443", secure=True)
C. #!/usr/bin/env python3 from ucsmsdk.ucshandle import UcsHandle handle = UcsHandle("10.1.2.254", "admin", "password", port="443", secure=1)
D. #!/usr/bin/env python3 from ucsmsdk.ucshandle import UcsHandle handle = UcsHandle("10.1.2.254", "admin", "password", port=443, secure=1)