🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: Secrets and Configuration: all 10 questions

Quiz: Secrets and Configuration · Question 7 of 10

A reporting service only needs to read sales data. Which credential should it get?

A reporting service only needs to read sales data. Which credential should it get?

  1. A.The database admin password
  2. B.Its own read-only database user
  3. C.The same password as every other service
  4. D.No password, with the database open to all
Answer & explanation

Correct answer: Its own read-only database user

Least privilege limits the damage if this service's credential leaks.

Can you get the rest right without peeking?

Take the timed Quiz: Secrets and Configuration quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →