🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← All topics

Quiz: Secrets and Configuration: questions with answers

10 questions, each with the answer and a short explanation.

Take the timed quiz + get a certificate →
  1. Q1. According to the Twelve-Factor App idea, where should configuration like the database URL live?
  2. Q2. Why should an app check its required configuration at startup and refuse to start if something is missing?
  3. Q3. What does this print? (code)
  4. Q4. Which file should be committed to Git?
  5. Q5. What does this print? (code)
  6. Q6. What is the main advantage of a secret manager over a password in a file on the server?
  7. Q7. A reporting service only needs to read sales data. Which credential should it get?
  8. Q8. Your cloud key was pushed to a public repository. What should you do first?
  9. Q9. What does this print? (code)
  10. Q10. Why are short-lived credentials from a cloud role safer than a permanent access key?