LPIC-2 Exam 202 (Linux Engineer) — Question 77
What does the samba-tool testparm command confirm regarding the Samba configuration?
Answer options
- A. The configuration loads successfully.
- B. The service operates as expected.
- C. The Samba services are started automatically when the system boots.
- D. The netfilter configuration on the Samba server does not block any access to the services defined in the configuration.
- E. All running Samba processes use the most recent configuration version.
Correct answer: A
Explanation
The correct answer is A because the samba-tool testparm command checks the validity of the Samba configuration file and confirms that it can be loaded without errors. The other options do not pertain specifically to what testparm validates; they address service operation, startup behavior, firewall settings, and configuration versioning rather than configuration loading success.