nerdexam
CompTIA

CAS-002 · Question #229

A Linux security administrator is attempting to resolve performance issues with new software installed on several baselined user systems. After investigating, the security administrator determines…

The correct answer is A. Enforcing mode with an incorrectly configured policy. SELinux in enforcing mode with an incorrectly configured policy blocks new software from accessing required resources, causing initialization failures without the administrator disabling security.

Technical Integration of Enterprise Components

Question

A Linux security administrator is attempting to resolve performance issues with new software installed on several baselined user systems. After investigating, the security administrator determines that the software is not initializing or executing correctly. For security reasons, the company has implemented trusted operating systems with the goal of preventing unauthorized changes to the configuration baseline. The MOST likely cause of this problem is that SE Linux is set to:

Options

  • AEnforcing mode with an incorrectly configured policy.
  • BEnforcing mode with no policy configured.
  • CDisabled with a correctly configured policy.
  • DPermissive mode with an incorrectly configured policy.

How the community answered

(26 responses)
  • A
    77% (20)
  • B
    8% (2)
  • C
    12% (3)
  • D
    4% (1)

Why each option

SELinux in enforcing mode with an incorrectly configured policy blocks new software from accessing required resources, causing initialization failures without the administrator disabling security.

AEnforcing mode with an incorrectly configured policy.Correct

When SELinux is in enforcing mode, it actively denies any operation not explicitly permitted by the loaded policy. If the installed software requires file, network, or IPC access that is not defined in the existing policy, SELinux silently blocks those operations, causing the software to fail during initialization or execution - exactly the behavior described, without producing obvious error messages that point to SELinux as the cause.

BEnforcing mode with no policy configured.

SELinux in enforcing mode with no policy at all would block virtually every operation on the system including basic OS functions, causing catastrophic system-wide failure rather than the targeted failure of only the new software.

CDisabled with a correctly configured policy.

A disabled SELinux does not enforce any access controls, so software would run freely regardless of the policy configuration - this would not cause the initialization failures described.

DPermissive mode with an incorrectly configured policy.

SELinux in permissive mode logs policy violations as AVC denials but does not block operations, so the software would still initialize and execute even if the policy were misconfigured.

Concept tested: SELinux enforcing mode policy misconfiguration blocking software

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

Topics

#SELinux#mandatory access control#enforcing mode#trusted operating system

Community Discussion

No community discussion yet for this question.

Full CAS-002 Practice