Preparing Practice Exam…
Please wait a moment while the system generates the exam questions, answers, and study session.
Please wait a moment while the system generates the exam questions, answers, and study session.
Cisco Certified DevNet Associate (DEVASC) · Cisco
Select one answer.
Written by other learners. Comments can disagree with the marked answer — check the official documentation when in doubt.
B. encrypted in a configuration file that is separate from the code is the correct answer.
I think its B
API keys are sensitive information and should be stored securely to prevent unauthorized access. The best practice is to store them in a secure environment variable, separate from the application code. A. Store API keys in environment variables (Best Practice) • Environment variables are not stored in the codebase, reducing the risk of accidental exposure in version control (e.g., Git). • They are specific to the system/user session, making them more secure. • Can be accessed in code using: • Python: import os api_key = os.getenv("API_KEY") • Node.js: const apiKey = process.env.API_KEY;