nerdexam
LPI

201-450 · Question #42

201-450 Question #42: Real Exam Question with Answer & Explanation

The correct answer is A. dd if=/dev/zero of=/tmp/swapfile bs=1024 count=5120000;. See the full explanation below for the reasoning.

Question

A system is running out of swap space. To initialise 5GB of additional swap space, which combination of commands should be used?

Options

  • Add if=/dev/zero of=/tmp/swapfile bs=1024 count=5120000;
  • Bdd if=/dev/zero of=/tmp/swapfile bs=1024 count=5120000;
  • Cdd if=/dev/zero of=/tmp/swapfile bs=1024 count=5120000;
  • Dtouch -5G /tmp/swapfile;
  • Emkswap /tmp/swapfile 512000;

Community Discussion

No community discussion yet for this question.

Full 201-450 Practice