Skip to content
Skills
Problems
Questions
Roles
Skills
Interview
Contest
Leaderboard
Problems
Questions
Roles
Skills
Interview
Contest
Leaderboard
Home
/
Backend Developer
/
Easy
/
Database user for the app
easy
5 pts · first answer counts
security
sql
Database user for the app
Which database account setup is best for a production API service?
Choose one answer
A.
Use the superuser account for everything, so migrations, extensions and queries never fail on missing permissions
B.
Give the app its own user with only the rights it needs on its tables, and run migrations with a separate user
C.
Share one admin account between all services so passwords are easier to rotate
D.
Grant ALL PRIVILEGES on every database to the app user
Submit answer
Report a problem
← What HTTPS leaves visible
Take the easy mock interview →