nerdexam
Linux_Foundation

LFCS · Question #8

The X11 configuration file xorg.conf is grouped into sections. How is the content of the section SectionName associated with that section?

The correct answer is B. It is placed between a line containing Section "SectionName" and a line containing EndSection. X.Org configuration files, such as xorg.conf, define sections using a specific block structure with Section "SectionName" and EndSection directives.

Submitted by lukas.cz· Apr 18, 2026Service Configuration

Question

The X11 configuration file xorg.conf is grouped into sections. How is the content of the section SectionName associated with that section?

Options

  • AIt is placed in curly brackets as in Section SectionName { ... }.
  • BIt is placed between a line containing Section "SectionName" and a line containing EndSection.
  • CIt is placed between the tags <Section name="SectionName"> and </Section>
  • DIt is placed after the row [SectionName].
  • EIt is placed after an initial unindented Section "SectionName" and must be indented by exactly

How the community answered

(38 responses)
  • A
    3% (1)
  • B
    92% (35)
  • C
    5% (2)

Why each option

X.Org configuration files, such as `xorg.conf`, define sections using a specific block structure with `Section "SectionName"` and `EndSection` directives.

AIt is placed in curly brackets as in Section SectionName { ... }.

Curly brackets (`{}`) are not the standard syntax for defining sections in `xorg.conf` files.

BIt is placed between a line containing Section "SectionName" and a line containing EndSection.Correct

In X.Org configuration files like `xorg.conf`, content belonging to a specific section, identified by `SectionName`, is enclosed between a line starting with `Section "SectionName"` and a subsequent line containing `EndSection`.

CIt is placed between the tags <Section name="SectionName"> and </Section>

XML-like tags (`<Section>...</Section>`) are not used in `xorg.conf` configuration files; this syntax is characteristic of XML documents.

DIt is placed after the row [SectionName].

Square brackets (`[]`) are typically used in INI-style configuration files, not for defining sections in `xorg.conf`.

EIt is placed after an initial unindented Section "SectionName" and must be indented by exactly

While indentation improves readability, it is not the mechanism for associating content with a section in `xorg.conf`; the `EndSection` directive explicitly closes the section.

Concept tested: X.Org configuration file section syntax

Source: https://www.x.org/releases/X11R7.7/doc/man/man5/xorg.conf.5.html

Topics

#xorg.conf#X11 configuration#Configuration file syntax

Community Discussion

No community discussion yet for this question.

Full LFCS Practice