nerdexam
CompTIA

LX0-102 · Question #393

An SELinux security context is required to ensure that all files in /opt have the default context of system_u:object_r:usr_t. How should the corresponding configuration entry be formatted?

The correct answer is B. /opt/.* system_u:object_r:usr_t. See the full explanation below for the reasoning.

Question

An SELinux security context is required to ensure that all files in /opt have the default context of system_u:object_r:usr_t. How should the corresponding configuration entry be formatted?

Options

  • Asystem_u:object_r:usr_t /opt/*
  • B/opt/.* system_u:object_r:usr_t
  • C/opt/* system_u:object_r:usr_t
  • Dsystem_u:object_r:usr_t: /opt/.*
  • Esystem_u:object_r:usr_t /opt/.*

How the community answered

(47 responses)
  • A
    2% (1)
  • B
    83% (39)
  • C
    9% (4)
  • D
    4% (2)
  • E
    2% (1)

Community Discussion

No community discussion yet for this question.

Full LX0-102 Practice