Refer to the exhibit. A student is learning network automation by using an API. The student constructs a Python file to communicate with a Webex Teams server. Which two statements describe characteristics of the script? (Choose two.)

IT Exam Items RepositoryCategory: DevNetRefer to the exhibit. A student is learning network automation by using an API. The student constructs a Python file to communicate with a Webex Teams server. Which two statements describe characteristics of the script? (Choose two.)

Refer to the exhibit. A student is learning network automation by using an API. The student constructs a Python file to communicate with a Webex Teams server. Which two statements describe characteristics of the script? (Choose two.)

  • It is used to obtain an access token from the server.
  • It loads two modules from a Cisco SDK.
  • It is used to retrieve the email addresses associated with the student.
  • The term people in the script is a class object.
  • The access token is set with a WEBEX_TEAMS_ACCESS_TOKEN environment variable.

Explanation: The script uses two classes, WebexTeamsAPI and ApiError, from the Cisco Webex Teams Python SDK webexteamssdk. It calls the people class from the WebexTeamsAPI to get the email information associated with the person identified by the access token. For executing the script, the access token can be set either with a WEBEX_TEAMS_ACCESS_TOKEN environment variable, or pass it as an argument into the function call, which is the case in this script.

Related exam: DevNet Associate – Practice Final Exam Answers
Related exam: DevNet Associate (Version 1.0) - DevNet Associate (200-901) Certification Practice Exam Answers