Comptia Linux+ LX0-103 Certification Exam Practice Test Set 5

Which of the following commands will write a message to the terminals of all logged in
users?


Options are :

  • bcast
  • mesg
  • print
  • wall

Answer : wall

Which command will disable swapping on a device? (Specify ONLY the command without
any path or parameters.)


Options are :

  • swapoff, /sbin/swapoff

Answer : swapoff, /sbin/swapoff

CA1-001 CompTIA Advanced Security Practitioner Practice Exam Set 2

Which RPM command will output the name of the package which supplied the file
/etc/exports?


Options are :

  • rpm -qf /etc/exports
  • rpm -Kl /etc/exports
  • rpm -qp /etc/exports
  • rpm -F /etc/exports
  • rpm -qi /etc/exports

Answer : rpm -qf /etc/exports

When removing a package, which of the following dpkg options will completely remove the
files including configuration files?


Options are :

  • --purge
  • --clean
  • --delete
  • -remove

Answer : --purge

Which of the following is correct when talking about mount points?


Options are :

  • Files within a directory are deleted when the directory is used as a mount point.
  • Only empty directories can be used as a mount point.
  • Directories need to have the SetUID flag set to be used as a mount point.
  • Every existing directory can be used as a mount point.

Answer : Every existing directory can be used as a mount point.

CompTIA HT0-201 DHTI+ Certification Practice Exam Set 6

Which function key is used to start Safe Mode in Windows NT?


Options are :

  • Windows NT does not support Safe Mode
  • F10
  • F8
  • F6

Answer : Windows NT does not support Safe Mode

What is the effect of the egrep command when the -v option is used?


Options are :

  • It shows the command's version information.
  • It enables color to highlight matching parts.
  • It only outputs non-matching lines.
  • It changes the output order showing the last matching line first.

Answer : It only outputs non-matching lines.

Which option to the yum command will update the entire system? (Specify ONLY the option
name without any additional parameters.)


Options are :

  • update, upgrade

Answer : update, upgrade

CompTIA JK0-019 E2C Network Media & Topologies Practice Exam Set 3

Which of the following signals is sent to a process when the key combination CTRL+C is
pressed on the keyboard?


Options are :

  • SIGSTOP
  • SIGTERM
  • SIGKILL
  • SIGINT

Answer : SIGINT

Which shell command is used to continue background execution of a suspended
command?


Options are :

  • &
  • bg
  • cont
  • exec

Answer : bg

After modifying GNU GRUB's configuration file, which command must be run for the
changes to take effect?


Options are :

  • grub
  • kill -HUP $(pidof grub)
  • No action is required
  • grub-install

Answer : No action is required

CompTIA JK0-801 A+ Certification Practical Exam Set 6

What of the following statements are true regarding /dev/ when using udev? 


Options are :

  • When using udev, it is not possible to create block or character devices in /dev/ using mknod.
  • Additional rules for udev can be created by adding them to /etc/udev/rules.d/.
  • Entries for all possible devices get created on boot even if those devices are not connected.
  • The content of /dev/ is stored in /etc/udev/dev and is restored during system startup.

Answer : Additional rules for udev can be created by adding them to /etc/udev/rules.d/.

Which of the following commands is used to update the list of available packages when
using dpkg based package management?


Options are :

  • apt-get update
  • apt-get refresh
  • apt-get upgrade
  • apt-cache update

Answer : apt-get update

Which signal is missing from the following command that is commonly used to instruct a
daemon to reinitialize itself, including reading configuration files?
killall -s _______ daemon


Options are :

  • HUP, SIGHUP, 1

Answer : HUP, SIGHUP, 1

CompTIA JK0-801 A+ Certification Practical Exam Set 4

Which variable defines the directories in which a Bash shell searches for executable
commands?


Options are :

  • EXECPATH
  • BASHEXEC
  • PATH
  • BASHRC

Answer : PATH

Which command will display messages from the kernel that were output during the normal
boot sequence?


Options are :

  • dmesg, /bin/dmesg

Answer : dmesg, /bin/dmesg

Which of the following options is used in a GRUB Legacy configuration file to define the
amount of time that the GRUB menu will be shown to the user?


Options are :

  • hidemenu
  • timeout
  • splash
  • showmenu

Answer : timeout

CompTIA JK0-015 E2C Security+ Certification Practice Test Set 3

Which of the following statements is correct regarding the command foo 1> bar?


Options are :

  • The stdout from the command foo is appended to the file bar.
  • The stdout from the command foo overwrites the file bar.
  • The command foo receives its stdin from the file bar.
  • The command foo receives its stdin from the stdout of the command bar.

Answer : The stdout from the command foo overwrites the file bar.

Which of the following commands overwrites the bootloader located on /dev/sda without
overwriting the partition table or any data following it?


Options are :

  • dd if=/dev/zero of=/dev/sda bs=440 count=1
  • dd if=/dev/zero of=/dev/sda bs=512 count=1
  • dd if=/dev/zero of=/dev/sda bs=512
  • dd if=/dev/zero of=/dev/sda bs=440

Answer : dd if=/dev/zero of=/dev/sda bs=440 count=1

When starting a program with the nice command without any additional parameters, which
nice level is set for the resulting process?


Options are :

  • 10
  • -10
  • 0
  • 20

Answer : 10

CompTIA Cyber Security Analyst (CySA+) Practice Exams 2019 Set 9

When using rpm --verify to check files created during the installation of RPM packages,
which of the following information is taken into consideration? 


Options are :

  • File sizes
  • Timestamps
  • MD5 checksums
  • All the above

Answer : All the above

What information can the lspci command display about the system hardware? 


Options are :

  • All The Above
  • Device IRQ settings
  • PCI bus speed
  • Device vendor identification

Answer : All The Above

Which of the following are init systems used within Linux systems?


Options are :

  • SysV init
  • All the above
  • Upstart
  • systemd

Answer : All the above

CT0-101 Convergence+ Certification Practice Exam Set 8

In which directory must definition files be placed to add additional repositories to yum?


Options are :

  • /etc/yum.repos.d, /etc/yum.repos.d/, yum.repos.d, yum.repos.d/

Answer : /etc/yum.repos.d, /etc/yum.repos.d/, yum.repos.d, yum.repos.d/

Which file should be edited to select the network locations from which Debian installation
package files are loaded?


Options are :

  • /etc/dpkg/dpkg.cfg
  • /etc/apt/apt.conf
  • /etc/apt/apt.conf.d
  • /etc/apt/sources.list

Answer : /etc/apt/sources.list

Which grep command will print only the lines that do not end with a / in the file foo?


Options are :

  • grep -v '/$' foo
  • grep -v '/#' foo
  • grep '/$' foo
  • grep '/#' foo

Answer : grep -v '/$' foo

CompTIA N10-004 Network+ Certification Practice Test Set 9

Which world-writable directory should be placed on a separate partition in order to prevent
users from being able to fill up the / filesystem? (Specify the full path to the directory.)


Options are :

  • /tmp, tmp, /var/tmp, /tmp/, /var/tmp/

Answer : /tmp, tmp, /var/tmp, /tmp/, /var/tmp/

Which of the following commands will send output from the program myapp to both
standard output (stdout) and the file file1.log?


Options are :

  • myapp | cat > file1.log
  • cat < myapp | cat > file1.log
  • myapp | tee file1.log
  • myapp 0>&1 | cat > file1.log

Answer : myapp | tee file1.log

Which of the following environment variables overrides or extends the list of directories
holding shared libraries?


Options are :

  • LD_LOAD_PATH
  • LD_LIBRARY_PATH
  • LD_SHARE_PATH
  • LD_LIB_PATH

Answer : LD_LIBRARY_PATH

SY0-401 CompTIA Security+ Certification Practice Exam Set 3

Which of the following commands updates the linker cache of shared libraries?


Options are :

  • lddconfig
  • mkcache
  • mkldconfig
  • ldconfig

Answer : ldconfig

Comment / Suggestion Section
Point our Mistakes and Post Your Suggestions