CBT NUGGET
what command will stop the process taking the most CPU time?
# pkill finalCut
which command will remove all files with the file extensions .doc and .txt?
# rm {* .doc;*.txt}
which command ensures the integrity of a file system?
# sudo e2fsck -cfp /dev/sdc
you need to write a new shell script for printing the status of employee login hours on the linux machine. what code would you put at the very beginning of the script?
#!bin/bash
to increase system security you need to implement passwordless login on your linux machine?
#ssh-keygen -t rsa -b 4096 -C
which command would fox this error related to missing devices or mount points?
#vi /etc/fstab
Which terms are associated with the Unified Extensible Firmware Interface? (Choose three) - can have "tons and tons' of partitions - boot partition - limited to a single partition - secure boot - master boot record - boot sector
- can have "tons and tons' of partitions - boot partition - limited to a single partition - secure boot - master boot record - boot sector
you need to start a new repo using Git version control. you need to first specify the files that will be generated by your project tools that should not be tracked. then you need to start the tracking process
- edit the .gitignore file - run the git init command on the target directory - run the git add command for each file and subdirectory - run the git commit command on the target directory
Which of the following are associated with GRUB2? (Choose three) - grub.conf - Can boot from ISO file - Legacy - Hidden boot menu - grub.cfg - menu.lst
- grub.conf - Can boot from ISO file - Legacy - Hidden boot menu - grub.cfg - menu.lst
there are certain commands that must NOT be allowed to run cron jobs for sake of system security. which file will you need to use to set this?
/etc/cron.deny
which file on your system contains mapping of IP addresses to the respective domain names?
/etc/hosts
which command would you use to see why the DNS server is resolving IP address is resulting in connectivity issues?
/etc/resolv/.conf
what is directory where SSH keys are stored?
/etc/ssh
which parameter is used with the setenforce command to place the system in permissive mode?
0
$ job_seacher jbrown, 34, 10 what will be the output of following commmand: $ echo $#
4
which locale code would you NOT use of you needed to support Asian languages on your linux machine?
ASCII
In CentOS, where are the network configuration files stored? A. /etc/NetworkManager B. /etc/sysconfig/network-scripts C. /etc/network/interfaces D. /etc/netplan
B. /etc/sysconfig/network-scripts
what will you need to obtain an approved digital certificate?
CA (certificate authority)
if you having trouble with a process you ahve run and need to ternimate it right away, what will you use?
Ctrl+C
Which items are specific to Linux? (Choose two)
GRUB ISO booting via GRUB2
When loading a module into the running system, which program is intelligent about kernel module dependencies?
MODPROBE
which one would you use to help synchronize all the computer clocks on each linux machine?
NTP (network time protocol)
which field of the output of the top command inidicates the priority of the process?
PR
which would you prefer to use to perform a claima check for a physical hardware resource like disk space?
PVC
which server will you use for ensuring computers connect witheach other on the world wide web?
SSH server
By blacklisting a kernel module, we ensure the Linux system won't automatically load it as a dependency of another module. True or false?
TRUE
what replace BIOS?
UEFI
what will you use to choose a desktop environment for your new netbook? which has a screen size of 12 inches. you need the desktop environment that makes the best use of screen real estate
Unity
what would you use to actively control others desktop?
VNC
you need to select a display server for linux that offers you the ability to work on a colleague's desktop elsewhere on the network without using remote desktop. which will you use?
X11
you need to know details of the computers hardware. you need install method that can automatically analyze and configure the hardware for installation. what should you use?
anaconda
Network Manager /etc/network/interfaces /etc/netplan/*
any version of debian or Ubuntu Older Debian and Ubuntu Newer Debian and Ubuntu
which command would you use to retrieve a list of updates for all installed package on Ubuntu distro?
apt-get update
which command compresses files using the burrows-wheeler algoithm and huffman coding?
bzip2
Which file should you NOT directly edit? A. /etc/default/grub B. /etc/grub.d/* C. grub.cfg
c. grub.cfg
$exec MediaPlayer which command would you run as root to fix this error?
chmod u=rwx MediaPlayer
which command would you use to change ownership of a file to another?
chown jhester -R /usr/data/Music
how would you order the commands that will allow you to install GRUB2 on a BIOS system? create the GRUB2 configuration file list block devices find the primary hard drive install GRUB2 in the MBR reboot the system
create the GRUB2 configuration file list block devices find the primary hard drive install GRUB2 in the MBR reboot the system
which command would you use to see all registered users?
cut -d : -f1 /etc/passwd
Which directive in the "hosts:" section of /etc/nsswitch.conf tells the system to check /etc/hosts for DNS resolution first A. hosts B. dns C. mdns4_minimal D. files
d. files
which backup scheme only stores data changed since the last backup?
differential
which command would you run to get full details about maximum permissible physical memory on the system?
dmidecode -t 16
which command would you use to check and see which commands have been partially installed?
dpkg -C
____ is the command you would use to create an initramfs image for a linux system
dracut
which commad would you use to view info related to disk usage?
du -s
which command will you use to display or change the file system label on an ext3 filesystem?
e2label
you need to ensure that data on a linux hard drive is unreadable to an unathorized user. what should you do?
enable LUKS
which file would you need to DELETE if you needed to change the actual time zone that is selected for your Linux machine?
etc/localtime
which command provides jounaling capability in storage systems for a linux machine?
ext3
which command would you use to identify the files that may have been modified in the last 45 minutes?
find
which backup plan would you use if you want to make the most efficient use of disk space and provides the fastest recover time possible?
full backup weekly and incremental backup daily
you want to find out what caused the build failure that you traced that has an error .. which was built four weeks ago. which command would you run?
git log - -since "4weeks ago" - -kernelmain.c
which command can be used to look up a domain name or an IP address for a given domain name?
host
which command would you use to give a Linux machine a new identifier?
hostnamectl
which command would you use to modify the time on the system?
hwclock
you need to know your current username and in which you are logged. which command would you use?
id
Which object is stored INSIDE the kernel file?
initramfs
what is the first file system loaded into the system memor when linux starts up?
initramfs
which command would you use to assign 192.168.1.150 to the network interface?
ip a add 192.168.1.150 dev eth1
what option will you use with systemctl to verify if a service is working?
is-active
you notice some perfromance issues and need the kernel log files to troubleshoot the problem. which command would you use?
journalctl -k
which command would you prefer to view a list of all of the defined networks in the KVM?
libvrt
what will you use to allow a single NIC on a computer to be used by several other birtual NICs?
linux bridge
you want to quickly print the contents of your resume.doc file. what will you use?
lpr
what command is used to view soft links across the filesystem?
ls -l
which command will you use to get key atrributes about a CD-ROM drive you just installed?
ls-dev
which command lisplays info about loaded modules?
lsmod
which command would you use to remove any temp files created during this process?
make clean
which command would you use to verify the integrity of those backed up files?
md5sum -c isocheckmd5.md5
which command would you use to remove a few modules for their existing dependencies?
modprobe
which command displays network connections and allows for their creation, activation, editing and deletion?
nmcli
what will you use to keep application running, even when you've logged out?
nohup
Which of the following commands will query the DNS server on the localhost (127.0.0.1) for the IP address of google.com? (Choose three)
nslookup google.com 127.0.0.1 dig @127.0.0.1 google.com host google.com 127.0.0.1
which are common causes for kernel panics?
overclocked CPU corrupt kernel update bad RAM
$ su - akaul password: su: Authentication failure
passwd -l akaul
which command would you use to check your network connection?
ping -c 10 www.example.com
what tool provides the following benefit: supports orchestrations and automated config management provides visualization and reporting
puppet
what should you use if you want make one document reflect the other document?
rsync
you have a large collection of pics on your linux server at office. how do you cvopy them to your homepage?
scp
when using infrastructure automation, what is used to define the infrastructure itself?
script
for what reason would you use choose wayland over X11 for your linux computer network?
security
which command would you use to eliminate an error?
setenforce 0
how do you sort files in alphabetical order?
sort < EmployeeExp.txt
what type of firewall would you use to protect your network from unauthorized access?
stateful
if you are notified about a network attack and you need to shut down all ports immediately, which command would you use?
sudo firewall-cmd --panic -on
you want to make the port 2700 exclusively for use by root users only. which command should you run?
sudo ipadm set-prop -p extra_priv_ports+2700 tcp
which command blocks certain IP addresses?
sudo iptables -A OUTPUT -p tcp -d 77.110.155.10 -j DROP
which command displays a list of all unsuccessful logins on a linux machine?
sudo lastb
you need to ensure that each new user will have a sub-directory called study_guides in their home directory. which command would should you run?
sudo mkdir /etc/skel/study_guides
$ reboot Permission denied what command will you need to run to be able to complete the reboot?
sudo reboot
you have recently created a directory named data_backup that contains full backupd of the data on linux server. you save a copy of this directory on a remote server in a different coninent. you want a way for the two copies to be updated automatically. which command would you use?
sudo rsync -avhze ssh /data_backup master@remote_host :/data_backup_remote/
you notice each user on the machine is setting the path for his or her own environmental variables. you need to set environment variables for all users on a linux machine. which command would you use?
sudo vi /etc/profile
which command would you use to back up the contents of the drive as a disk image that can later born on a DVD or any other storage media you choose?
sujdo dd if = /dev/hdb of = ~/harddisk.img
which tool would you use to compress a entire music folder on disk folder?
tar
you need to run fsck on the /usr partition. what command will you run as root before you do that?
telinit 1
what will you use to convert an ext2 filesystem to an ext3 in linux?
tune2fs
what type of data center does not need a separate operating system on existing computing hardware?
type 1 hypevisors
what will you use to get a attributes of all the system devices on your computer and set rules for event handling for each of them?
udevadm
which command is used to check the maximum number of open files permissible for a process or shell?
ulimit
what command is created by specific user , the user cannot execute any files but the users group can read those files?
umask u-x,g=r
which command would you use to remove the drive without causing any loss of data?
umount
which command would you use to add a existing user to an existing linux group?
usermod
if you hard drive encountered a failure and has no USB or CDROM drive. which option can you use to boot up the system?
vmlinux GRUB2 initramfs BKO NETboot.me
which command would you use to possibly update newer addition to a archive of books on your linux system?
zip -d Dracula.pdf Horrorclassics