300-300 · Question #43
300-300 Question #43: Real Exam Question with Answer & Explanation
The correct answer is C. slapindex. slapindex is the dedicated OpenLDAP utility for regenerating database indices - it reads the existing database contents and rebuilds the index files according to the current slapd.conf (or cn=config) index directives, which is essential after adding new index definitions or after
Question
Options
- Aslapd index
- Bsindexd
- Cslapindex
- DThere is no index command, indexing is handled by the slapd daemon.
Explanation
slapindex is the dedicated OpenLDAP utility for regenerating database indices - it reads the existing database contents and rebuilds the index files according to the current slapd.conf (or cn=config) index directives, which is essential after adding new index definitions or after data corruption. Option A (slapd index) is wrong because slapd is the daemon itself and does not accept an index subcommand. Option B (sindexd) is simply a fabricated command that does not exist in OpenLDAP. Option D is incorrect because indexing is configured in the daemon's settings, but the actual index regeneration requires running slapindex manually (typically with the daemon stopped). A useful memory tip: think of the OpenLDAP tool suite as following the pattern slap + action - slapadd, slapcat, slaptest, and slapindex - all are offline administrative utilities distinct from the running slapd daemon.
Topics
Community Discussion
No community discussion yet for this question.