ExamGecko
Home Home / Cisco / 350-901

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

Question list
Search
Search

List of questions

Search

Related questions











A developer has completed the implementation of a REST API, but when it is executed, it returns a 401 error message. What must be done on the API to resolve the issue?

A.

Access permission to the resource must be granted, before the request.

A.

Access permission to the resource must be granted, before the request.

Answers
B.

Configure new valid credentials.

B.

Configure new valid credentials.

Answers
C.

The requested API endpoint does not exist, and the request URL must be changed.

C.

The requested API endpoint does not exist, and the request URL must be changed.

Answers
D.

Additional permission must be granted before the request can submitted.

D.

Additional permission must be granted before the request can submitted.

Answers
Suggested answer: B

Refer to the exhibit.

Many faults have occurred in the ACI environment and a sample of them needs to be examined.

Which API call retrieves faults 30 through 45?

A.

GET https://apic-ip-address/api/class/faultInfo.json?orderby=faultinst.severity|desc&page=1&page- size=15

A.

GET https://apic-ip-address/api/class/faultInfo.json?orderby=faultinst.severity|desc&page=1&page- size=15

Answers
B.

GET https://apic-ip-address/api/class/faultInfo.json?orderby=faultinst.severity|desc&page=2&page- size=15

B.

GET https://apic-ip-address/api/class/faultInfo.json?orderby=faultinst.severity|desc&page=2&page- size=15

Answers
C.

GET https://apic-ip-address/api/class/faultInfo.json?order-by=faultinst.severity|desc&page=30

C.

GET https://apic-ip-address/api/class/faultInfo.json?order-by=faultinst.severity|desc&page=30

Answers
D.

GET https://apic-ip-address/api/class/faultInfo.json?orderby=faultinst.severity|desc&page=2&page- size=30

D.

GET https://apic-ip-address/api/class/faultInfo.json?orderby=faultinst.severity|desc&page=2&page- size=30

Answers
Suggested answer: B

Refer to the exhibit.

The cURL POST request creates an OAuth access token for authentication with FDM API requests.

What is the purpose of the file "@token_data" that cURL is handling?

A.

This file is a container to log possible error responses in the request.

A.

This file is a container to log possible error responses in the request.

Answers
B.

This file is given as input to store the access token received from FDM.

B.

This file is given as input to store the access token received from FDM.

Answers
C.

This file is used to send authentication related headers.

C.

This file is used to send authentication related headers.

Answers
D.

This file contains raw data that is needed for token authentication.

D.

This file contains raw data that is needed for token authentication.

Answers
Suggested answer: D

User report that they can no longer process transactions with the online ordering application, and the logging dashboard is displaying these messages.

Fri Jan 10 19:37:31.123 EST 2020 [FRONTEND] INFO: Incoming request to add item to cart from user 45834534858 Fri Jan 10 19:37:31 247 EST 2020 [BACKEND] INFO: Attempting to add item to cart Fri Jan 10 19:37:31 250 EST 2020

[BACKEND] ERROR: Failed to add item: MYSQLDB ERROR:

Connection refused

What is causing the problem seen in these log messages?

A.

The database server container has crashed.

A.

The database server container has crashed.

Answers
B.

The backend process is overwhelmed with too many transactions.

B.

The backend process is overwhelmed with too many transactions.

Answers
C.

The backend is not authorized to commit to the database.

C.

The backend is not authorized to commit to the database.

Answers
D.

The user is not authorized to add the item to their cart.

D.

The user is not authorized to add the item to their cart.

Answers
Suggested answer: A

Refer to the exhibit.

An Intersight API is being used to query RackUnit resources that have a tag keyword set to "Site".

What is the expected output of this command?

A.

list of all resources that have a tag with the keyword "Site"

A.

list of all resources that have a tag with the keyword "Site"

Answers
B.

error message because the Value field was not specified

B.

error message because the Value field was not specified

Answers
C.

error message because the tag filter should be lowercase

C.

error message because the tag filter should be lowercase

Answers
D.

list of all sites that contain RackUnit tagged compute resources

D.

list of all sites that contain RackUnit tagged compute resources

Answers
Suggested answer: A

A user is receiving a 429 Too Many Requests error. Which scheme is the server employing that causes this error?

A.

rate limiting

A.

rate limiting

Answers
B.

time outs

B.

time outs

Answers
C.

caching

C.

caching

Answers
D.

redirection

D.

redirection

Answers
Suggested answer: A

Meraki Dashboard API Response

Response Status Code 200

Response Link Header

<https://n6.meraki.com/api/vO/organizations/681155/devices ?perPage-3&startingAfter-0000-0000-0000>; rel-first,

<https://n6.meraki .com/api/v0/organizations/681155/devices?perPage -3&startingAfter-Q2EK-3UBE-RRUY>; rel-next,

<https://n6.meraki.com/api/vO/organizations/681155/devices?endingBefore -zzzz-zzzzzzzz&perPage-3>; rel-last Response Body

{' name": \\II '

"serial": "Q2CV-V49B -RCMZ",

"mac": ''0c:8d:db:95:aa:39",

"networkid": "L-566327653141846927",

"model11 : "MV71",

"address": "430 E Cactus Ave .\nLas Vegas, NV 89183",

"lat": 36.00017,

"lng": -115.15302,

"notes": ''",

"tagsn: '",,

"lanip: "192.168.0.25",

' configurationUpdatedAt": "2019-08-08T02:15:36Z", ' firmware11 : "ca.rnera-3-3011

},

{

"ncune": "Alex's MR84 - 1"1

"serial": "Q2EK-2LYB-PCZP",

"mac": 'eO: 55:3d:10:56:8a", "networkid": "L 566327653141846927",

"model": "MR84",

"address": ''11 ,

"lat": 39.9482993357826,

"lng": -82.9895675461739,

"notes": "",

"tags": ' ",

"lanip: null,

"configurationVpdatedAt": "2018-02-03Tll:02:37Z",

"firmware11 : "Not running configured version''

},

{

"na.rne11 : "Vegas Living Room MR84 11 ,

"serial": "Q2EK-3UBE-RRUY",

"mac": "e0:55:3d:10:5a:ca", "networkid": "L_566327653141846927" 1

"model": "MR84",

"address": "430 E Cactus Ave.\nLas vegas, NV 89183", "lat": 36.00015,

"lng": -115.15308,

"notes": ' ",

"tags": "11

1" lanip: "

192.168.0 .20",

"configurationVpdatedAt": "2018-09-29Tl2:23:21Z",

' firmware": "Not running configured version"

Refer to the exhibit.

Which line of code must be added to this code snippet to allow an application to pull the next set of paginated items?

A.

requests.get(url, links=['next']['url'])

A.

requests.get(url, links=['next']['url'])

Answers
B.

requests.get(url, headers=links['next']['url'])

B.

requests.get(url, headers=links['next']['url'])

Answers
C.

requests.get(res.links['next']['url'], headers=headers)

C.

requests.get(res.links['next']['url'], headers=headers)

Answers
D.

requests.get(res.headers.get('Link")['next']['url'], headers=headers)

D.

requests.get(res.headers.get('Link")['next']['url'], headers=headers)

Answers
Suggested answer: C

An Etag header is included in the HTTP response for an API resource. What are two benefits of usingthe value of the Etag for future interactions involving the same API resource? (Choose two.)

A.

caching and optimization of response payloads

A.

caching and optimization of response payloads

Answers
B.

creating conditional requests

B.

creating conditional requests

Answers
C.

categorizing and comparing this API resource with others

C.

categorizing and comparing this API resource with others

Answers
D.

checking the integrity of the resource

D.

checking the integrity of the resource

Answers
E.

requesting the list of operations authorized for this resource

E.

requesting the list of operations authorized for this resource

Answers
Suggested answer: A, B

Explanation:

• The ETag HTTP response header is an identifier for a specific version of a resource. It lets caches bemore efficient and save bandwidth, as a web server does not need to resend a full response if thecontent has not changed. Additionally, etags help prevent simultaneous updates of a resource fromoverwriting each other ("mid-air collisions").

• The ETag or entity tag is part of HTTP, the protocol for the World Wide Web. It is one of severalmechanisms that HTTP provides for Web cache validation, which allows a client to make conditionalrequests.

Refer to the exhibit.

An application uses an API to periodically sync a large data set. Based on the HTTP messagesequence provided, which statements are true about the caching behavior seen in the scenario?

(Choose two.)

A.

The full dataset was transmitted to the client twice.

A.

The full dataset was transmitted to the client twice.

Answers
B.

The dataset changed sometime between message #4 and #5.

B.

The dataset changed sometime between message #4 and #5.

Answers
C.

A partial dataset was transmitted to the client in message #4.

C.

A partial dataset was transmitted to the client in message #4.

Answers
D.

The dataset did not change during the scenario.

D.

The dataset did not change during the scenario.

Answers
E.

Messages #3 and #5 are equivalent.

E.

Messages #3 and #5 are equivalent.

Answers
Suggested answer: A, D

Which RFC5988 (Web Linking) relation type is used in the Link header to control pagination in APIs?

A.

rel="index"

A.

rel="index"

Answers
B.

rel="page"

B.

rel="page"

Answers
C.

rel="next"

C.

rel="next"

Answers
D.

rel="section"

D.

rel="section"

Answers
Suggested answer: C
Total 364 questions
Go to page: of 37