CompTIA Linux+ XK0-006 (V8) Practice Question

A PHP application running under Apache on a CentOS 9 Stream server fails to open a TCP connection to a remote MariaDB database on port 3306 while SELinux is in enforcing mode. The audit log records a name_connect denial for the httpd_t domain to mysql_port_t. To permanently grant only the required permission-letting the web server reach the database but not other arbitrary network ports-which SELinux Boolean should you enable?

  • httpd_can_network_memcache

  • allow_httpd_connect_mysql

  • httpd_can_network_connect

  • httpd_can_network_connect_db

CompTIA Linux+ XK0-006 (V8)
Troubleshooting
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot