Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

CompTIA Exam XK0-005 Topic 4 Question 52 Discussion

Actual exam question for CompTIA's XK0-005 exam
Question #: 52
Topic #: 4
[All XK0-005 Questions]

A Linux administrator is creating a primary partition on the replacement hard drive for an application server. Which of the following commands should the administrator issue to verify the device name of this partition?

Show Suggested Answer Hide Answer
Suggested Answer: C

The commandsudo fdisk -lshould be issued to verify the device name of the partition. Thesudocommand allows the administrator to run commands as the superuser or another user. Thefdiskcommand is a tool for manipulating disk partitions on Linux systems. The-loption lists the partitions on all disks or a specific disk. The commandsudo fdisk -lwill show the device names, sizes, types, and other information of the partitions on all disks. The administrator can identify the device name of the partition by looking at the output. This is the correct command to use to accomplish the task. The other options are incorrect because they either do not list the partitions (sudo fdisk /dev/sdaorsudo fdisk -h) or do not exist (sudo fdisk -s /dev/sda).Reference:CompTIA Linux+ (XK0-005) Certification Study Guide, Chapter 10: Managing Storage, page 317.


Contribute your Thoughts:

France
2 days ago
I agree with Domingo, because the -l option lists all partitions on the specified device.
upvoted 0 times
...
Tarra
3 days ago
I once tried to fdisk my way out of a paper bag. Didn't end well. Option C is the clear winner here.
upvoted 0 times
...
Eloisa
5 days ago
Just remember, with great power comes great responsibility. Use fdisk wisely, my friend.
upvoted 0 times
...
Sheridan
6 days ago
Wow, I thought fdisk was just for creating partitions. Didn't know it could also list them. Good to know!
upvoted 0 times
...
Domingo
6 days ago
I think the answer is C) sudo fdisk -l.
upvoted 0 times
...
Amira
12 days ago
Option C is the way to go! Listing the partitions is the best way to verify the device name.
upvoted 0 times
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77