exam questions

Exam 201-450 All Questions

View all questions & answers for the 201-450 exam

Exam 201-450 topic 1 question 17 discussion

Actual exam question from LPI's 201-450
Question #: 17
Topic #: 1
[All 201-450 Questions]

Due to extreme system use, a Linux system requires some additional swap space. To initialize 5 GB 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; mount /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; swapon /tmp/swapfile
  • D. touch -5G /tmp/swapfile; swapon /tmp/swapfile
  • E. mkswap /tmp/swapfile 512000; swapon /tmp/swapfile
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

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
chiaseed
3 months, 3 weeks ago
Selected Answer: C
It's C. https://lpic2book.github.io/src/lpic2.203.1/?h=swapon#swap
upvoted 1 times
...
milan92stankovic
2 years, 12 months ago
C - 100%
upvoted 2 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