You are developing a RESTful API and need to ensure that sensitive user data is secure during transit. Which approach would you use to secure data transmission?
- a) Encoding data as plain text
- b) Using HTTPS (SSL/TLS)
- c) Encrypting data with a custom algorithm
- d) Adding authentication tokens to requests
The most secure approach for securing data in transit in a RESTful API is to use HTTPS (SSL/TLS). It encrypts the data between the client and server, providing confidentiality and integrity.
Loading...
Related Quiz
- The ____ function in TensorFlow or PyTorch is used to compute the gradient of a computation with respect to its input variables.
- How would you optimize the space complexity of a dynamic programming algorithm?
- How would you create a decorator to measure the execution time of a function?
- When integrating a Python back-end with a front-end form, how can you secure the application against Cross-Site Request Forgery (CSRF) attacks?
- How would you implement a dequeue (double-ended queue) data structure?