Environment Variables Quiz

5 questions Pass: 70% +25 pts

Quiz covering Sensitive Data

Environment Variables Quiz

5 questions | Pass: 70% | Earn 25 points

Questions in this quiz

A preview of the 5 questions covered. Start the quiz above to answer them, check your score, and read the explanations.

  1. 1

    Which of the following is considered a security best practice when handling sensitive information like API keys in a development environment?

  2. 2

    When deploying a web application to a cloud provider, where is the most secure place to store production-grade secrets like database passwords?

  3. 3

    Why is it dangerous to print all environment variables to the logs during an application startup or error event?

  4. 4

    If you are using Docker to run your application, why is it discouraged to pass secrets using the --env or -e flag in the 'docker run' command?

  5. 5

    In a CI/CD pipeline, how should sensitive environment variables be handled to ensure they are available for the build process without exposing them in the pipeline configuration files?