Free XK0-005 Exam Braindumps (page: 26)

Page 25 of 96

A Linux system is getting an error indicating the root filesystem is full. Which of the following commands should be used by the systems administrator to resolve this issue? (Choose three.)

  1. df -h /
  2. fdisk -1 /dev/sdb
  3. growpart /dev/mapper/rootvg-rootlv
  4. pvcreate /dev/sdb
  5. lvresize –L +10G -r /dev/mapper/rootvg-rootlv
  6. lsblk /dev/sda
  7. parted -l /dev/mapper/rootvg-rootlv
  8. vgextend /dev/rootvg /dev/sdb

Answer(s): A,E,H



A cloud engineer is asked to copy the file deployment.yaml from a container to the host where the container is running. Which of the following commands can accomplish this task?

  1. docker cp container_id/deployment.yaml deployment.yaml
  2. docker cp container_id:/deployment.yaml deployment.yaml
  3. docker cp deployment.yaml local://deployment.yaml
  4. docker cp container_id/deployment.yaml local://deployment.yaml

Answer(s): B



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

  1. Execute the following command from the GRUB rescue shell: mount -o remount, ro/sysroot.
  2. Interrupt the boot process in the GRUB menu and add systemd.unit=single in the kernel line.
  3. Interrupt the boot process in the GRUB menu and add systemd.unit=rescue.target in the kernel line.
  4. Interrupt the boot process in the GRUB menu and add single=user in the kernel line.
  5. Interrupt the boot process in the GRUB menu and add init=/bin/bash in the kernel line.
  6. Interrupt the boot process in the GRUB menu and add systemd.unit=single.target in the kernel line.

Answer(s): C,E



A DevOps engineer needs to allow incoming traffic to ports in the range of 4000 to 5000 on a Linux server. Which of the following commands will enforce this rule?

  1. iptables -f filter -I INPUT -p tcp --dport 4000:5000 -A ACCEPT
  2. iptables -t filter -A INPUT -p tcp --dport 4000:5000 -j ACCEPT
  3. iptables filter -A INPUT -p tcp --dport 4000:5000 -D ACCEPT
  4. iptables filter -S INPUT -p tcp --dport 4000:5000 -A ACCEPT

Answer(s): B






Post your Comments and Discuss CompTIA XK0-005 exam with other Community members:

XK0-005 Exam Discussions & Posts