350-901 Practice Test

350-901 Practice Test practice questions, page 22 of 25, with answer review and explanations.

Question 106

Drag and drop the code from the bottom onto the box where the code is missing in the Python script to execute a REST API call to query all the NTP policy names and print the name of each policy. Not all options are used. Select and Place:

Question 107

What are two features of On-Box Python for hosting an application on a network device? (Choose two.)

  1. It has direct access to Cisco IOS XE CLI commands.
  2. It is a Python interpreter installed inside the guest shell.
  3. It enables execution of XML scripts on a Cisco IOS XE router or switch.
  4. It supports Qt for graphical interfaces and dashboards.
  5. It has access to Cisco IOS XE web UI through a controller.

Question 108

Refer to the exhibit. Which snippet creates a Webex space and adds the users in the variable user_list to that space? A. B. C. D.

Question 109

A bot has been created to respond to alarm messages. A developer is now creating a Webhook to allow the bot to respond to messages. Which format allows the Webhook to respond to messages for the bot within Webex?

  1. GET /messages?personId=me&roomId=NETWORK_STATUS Authorization: Bearer THE_BOTS_ACCESS_TOKEN
  2. GET /messages?mentionedPeople=me&roomId=NETWORK_STATUS Authorization: Bearer THE_BOTS_ACCESS_TOKEN
  3. GET /messages?mentionedBot=me&roomId=NETWORK_STATUS Authorization: Bearer THE_BOTS_ACCESS_TOKEN
  4. GET /messages?botId=me&roomId=NETWORK_STATUS Authorization: Bearer THE_BOTS_ACCESS_TOKEN

Question 110

An application has been developed for monitoring rooms in Cisco Webex. An engineer uses the application to retrieve all the messages from a Cisco Webex room, but the results are slowly presented. Which action optimizes calls to retrieve the messages from the /v1/messages endpoint?

  1. Define the ma property by using the pagination functionality.
  2. Set the beforeMessage property to retrieve the messages sent before a specific message ID.
  3. Avoid unnecessary calls by using a prior request to /v1/rooms to retrieve the last activity property.
  4. Filter the response results by specifying the created property in the request.