nerdexam
ExamsLX0-104Questions#393
CompTIA

LX0-104 · Question #393

LX0-104 Question #393: Real Exam Question with Answer & Explanation

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/.*

Community Discussion

No community discussion yet for this question.

Full LX0-104 Practice