Which combination of commands should be used?

A system is running out of swap space. To initialize 5GB of additional swap space, which combination of commands should be used?
A. dd if=/dev/zero of=/tmp/swapfile bs=1024 count 5120000; mkswap /tmp/swapfile; swapon /tmp/swapfile
B. dd if=/dev/zero of=/tmp/swapfile bs=1024 count 5120000; swapon /tmp/swapfile
C. dd if=/dev/zero of=/tmp/swapfile bs=1024 count 5120000; mkswap /tmp/swapfile; mount /tmp/swapfile
D. touch -5G /tmp/swapfile; swapon /tmp/swapfile
E. mkswap /tmp/swapfile 5120000; swapon /tmp/swapfile

Download Printable PDF. VALID exam to help you PASS.

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.