Pertanyaan
Question: Apa langkah terbaik yang harus dilakukan untuk melindung API dalam lingkungan cloud? Choose the correct answer: Membiarkan API tidak dilindung agar mudah diakses Menyembunyikan API dari semua pengguna Menggunakan otentikasi dan enkrips untuk melindungi API Menghapus API untuk mencegah serangan
Solusi
Jawaban
C
Penjelasan
The question is asking about the best course of action to protect an Application Programming Interface (API) in a cloud environment. The options provided are:1. Leaving the API unprotected for easy access.2. Hiding the API from all users.3. Using authentication and encryption to protect the API.4. Deleting the API to prevent attacks.The correct answer is to use authentication and encryption to protect the API. This is because authentication ensures that only authorized users can access the API, while encryption ensures that the data transmitted between the client and the server is secure. These measures collectively enhance the security of the API in a cloud environment. The other options are not advisable as they either leave the API vulnerable to attacks or make it inaccessible, which is not practical for a functioning application.