nerdexam
CompTIA

LX0-104 · Question #338

Which of the following is the correct syntax for including a schema file in slapd.conf?

The correct answer is A. include /usr/local/etc/openldap/schema/core.schema. This question asks for the correct directive to include a schema file in the OpenLDAP server configuration file, slapd.conf.

Essential System Services

Question

Which of the following is the correct syntax for including a schema file in slapd.conf?

Options

  • Ainclude /usr/local/etc/openldap/schema/core.schema
  • Ballow /usr/local/etc/openldap/schema/core.schema
  • Cpermit /usr/local/etc/openldap/schema/core.schema
  • Dadd /usr/local/etc/openldap/schema/core.schema

How the community answered

(58 responses)
  • A
    95% (55)
  • B
    3% (2)
  • D
    2% (1)

Why each option

This question asks for the correct directive to include a schema file in the OpenLDAP server configuration file, slapd.conf.

Ainclude /usr/local/etc/openldap/schema/core.schemaCorrect

The include directive in slapd.conf is used to load additional configuration files, such as schema definition files. By using include /usr/local/etc/openldap/schema/core.schema, the OpenLDAP server is instructed to parse and incorporate the definitions from the core.schema file during startup.

Ballow /usr/local/etc/openldap/schema/core.schema

The allow directive is not a standard way to include schema files in slapd.conf.

Cpermit /usr/local/etc/openldap/schema/core.schema

The permit directive is not a standard way to include schema files in slapd.conf.

Dadd /usr/local/etc/openldap/schema/core.schema

The add directive is not a standard way to include schema files in slapd.conf.

Concept tested: OpenLDAP schema inclusion syntax

Topics

#LDAP#OpenLDAP#slapd.conf#schema files

Community Discussion

No community discussion yet for this question.

Full LX0-104 Practice