ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 90 - XK0-005 discussion

Report
Export

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
Answers
A.
sudo fdisk /dev/sda
B.
sudo fdisk -s /dev/sda
Answers
B.
sudo fdisk -s /dev/sda
C.
sudo fdisk -l
Answers
C.
sudo fdisk -l
D.
sudo fdisk -h
Answers
D.
sudo fdisk -h
Suggested answer: C

Explanation:

The command sudo fdisk -l should be issued to verify the device name of the partition.

The sudo command allows the administrator to run commands as the superuser or another user.

The fdisk command is a tool for manipulating disk partitions on Linux systems. The -l option lists the partitions on all disks or a specific disk. The command sudo fdisk -l will 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/sda or sudo 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.

asked 02/10/2024
Paul Sanchez
34 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first