exam questions

Exam LX0-103 All Questions

View all questions & answers for the LX0-103 exam

Exam LX0-103 topic 2 question 9 discussion

Actual exam question from CompTIA's LX0-103
Question #: 9
Topic #: 2
[All LX0-103 Questions]

SIMULATION -
Which command will disable swapping on a device? (Specify ONLY the command without any path or parameters.)

Show Suggested Answer Hide Answer
Suggested Answer: swapoff -or- /sbin/swapoff

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
linux_admin
2 years, 2 months ago
swapoff The swapoff command is used to temporarily disable swapping on a device, such as a swap partition or swap file. When swapping is disabled, the operating system will not use the device as a source of virtual memory, and the contents of any memory pages that have been swapped to the device will be lost. To use the swapoff command, you must specify the path to the device that you want to disable, such as /dev/sda2 for a swap partition or /swapfile for a swap file. It is important to note that disabling swapping can have a significant impact on the performance and stability of the system, as the operating system will be unable to use the device as a source of virtual memory. It is recommended to only disable swapping if you have a specific need to do so, and to be cautious when using the swapoff command.
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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago