Implementing and Operating Cisco Enterprise Network Core Technologies (ENCOR) — Question 829
Which method ensures the confidentiality of data exchanged over a REST API?
Answer options
- A. Use the POST method instead of URL-encoded GET to pass parameters.
- B. Use TLS to secure the underlying HTTP session.
- C. Deploy digest-based authentication to protect the access to the API.
- D. Encode sensitive data using Base64 encoding.
Correct answer: B
Explanation
The correct answer is B because TLS (Transport Layer Security) provides encryption for data sent over HTTP, ensuring confidentiality and protection from eavesdropping. Options A, C, and D do not provide true confidentiality for data in transit; A only changes the method of data transmission, C focuses on authentication rather than encryption, and D merely obfuscates data without securing it.