ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 225 - XK0-005 discussion

Report
Export

A systems administrator is enabling LUKS on a USB storage device with an ext4 filesystem format. The administrator runs dmesg and notices the following output:

Given this scenario, which of the following should the administrator perform to meet these requirements? (Select three).

A.
gpg /dev/sdcl
Answers
A.
gpg /dev/sdcl
B.
pvcreate /dev/sdc
Answers
B.
pvcreate /dev/sdc
C.
mkfs . ext4 /dev/mapper/LUKSCJ001 - L ENCRYPTED
Answers
C.
mkfs . ext4 /dev/mapper/LUKSCJ001 - L ENCRYPTED
D.
umount / dev/ sdc
Answers
D.
umount / dev/ sdc
E.
fdisk /dev/sdc
Answers
E.
fdisk /dev/sdc
F.
mkfs . vfat /dev/mapper/LUKS0001 --- L ENCRYPTED
Answers
F.
mkfs . vfat /dev/mapper/LUKS0001 --- L ENCRYPTED
G.
wipefs ---a/dev/sdbl
Answers
G.
wipefs ---a/dev/sdbl
H.
cryptsetup IuksFormat /dev/ sdcl
Answers
H.
cryptsetup IuksFormat /dev/ sdcl
Suggested answer: C, D, H

Explanation:

To enable LUKS on a USB storage device with an ext4 filesystem format, the administrator needs to perform the following steps:

Unmount the device if it is mounted usingumount /dev/sdc(D)

Create a partition table on the device usingfdisk /dev/sdc(E)

Format the partition with LUKS encryption usingcryptsetup luksFormat /dev/sdc1(H)

Open the encrypted partition usingcryptsetup luksOpen /dev/sdc1 LUKS0001

Create an ext4 filesystem on the encrypted partition usingmkfs.ext4 /dev/mapper/LUKS0001

Mount the encrypted partition usingmount /dev/mapper/LUKS0001 /mntReference:

[CompTIA Linux+ Study Guide], Chapter 9: Securing Linux, Section: Encrypting Disks

[How to Encrypt USB Drive on Ubuntu 18.04]

asked 02/10/2024
Naeem Navaid Shaikh
38 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first