LPI Exam Questions

Which configuration file should be modified, to set this kernel parameter permanently?

CORRECT TEXT
A database application requires a maximum shared memory segment (shmmax) of 2GB
(2147483648 Bytes).
Which configuration file should be modified, to set this kernel parameter permanently? Please
enter the complete path to the file.

Answer: /etc/sysctl.conf

Explanation:

From the man pages:
sysctl.conf – sysctl(8) preload/configuration file
sysctl.conf is a simple file containing sysctl values to be read in and set by sysctl(8).