CompTIA
XK0-005 · Question #10710
A new hard drive /dev/sdd was added to a server. Which of the following commands will create a partition table with a single partition /dev/sdd1 that consumes the entire disk?
The correct answer is A. echo 'type=83' | sudo sfdisk /dev/sdd. The sfdisk tool is used to manipulate partition tables in Linux. Option A creates a single partition on /dev/sdd of type 83 (Linux filesystem). type=83 specifies the partition type for Linux. The command pipes this configuration to sfdisk to apply it directly to /dev/sdd.
System Management
Question
A new hard drive /dev/sdd was added to a server. Which of the following commands will create a partition table with a single partition /dev/sdd1 that consumes the entire disk?
Options
- Aecho 'type=83' | sudo sfdisk /dev/sdd
- Bsudo sfdisk /dev/sdd -t=83
- Cecho 'auto' | sudo fdisk /dev/sdd
- Dsudo fdisk /dev/sdd -1 -t=83
How the community answered
(27 responses)- A74% (20)
- B15% (4)
- C7% (2)
- D4% (1)
Explanation
The sfdisk tool is used to manipulate partition tables in Linux. Option A creates a single partition on /dev/sdd of type 83 (Linux filesystem). type=83 specifies the partition type for Linux. The command pipes this configuration to sfdisk to apply it directly to /dev/sdd.
Topics
#sfdisk#Partitioning#Disk Management#Command Line
Community Discussion
No community discussion yet for this question.