Developing Applications Using Cisco Core Platforms and APIs (DEVCOR) — Question 147
Which security approach should be used for developing a REST API?
Answer options
- A. Add an API key to each URL string.
- B. Use custom security relevant HTTP response codes.
- C. Utilize CORS headers.
- D. Utilize TLS for end-to-end encryption.
Correct answer: D
Explanation
Utilizing TLS for end-to-end encryption ensures that data transmitted between the client and server is secure and protected from eavesdropping or tampering. The other options, while they may provide some level of security, do not offer the robust encryption that TLS provides, making them less effective for securing a REST API.