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:

Nydia
1 months ago
I'm not sure, but I think A) sudo fdisk /dev/sda might also work to verify the device name.
upvoted 0 times
...
France
1 months ago
I agree with Domingo, because the -l option lists all partitions on the specified device.
upvoted 0 times
...
Tarra
1 months 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
Odette
7 days ago
Yeah, 'sudo fdisk -l' is the safest bet to ensure you are working on the right partition.
upvoted 0 times
...
Tawna
16 days ago
I always double-check with 'sudo fdisk -l' to avoid any mistakes when creating partitions.
upvoted 0 times
...
Joni
20 days ago
Using 'sudo fdisk -l' will list all partitions on the device, making it easy to identify the correct one.
upvoted 0 times
...
Devorah
21 days ago
I agree, option C is the correct command to verify the device name of the partition.
upvoted 0 times
...
...
Eloisa
1 months ago
Just remember, with great power comes great responsibility. Use fdisk wisely, my friend.
upvoted 0 times
...
Sheridan
1 months 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
1 months ago
I think the answer is C) sudo fdisk -l.
upvoted 0 times
...
Amira
2 months ago
Option C is the way to go! Listing the partitions is the best way to verify the device name.
upvoted 0 times
Bettina
13 days ago
Yes, using 'sudo fdisk -l' will list all partitions and their device names.
upvoted 0 times
...
Wenona
29 days ago
I agree, option C is the correct command to verify the device name.
upvoted 0 times
...
...

Save Cancel