🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← 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 →
  1. Q1. What is the octal value of rw-r--r--?
  2. Q2. Which permission is right for a .env file containing secrets?
  3. Q3. Which command follows a service's logs live when it runs under systemd?
  4. Q4. In the sample log, which IP made the most requests?
  5. Q5. Which sshdconfig settings are part of basic server hardening?
  6. Q6. What does this print? (code)
  7. Q7. Why is chmod -R 777 a bad way to fix a permission error?
  8. Q8. Which command shows which processes are listening on which ports?
  9. Q9. Why run a long-running app as a systemd service?
  10. Q10. In the "site is slow" case study, what was the root cause and the lasting fix?