Cisco 350-901 Practice Test - Questions Answers, Page 27
List of questions
Related questions
A developer is working in a branch to develop a new feature named 'newfeat404880077'. A file named 'devcoreg13642911.jpg' has accidentally been staged. This needs to be removed so that the commit is performed and branches merged.
Which git command must be used to unstage the file?
git delete HEAD devcoreg13642911.jpg
git remove HEAD devcoreg13642911.jpg
git reset HEAD devcoreg13642911.jpg
git revert HEAD devcoreg13642911.jpg
In the three-legged OAuth2 process, after the authorization server presents a form to the resource owner to grant access, what is the next step?
The resource owner authenticates and optionally authorizes with the authorization server.
The user who owns the resource initiates a request to the OAuth client.
If the resource owner allows access, the authorization server sends the OAuth client a redirection.
A form to allow or restrict access is submitted by the owner of the resource.
{'lat': 37.4180951010362, 'lng': -122.098531723022, 'address': '', 'serial': 'Q2HP-F5K5-F98Q', 'mac': '88:15:44:ea:f5:bf', 'lanIp': '10.10.10.15', 'url': 'https://n149.meraki.com/DevNet- Sandbox/n/EFZDavc/manage/nodes/new_list/78214561218351', 'model': 'MS220-8P', 'switchProfileId': None, 'firmware': 'switch-11-31', 'floorPlanId': None} Refer to the exhibit. A developer needs to find the geographical coordinates of a device on the network L_397561557481105433 using a Python script to query the Meraki API. After running response = requests.get() against the Meraki API, the value of response.text is shown in the exhibit.
What Python code is needed to retrieve the longitude and latitude coordinates of the device?
latitude = response.text['lat']
longitude = response.text['lng']
latitude = response.json()['lat']
longitude = response.json()['lng']
latitude = response.json()[0]
longitude = response.json()[1]
latitude = response.text[0]
longitude = response.text[1]
An application is developed in order to communicate with Cisco Webex. For reporting, the application must retrieve all the messages sent to a Cisco Webex room on a monthly basis.
Which action calls /v1/messages directly?
Set up a webhook that has messages as the resource type and store the results locally.
Utilize the pagination functionality by defining the max property.
Recursively call the /vl/messages endpoint by using the beforeMessage property.
Filter the response results by specifying the created property in the request.
DRAG DROP
Drag and drop the code from the bottom onto the box where the code is missing in the Python code to complete the greeter function white also mitigating against XSS threats. Not all options are used.
DRAG DROP
Refer to the exhibit.
Drag and drop the components from the Oauth2 authorization protocol flow on the left onto the letter that matches the location in the exhibit.
DRAG DROP
A developer is creating a Python script to use the Webex REST API to list joined spaces and handle and print the errors it receives. Drag and drop the code from the bottom of the code snippet onto the blanks in the code to complete the script. Not all options are used.
DRAG DROP
Drag and drop the code from the bottom onto the box where the code is missing on the Dockerfile to containerize an application that listens on the specified TCP network port at runtime. Not all options are used.
DRAG DROP
A developer must package an application for Kubernetes to integrate into a prebuilt CD environment.
The application utilizes a Docker image from Cisco DevNet public repository and is accessible from a specific port of the container. Drag and drop the code from the bottom onto the box where the code is missing in the Kubernetes YAML configuration file. Not all options are used.
DRAG DROP
Drag and drop the steps from the left into the order on the right to build and run a customized Python DocKer image. Not all options are used
Question