Session ID: 141
Mode: objective
Status: in_progress
Score: 0%
Filter: All | Incorrect | Flagged | Unanswered
Current filter: Unanswered
Enter the command that displays partition information and total free space in gdisk.
Status: Unanswered
Your Answer:
Accepted Answer(s):
p
Explanation:
The guided exercise answer states that p (print) shows the partition table and total free space [1].
Why would swapon /dev/sdb1 fail with 'read swap header failed' after creating a partition with parted mkpart primary linux-swap 0 1024M?
Status: Unanswered
Your Answer:
Options:
Explanation:
parted creates the partition of the correct type, but it does not set up the swap area. The partition must first be initialized with mkswap before swapon [1].
Which command creates an ext3 filesystem with bad block checking, label MyDisk, and a random UUID on /dev/sdc1?
Status: Unanswered
Your Answer:
Options:
Explanation:
The guided exercise answer gives mkfs.ext3 -c -L MyDisk -U random /dev/sdc1 [1].
Which command initializes /dev/sdb1 as swap space?
Status: Unanswered
Your Answer:
Accepted Answer(s):
mkswap /dev/sdb1
Explanation:
The lesson explains that a partition must first be set up as swap space using mkswap [1].
Before a disk can be used by an operating system, what must generally be created on it first?
Status: Unanswered
Your Answer:
Options:
Explanation:
A disk needs to be partitioned before it can be used, and partition information is stored in a partition table [1].
Which parted command can be used to recover a deleted partition when you know approximately where it began and ended?
Status: Unanswered
Your Answer:
Options:
Explanation:
The lesson states that parted can recover partitions using the rescue command [1].
Which command can create a 300 MB ext4 partition starting at 500 MB on a disk using parted?
Status: Unanswered
Your Answer:
Options:
Explanation:
The guided exercise answer gives mkpart primary ext4 500m 800m [1].
Which resize2fs option shrinks an ext filesystem so it becomes just large enough to contain its data?
Status: Unanswered
Your Answer:
Options:
Explanation:
The answer states that resize2fs -M makes the filesystem just big enough [1].
Which fdisk partition type code should be used to mark a partition as Linux swap on an MBR disk?
Status: Unanswered
Your Answer:
Options:
Explanation:
The answer to the explorational exercise states that the partition type should be changed to Linux Swap (82) [1].
Enter the command that creates a 300 MB ext4 partition starting at 500 MB using parted.
Status: Unanswered
Your Answer:
Accepted Answer(s):
mkpart primary ext4 500m 800m
Explanation:
The guided exercise answer gives this exact command [1].