← All topics
Quiz: Linux for DevOps: questions with answers
10 questions, each with the answer and a short explanation.
Take the timed quiz + get a certificate →- Q1. What is the octal value of rw-r--r--?
- Q2. Which permission is right for a .env file containing secrets?
- Q3. Which command follows a service's logs live when it runs under systemd?
- Q4. In the sample log, which IP made the most requests?
- Q5. Which sshdconfig settings are part of basic server hardening?
- Q6. What does this print? (code)
- Q7. Why is chmod -R 777 a bad way to fix a permission error?
- Q8. Which command shows which processes are listening on which ports?
- Q9. Why run a long-running app as a systemd service?
- Q10. In the "site is slow" case study, what was the root cause and the lasting fix?