200-901 Practice Test

200-901 Practice Test practice questions, page 18 of 26, with answer review and explanations.

Question 86

Drag and drop the HTTP methods from the left onto their generally accepted corresponding create, read, update, and delete operations on the right. Select and Place:

Question 87

Refer to the exhibit. Drag and drop the code from the left onto the item numbers on the right to complete the Meraki code to obtain a list of clients which have used this network. Select and Place:

Question 88

In Python, which expression checks whether the script returns a success status code when the Requests library is used?

  1. response.status_code == requests.codes.ok
  2. response.code == requests.codes.ok
  3. response.status_code == requests.ok
  4. response.status_code != requests.codes.ok

Question 89

Refer to the exhibit. The script returns an output of 401. To use the supplied URL, an HTTP GET request must be sent with an Authorization header. The header value is a base64 encoded concatenation of the username and password. Which action must be taken to return an output of 200?

  1. Change the verify=False setting in the request to verify=True to enable HTTP Basic authentication.
  2. Verify that the username and password values imported from the configuration file are still valid.
  3. Insert an Authorization header with the values username:password from the supplied configuration file.
  4. Modify the method from LOGIN to GET and supply the username:password value as JSON payload.

Question 90

Refer to the exhibit. A Python code has been written to query a device. The executed code results in the error shown. Which action resolves the problem?

  1. import json
  2. requests(ג€GETג€, base_url + request_url, cookies=cookies)
  3. pip install requests
  4. import requests