Developing Applications Using Cisco Core Platforms and APIs (DEVCOR) — Question 264

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?

Answer options

Correct answer: D

Explanation

The correct answer is D because using the standard HTTP authorization header helps streamline the authentication process, which is crucial for performance under high load. Options A and C misuse HTTP methods, which can lead to confusion and inefficiency, while option B incorrectly indicates that errors should be sent with a successful status code, which is not a best practice.