ExamGecko
Home Home / Cisco / 350-901

Cisco 350-901 Practice Test - Questions Answers, Page 27

Question list
Search
Search

List of questions

Search

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?

A.

git delete HEAD devcoreg13642911.jpg

A.

git delete HEAD devcoreg13642911.jpg

Answers
B.

git remove HEAD devcoreg13642911.jpg

B.

git remove HEAD devcoreg13642911.jpg

Answers
C.

git reset HEAD devcoreg13642911.jpg

C.

git reset HEAD devcoreg13642911.jpg

Answers
D.

git revert HEAD devcoreg13642911.jpg

D.

git revert HEAD devcoreg13642911.jpg

Answers
Suggested answer: C

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?

A.

The resource owner authenticates and optionally authorizes with the authorization server.

A.

The resource owner authenticates and optionally authorizes with the authorization server.

Answers
B.

The user who owns the resource initiates a request to the OAuth client.

B.

The user who owns the resource initiates a request to the OAuth client.

Answers
C.

If the resource owner allows access, the authorization server sends the OAuth client a redirection.

C.

If the resource owner allows access, the authorization server sends the OAuth client a redirection.

Answers
D.

A form to allow or restrict access is submitted by the owner of the resource.

D.

A form to allow or restrict access is submitted by the owner of the resource.

Answers
Suggested answer: C

Explanation:

"If the resource owner grants access, the authorization server redirects the user's browser back to the client using the redirection URI provided earlier (in the request or during client (registration). The redirection URI includes an authorization code and any local state provided by the client earlier" "Assuming the resource owner grants access, the authorization server redirects the user-agent back to the client using the redirection URI provided earlier (in the request or during client (registration).

The redirection URI includes an authorization code and any local state provided by the client earlier."

{'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?

A.

latitude = response.text['lat']

longitude = response.text['lng']

A.

latitude = response.text['lat']

longitude = response.text['lng']

Answers
B.

latitude = response.json()['lat']

longitude = response.json()['lng']

B.

latitude = response.json()['lat']

longitude = response.json()['lng']

Answers
C.

latitude = response.json()[0]

longitude = response.json()[1]

C.

latitude = response.json()[0]

longitude = response.json()[1]

Answers
D.

latitude = response.text[0]

longitude = response.text[1]

D.

latitude = response.text[0]

longitude = response.text[1]

Answers
Suggested answer: A

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?

A.

Set up a webhook that has messages as the resource type and store the results locally.

A.

Set up a webhook that has messages as the resource type and store the results locally.

Answers
B.

Utilize the pagination functionality by defining the max property.

B.

Utilize the pagination functionality by defining the max property.

Answers
C.

Recursively call the /vl/messages endpoint by using the beforeMessage property.

C.

Recursively call the /vl/messages endpoint by using the beforeMessage property.

Answers
D.

Filter the response results by specifying the created property in the request.

D.

Filter the response results by specifying the created property in the request.

Answers
Suggested answer: D

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.


Question 265
Correct answer: Question 265

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.


Question 266
Correct answer: Question 266

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.


Question 267
Correct answer: Question 267

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.


Question 268
Correct answer: Question 268

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.


Question 269
Correct answer: Question 269

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 270
Correct answer: Question 270
Total 364 questions
Go to page: of 37