LPI
117-201 · Question #270
117-201 Question #270: Real Exam Question with Answer & Explanation
Sign in or unlock 117-201 to reveal the answer and full explanation for question #270. The question stem and answer options stay visible for context.
Question
Due to extreme system use, a Linux system requires some additional swap space. To initialize 5GB of additional swap space, which combination of commands should be used?
Options
- Add if=/dev/zero of=/tmp/swapfile bs=1024 count=5120000; mkswap /tmp/swapfile; mount
- Bdd if=/dev/zero of=/tmp/swapfile bs=1024 count=5120000; swapon /tmp/swapfile
- Cdd if=/dev/zero of=/tmp/swapfile bs=1024 count=5120000; mkswap /tmp/swapfile; swapon
- Dtouch -5G /tmp/swapfile; swapon /tmp/swapfile
- Emkswap /tmp/swapfile 512000; swapon /tmp/swapfile
Unlock 117-201 to see the answer
You've previewed enough free 117-201 questions. Unlock 117-201 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.