35 questions for “Environment Variables & Configuration”

Found in 1 field. Select a question to see its full answer.

Information Technology

35 questions in 7 technologies

#QuestionTechnologyTopicLevel
1How would you validate that all required environment variables are present and correctly typed at application startup, rather than discovering a missing one at runtime? Node.js › Environment Variables & ConfigurationNode.jsEnvironment Variables & ConfigurationIntermediate
2How would you structure application configuration to support multiple environments (development, staging, production) cleanly? Node.js › Environment Variables & ConfigurationNode.jsEnvironment Variables & ConfigurationIntermediate
3What is the risk of accidentally logging or exposing environment variables that contain secrets, and how do you prevent it? Node.js › Environment Variables & ConfigurationNode.jsEnvironment Variables & ConfigurationIntermediate
4What is the difference between build-time and runtime configuration for a Node.js application, and why does that distinction matter for container-based deployments? Node.js › Environment Variables & ConfigurationNode.jsEnvironment Variables & ConfigurationAdvanced
5How does the dotenv package work, and what problem does it solve for local Node.js development? Node.js › Environment Variables & ConfigurationNode.jsEnvironment Variables & ConfigurationBeginner
6How do you add environment variables to a Next.js project? Next.js › Environment Variables & Configuration ManagementNext.jsEnvironment Variables & Configuration ManagementBeginner
7How would you validate that all required environment variables are present and correctly formatted before your app starts? Next.js › Environment Variables & Configuration ManagementNext.jsEnvironment Variables & Configuration ManagementIntermediate
8What security risks are associated with environment variables, and how do you avoid them? Next.js › Environment Variables & Configuration ManagementNext.jsEnvironment Variables & Configuration ManagementAdvanced
9How do you manage different environment variable values for development, staging, and production environments? Next.js › Environment Variables & Configuration ManagementNext.jsEnvironment Variables & Configuration ManagementIntermediate
10What is the difference between a regular environment variable and one prefixed with NEXT_PUBLIC in Next.js? Next.js › Environment Variables & Configuration ManagementNext.jsEnvironment Variables & Configuration ManagementBeginner