Security
An administrator is encrypting a new, empty partition, /dev/sdb1, with LUKS2 and will format and use it manually from the command line. Which four actions are part of this process? (Choose four.)
Choose 4 answers
Show the answer
Correct answersA. Mount /dev/mapper/secure_data on a directoryD. Run cryptsetup luksFormat --type luks2 /dev/sdb1E. Run mkfs.ext4 on /dev/mapper/secure_dataF. Run cryptsetup open /dev/sdb1 secure_data
The LUKS2 header is created with luksFormat, the volume is unlocked with open to create a mapper device, the filesystem is created on that mapper device, and it is then mounted. Running mkfs on the raw partition would overwrite the LUKS header and destroy the encryption setup.