exam questions

Exam XK0-005 All Questions

View all questions & answers for the XK0-005 exam

Exam XK0-005 topic 1 question 90 discussion

Actual exam question from CompTIA's XK0-005
Question #: 90
Topic #: 1
[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?

  • A. sudo fdisk /dev/sda
  • B. sudo fdisk -s /dev/sda
  • C. sudo fdisk -l
  • D. sudo fdisk -h
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
Alizadeh
8 months, 3 weeks ago
Selected Answer: C
The correct answer is C. sudo fdisk -l.
upvoted 1 times
...
linux_admin
1 year, 2 months ago
The correct command is C. sudo fdisk -l The sudo fdisk -l command is used to list information about all the partitions on the system. The output will include the device name, file system type, size, and other relevant information for each partition. In this case, the administrator is looking for the device name of the primary partition on the replacement hard drive for an application server. By using the sudo fdisk -l command, the administrator will be able to see a list of all the partitions on the system and identify the device name for the new partition.
upvoted 2 times
...
Ckl22
1 year, 4 months ago
Selected Answer: C
"-l" = "--list" List the partition tables for the specified devices and then exit
upvoted 1 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