CompTIA Server+ (SK0-005) — Question 219
A server technician is installing application updates on a Linux server. When the technician tries to install a MySQL update, the GUI displays the following error message: AVC denial. Which of the following should the technician do for the MySQL update to install?
Answer options
- A. Download the update manually and run a checksum utility to verify file integrity.
- B. Issue the setenforce 0 command.
- C. Create a firewall rule to allow port 3306 through the firewall.
- D. Issue the yum -y update mysql command.
Correct answer: B
Explanation
The correct answer is B because issuing the setenforce 0 command temporarily sets SELinux to permissive mode, allowing the MySQL update to bypass the AVC denial. The other options do not address the SELinux restriction directly; manually downloading the update, creating a firewall rule, or running the yum command will not resolve the underlying access control issue.