Skip to content
Before you ship

Where should I start?

15 questions, 3 from each level. Pick "I'm not sure" instead of guessing; it gives a better answer. Takes about 5 minutes, and nothing is saved or sent anywhere.

New to all of this? Skip the quiz. Lesson 1 starts from zero.

Start with lesson 1

The questions get harder as you go. Most beginners answer "I'm not sure" to many of them, and that is fine.

  1. You turn off Wi-Fi and mobile data, then reload a web page. Why doesn't it load?

  2. Your server keeps the number of likes in a variable: let likes = 0. You get 50 likes, then you restart the server. How many likes does it show now?

  3. Your app works. You're about to ask the AI for a big new feature. What should you do first?

  4. Your app checks that a user is logged in. Then it finds an invoice with only the number in the web address. What can a logged-in user do?

  5. The AI suggests that you block apostrophes in every form to stop SQL injection. What is wrong with that?

  6. A teammate says: "Our API is safe from strangers, because CORS only allows our own frontend." What is wrong with that?

  7. Your laptop's .env file has the same DATABASE_URL as production, because you wanted "real data" while you built the app. You test a new "delete old accounts" script on your laptop. What happens?

  8. Your server asks a payment service to charge a customer. After 30 seconds, your code stops waiting. What do you know about the payment?

  9. The AI finished a new feature. It works on the preview link, and all tests pass. What does that tell you about its safety?

  10. To be safe, the AI suggests an index on every column of every table. What is the main problem with that?

  11. A user has 10 credits. Two requests to spend 10 credits run at the same moment. Each one reads the balance (10), checks that it's enough, and writes back 10 - 10 = 0. What happens?

  12. Your page at /account shows the logged-in user's name and address. Which Cache-Control header is safest for it?

  13. Why is a slow service often more dangerous than one that is completely down?

  14. Your route saves an order in the database, then publishes an "order placed" event to a message broker. A deploy restarts the server between the two lines. What happens?

  15. Before your app confirms an order, it must know whether the item is in stock. Should the stock check be an event or a direct call?

0 of 15 answered