Session Review

Session ID: 141
Mode: objective
Status: in_progress
Score: 0%

Filter: All | Incorrect | Flagged | Unanswered

Current filter: All

Back to Session

Question 1 (104.1-024 / command_line)

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].

Question 2 (104.1-007 / multiple_choice)

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].

Question 3 (104.1-015 / multiple_choice)

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].

Question 4 (104.1-018 / short_answer)

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].

Question 5 (104.1-001 / multiple_choice)

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].

Question 6 (104.1-014 / multiple_choice)

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].

Question 7 (104.1-006 / multiple_choice)

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].

Question 8 (104.1-013 / multiple_choice)

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].

Question 9 (104.1-010 / multiple_choice)

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].

Question 10 (104.1-022 / command_line)

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].