exam questions

Exam XK0-005 All Questions

View all questions & answers for the XK0-005 exam

Exam XK0-005 topic 1 question 406 discussion

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

Users connecting to a MySQL database on a Linux system report frequent errors. An administrator reviews the following partial output of the /proc/meminfo and free commands:



Which of the following should the administrator do to ensure that the MySQL service will continue to run even if the system runs out of swap space? (Choose two.)

  • A. Issue the sysctl -w vm.overcommit_ratio=100 command.
  • B. Issue the sysctl -w vm.overcommit_memory=2 command.
  • C. Issue the dd if=/dev/zero of=/swapfile bs=1024 count=65536 command.
  • D. Issue the mkswap /dev/sda2; swapon -v /dev/sda2 command.
  • E. Reload the /etc/fstab file by issuing the mount -a command.
  • F. Use disk quotas on the swap space to prevent MySQL from overutilizing the swap partition.
Show Suggested Answer Hide Answer
Suggested Answer: CD 🗳️

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
boxafrica
2 days, 5 hours ago
Selected Answer: B
This is a straightforward question. The answer is B.
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 ...