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