nerdexam
CompTIA

LX0-104 · Question #431

Which of the following parameters in slapd.conf are used to tune the database cache size? (Choose TWO answers.)

The correct answer is B. dbcachesize D. cachesize. In OpenLDAP's slapd.conf, the dbcachesize and cachesize parameters are used to configure the size of the database cache.

Essential System Services

Question

Which of the following parameters in slapd.conf are used to tune the database cache size? (Choose TWO answers.)

Options

  • Adcachesize
  • Bdbcachesize
  • Cdatabasecachesize
  • Dcachesize

How the community answered

(16 responses)
  • A
    6% (1)
  • B
    94% (15)

Why each option

In OpenLDAP's slapd.conf, the dbcachesize and cachesize parameters are used to configure the size of the database cache.

Adcachesize

dcachesize is not a standard or recognized parameter in slapd.conf for tuning database cache sizes.

BdbcachesizeCorrect

The dbcachesize directive in OpenLDAP's slapd.conf is used to specify the size of the database cache, typically referring to the BDB/HDB backend's cache for database pages, improving performance by holding frequently accessed data in memory.

Cdatabasecachesize

databasecachesize is not a standard or recognized parameter in slapd.conf for tuning database cache sizes.

DcachesizeCorrect

The cachesize directive is another parameter found in slapd.conf that influences the size of the database cache, often used for controlling the entry cache within the LDAP server, which stores parsed entries for faster retrieval.

Concept tested: OpenLDAP database cache configuration

Source: https://linux.die.net/man/5/slapd.conf

Topics

#LDAP performance tuning#slapd.conf#database cache

Community Discussion

No community discussion yet for this question.

Full LX0-104 Practice