nerdexam
Linux_Foundation

LFCS · Question #392

What is the difference between an SELinux domain and an SELinux type?

The correct answer is C. A domain is assigned to processes while a type is assigned to objects such as files and directories. In SELinux, a domain specifically refers to the type assigned to a process, while a type is a more general label applied to all objects, including files, directories, and processes.

Submitted by yuriko_h· Apr 18, 2026Operation of Running Systems

Question

What is the difference between an SELinux domain and an SELinux type?

Options

  • AA domain is a group of SELinux types.
  • BA domain defines the range of access that an object has. A type is used to define an access level.
  • CA domain is assigned to processes while a type is assigned to objects such as files and directories.
  • DA domain is an alternative keyword for type.

How the community answered

(24 responses)
  • A
    4% (1)
  • B
    8% (2)
  • C
    88% (21)

Why each option

In SELinux, a domain specifically refers to the type assigned to a process, while a type is a more general label applied to all objects, including files, directories, and processes.

AA domain is a group of SELinux types.

A domain is not merely a group of types; it is a type itself, specifically for processes.

BA domain defines the range of access that an object has. A type is used to define an access level.

While types and domains define access, this description is not the fundamental difference in what they are assigned to.

CA domain is assigned to processes while a type is assigned to objects such as files and directories.Correct

An SELinux domain is a specific type applied to a process, defining its permissions, whereas a type is a more general classification label applied to files, directories, network ports, and other system objects, as well as processes.

DA domain is an alternative keyword for type.

A domain is not an alternative keyword for type; rather, a domain is a special kind of type used for processes.

Concept tested: SELinux domain vs. type

Source: https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9/html/using_selinux/getting-started-with-selinux_using-selinux#selinux-components_getting-started-with-selinux

Topics

#SELinux#Security Context#Process Management#File System Security

Community Discussion

No community discussion yet for this question.

Full LFCS Practice