Developing Applications Using Cisco Core Platforms and APIs (DEVCOR) — Question 105

A developer deploys a SQLite database in a Docker container. Single-use secret keys are generated each time a user accesses the database. The keys expire after 24 hours.
Where should the keys be stored?

Answer options

Correct answer: D

Explanation

The correct answer is D because storing the keys in a separate storage volume allows for better security and management of the keys, ensuring they are isolated from the application code and database. Option A is insecure as it exposes keys in the source code, while B and C do not provide optimal security for ephemeral keys that need to be managed separately.