Two questions, really:
Is there a standard/convention regarding the placement on configuration files?
For system or quasi-system programs they see
Generally speaking, command line options will override environment variables which will override user defaults which will override system defaults.