LPIC-2 Exam 202 (Linux Engineer) — Question 30
How are PAM modules organized and stored?
Answer options
- A. As plain text files in /etc/security/
- B. A statically linked binaries in /etc/pam.d/bin/
- C. As Linux kernel modules within the respective sub directory of /lib/modules/
- D. As shared object files within the /lib/ directory hierarchy
- E. As dynamically linked binaries in /usr/lib/pam/sbin/
Correct answer: D
Explanation
The correct answer is D because PAM modules are stored as shared object files, which allows them to be dynamically loaded into the application at runtime. The other options are incorrect as PAM modules are not stored as plain text files, statically linked binaries, kernel modules, or dynamically linked binaries in the specified directories.