exam questions

Exam SK0-005 All Questions

View all questions & answers for the SK0-005 exam

Exam SK0-005 topic 1 question 359 discussion

Actual exam question from CompTIA's SK0-005
Question #: 359
Topic #: 1
[All SK0-005 Questions]

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?

  • 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.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
[Removed]
8 months, 2 weeks ago
The error message "AVC denial" indicates that SELinux (Security-Enhanced Linux) is blocking the operation. SELinux enforces mandatory access controls on Linux systems, and AVC (Access Vector Cache) denial messages indicate that SELinux has denied access to a particular operation. To allow the MySQL update to install while SELinux is enabled, the technician should choose option B. Issue the setenforce 0 command. This command temporarily sets SELinux to permissive mode, which logs denials but does not enforce them. This allows the technician to install the MySQL update without SELinux blocking the operation. However, it's important to note that setting SELinux to permissive mode should be done cautiously, and SELinux should be set back to enforcing mode (setenforce 1) after completing the update to maintain security posture.
upvoted 2 times
...
surfuganda
9 months, 2 weeks ago
Selected Answer: B
B. Issue the setenforce 0 command. The error message "AVC denial" typically indicates an SELinux (Security-Enhanced Linux) permission issue. SELinux enforces mandatory access controls on Linux systems, and AVC denial suggests that SELinux is preventing the MySQL update from installing due to security policies. Thhe "setenforce 0" command temporarily sets SELinux to permissive mode, which means that SELinux policies will be logged but not enforced. By setting SELinux to permissive mode, the technician can attempt the MySQL update again. If the update completes successfully in permissive mode, it confirms that SELinux was indeed blocking the update. However, leaving SELinux in permissive mode is not a recommended long-term solution as it reduces the security posture of the system.
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...