Configuration, CORS and Logging for Node APIs Quiz

Interactive Quiz ⋅ 10 Questions
By Stephen Gruppetta

In this quiz, you’ll test your understanding of Configuration, CORS and Logging for Node APIs.

By working through this quiz, you’ll revisit where a server’s settings come from when .env, the shell and the code’s defaults disagree, what a CORS error in the browser does and doesn’t mean, which requests get a preflight, and how to keep secrets and personal data out of your log lines.

Several questions ask you to predict what a server prints or which requests reach it, so read each program closely before you answer.

The quiz contains 10 questions and there is no time limit. You’ll get 1 point for each correct answer. At the end of the quiz, you’ll receive a total score. The maximum score is 100%. Good luck!