XK0-005 CompTIA Linux+ Exam

Loading demo links...

Showing 1–3 of 10 questions

Question 1

A Linux systems administrator is configuring a new filesystem that needs the capability to be mounted persistently across reboots. Which of the following commands will accomplish this task? (Choose two.)

Select all that apply, then click Submit answer.

  • df -h /data

  • mkfs.ext4 /dev/sdc1

  • fsck /dev/sdc1

  • fdisk -l /dev/sdc1

  • echo "/data /dev/sdc1 ext4 defaults 0 0" >> /etc/fstab

  • echo "/dev/sdc1 /data ext4 defaults 0 0" >> /etc/fstab

Question 2

A Linux system is failing to start due to issues with several critical system processes. Which of the following options can be used to boot the system into the single user mode? (Choose two.)

Select all that apply, then click Submit answer.

  • Execute the following command from the GRUB rescue shell: mount -o remount, ro/sysroot.

  • Interrupt the boot process in the GRUB menu and add systemd.unit=single in the kernel line.

  • Interrupt the boot process in the GRUB menu and add systemd.unit=rescue.target in the kernel line.

  • Interrupt the boot process in the GRUB menu and add single=user in the kernel line.

  • Interrupt the boot process in the GRUB menu and add init=/bin/bash in the kernel line.

  • Interrupt the boot process in the GRUB menu and add systemd.unit=single.target in the kernel line.

Question 3

A Linux systems administrator needs to copy files and directories from Server A to Server B. Which of the following commands can be used for this purpose? (Select TWO)

Select all that apply, then click Submit answer.

  • rsyslog

  • cp

  • rsync

  • reposync

  • scp

  • ssh