Which is a valid method to secure a REST API?
Choose an answer
Tap an option to check your answer.
Correct answer: Use HTTPS with TLS encryption..
Why this is the answer
HTTPS with TLS encryption is the most common and effective method to secure REST APIs. TLS (Transport Layer Security) encrypts the communication channel between the client and the server, protecting data confidentiality and integrity, and authenticating the server. While XML encryption and XML signatures can secure the content of XML messages, they don't secure the transport layer itself, which is crucial for REST APIs that often use JSON. An MDS hash (MD5) is a cryptographic hash function primarily used for verifying data integrity, but it does not provide confidentiality or authentication. WS-Security is a set of extensions to SOAP for securing web services, not typically used for REST APIs.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed