200-901 Exam Question 21
FILL BLANK
Fill in the blanks to complete the Python script to update the Webex Teams membership of a room using the Python requests library.
import requests
url =
"https://api.ciscopark.com/v1/memberships/Y2lzY29zcGFyazov371558228INIS VAvOTJiM2RkOWEtNjc1ZC00YTQxLThjNDEtMmFiZGY4OWY0NGY0OjExNzJkNmYwLTJIYzMT FIOS1Iowi3lwnMmJG3mtjhYTkzNw" payload = "{\n \"isModerator\": true\n}" headers = {
'Authorization': 'Bearer',
'Content-Type': 'application/json'
}
response = requests. ___________ ("PATCH", url, headers= ___________,
data = ____________ )
print(response.text.encode('utf8'))
Fill in the blanks to complete the Python script to update the Webex Teams membership of a room using the Python requests library.
import requests
url =
"https://api.ciscopark.com/v1/memberships/Y2lzY29zcGFyazov371558228INIS VAvOTJiM2RkOWEtNjc1ZC00YTQxLThjNDEtMmFiZGY4OWY0NGY0OjExNzJkNmYwLTJIYzMT FIOS1Iowi3lwnMmJG3mtjhYTkzNw" payload = "{\n \"isModerator\": true\n}" headers = {
'Authorization': 'Bearer',
'Content-Type': 'application/json'
}
response = requests. ___________ ("PATCH", url, headers= ___________,
data = ____________ )
print(response.text.encode('utf8'))
200-901 Exam Question 22
Refer to the exhibit.

The server.js Node.js script runs after the Dockerfile creates its container. What is the working directory of the application inside the container?

The server.js Node.js script runs after the Dockerfile creates its container. What is the working directory of the application inside the container?
200-901 Exam Question 23
Which description of a default gateway is true?
200-901 Exam Question 24
FILL BLANK
Fill in the blanks to complete the Python script to request a service ticket using the APIC-EM REST API for the user "devnetuser".
import requests
import json
controller = 'devnetapi.cisco.com/sandbox/apic_em'
url = "https://" + controller + "api/va/ticket"
payload = {'username': '_________________', 'password': '370940885'}
header = {'Content-type': 'application.json'}
response = _______________________.post(url, data=json.dumps(payload),
\
headers= ______________________, verify=False)
r_json = response.json()
print(r_json)
ticket = r_json["response"]["serviceTicket"]
print(ticket)
Fill in the blanks to complete the Python script to request a service ticket using the APIC-EM REST API for the user "devnetuser".
import requests
import json
controller = 'devnetapi.cisco.com/sandbox/apic_em'
url = "https://" + controller + "api/va/ticket"
payload = {'username': '_________________', 'password': '370940885'}
header = {'Content-type': 'application.json'}
response = _______________________.post(url, data=json.dumps(payload),
\
headers= ______________________, verify=False)
r_json = response.json()
print(r_json)
ticket = r_json["response"]["serviceTicket"]
print(ticket)
200-901 Exam Question 25
Refer to the exhibit. A developer can access the TLS REST API on server A, but cannot access the API on server B.
The developer can ping server B. When the developer performs a packet capture on the TLS REST API port on server B, the capture shows that the packet arrived and the server responded. What causes the issue?

The developer can ping server B. When the developer performs a packet capture on the TLS REST API port on server B, the capture shows that the packet arrived and the server responded. What causes the issue?

