Red Hat Certified Architect (RHCA) Certification 2025 – 400 Free Practice Questions to Pass the Exam

Question: 1 / 400

What kernel argument should be added to disable SELinux from boot options?

setenforce 0

selinux=0

To disable SELinux from the boot options, adding "selinux=0" as a kernel argument is the correct choice. This argument specifically instructs the Linux kernel to disable the SELinux security features early in the boot process. By doing so, the operating system will not enforce SELinux policies at all, effectively making the system operate as if SELinux is not present.

Other options may seem plausible at first glance but do not actually achieve the same result. For instance, "setenforce 0" is a command used in a running system to switch SELinux from enforcing mode to permissive mode, but it is not a kernel boot option and does not disable SELinux outright. "enforcing=0" is not a recognized kernel parameter for controlling SELinux behavior during boot and will not have the intended effect. "disable_selinux=true" is also incorrect as it isn't a valid syntax recognized by the kernel to manage SELinux settings.

Therefore, for disabling SELinux at boot time, the appropriate and effective method is indeed to use "selinux=0" as a kernel argument.

Get further explanation with Examzify DeepDiveBeta

enforcing=0

disable_selinux=true

Next Question

Report this question

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy