exam questions

Exam 350-901 All Questions

View all questions & answers for the 350-901 exam

Exam 350-901 topic 1 question 283 discussion

Actual exam question from Cisco's 350-901
Question #: 283
Topic #: 1
[All 350-901 Questions]

A developer deploys a web application in a local data center that is now experiencing high traffic load from users accessing data through REST API calls. Which approach enhances the responsiveness and performance of the API?

  • A. Ensure that all read requests are clearly identified by the PUT method.
  • B. Configure API payload to return errors in HTTP 200 responses.
  • C. Use HTTP POST or other non-read methods for read requests when possible.
  • D. Use HTTP standard authorization header to submit authentication credentials.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Amycert
7 months, 2 weeks ago
Selected Answer: D
only D makes a little sense
upvoted 1 times
...
razvan999
1 year, 4 months ago
IMO, all are wrong. D - doesn't have anything to do with responsiveness and performance. My guess is that the answers are bad and the idempotent API was the key of the answer, where need to be implemented with a PUT
upvoted 2 times
...
kirrim
1 year, 6 months ago
Selected Answer: D
A, B, and C are obviously sub-optimal practices and should be avoided. D is the only proper answer left, just by the process of elimination alone. D is helpful for scalability and performance, because if you're using a standard HTTP authorization header, you can deploy authentication and authorization offloading techniques through an API gateway. This will reduce the load on your back-end API services since they don't have to handle that piece anymore.
upvoted 3 times
...
Fedesarucho
1 year, 12 months ago
Selected Answer: C
It is C, look chatgpt The approach that enhances the responsiveness and performance of the API is to use HTTP POST or other non-read methods for read requests when possible. This is because HTTP POST requests are not cached and will retrieve fresh data from the server each time, which can help ensure that the client always receives the most up-to-date data. In contrast, HTTP GET requests are cached by default, which can result in clients receiving stale data and increased load on the server due to repeated requests. Therefore, using HTTP POST or other non-read methods for read requests can help to improve the performance and responsiveness of the API.
upvoted 2 times
kirrim
1 year, 6 months ago
This is a classic example of chatgpt responding with a misleading answer, and responding with authority. Having the client avoid using a cache and force the API to fetch a real response each time may help avoid using stale cached data, but it certainly won't improve the performance and responsiveness of the API. It'll make the load on the API service worse.
upvoted 2 times
...
...
[Removed]
2 years, 3 months ago
Selected Answer: D
D is correct.
upvoted 4 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago