SIMULATION
Find the file named core and remove it from the system.
INSTRUCTIONS
Type "help" to display a list of available commands.
If at any time you would like to bring back the initial state of the simulation, please click the Reset All button.
A. See explanation below.
DRAG DROP
The lead Linux has added a disk, /dev/sdd, to a VM that is running out of disk space. Place the following steps in the correct order from first (1) to last (4) to add the disk to the existing LVM.
Select and Place:
A systems administrator has finished building a new feature for the monitoring software in a separate Git branch. Which of the following is the BEST method for adding the new feature to the software's master branch?
A. Merge the changes from the feature branch to the master branch.
B. Save the changes to the master branch automatically with each Git commit.
C. Clone the feature branch into the master branch.
D. Pull the changes from the feature branch into the master branch.
An administrator needs to mount the shared NFS file system testhost:/testvolume to mount point / mnt/testvol and make the mount persistent after reboot. Which of the following BEST demonstrates the commands necessary to accomplish this task?
A. Option A
B. Option B
C. Option C
D. Option D
A Linux administrator needs the "tech" account to have the option to run elevated commands as root. Which of the following commands would BEST meet this goal?
A. $ su - tech -c "/bin/bash"
B. # usermod -aG wheel tech
C. # sudo -i tech
D. # groupadd -u tech -g root
A Linux administrator needs to back up the folder /usr/domain, and the output must be a gzip compressed tar. Which of the following commands should be used?
A. tar -cv domain.tar.gz /usr/domain
B. tar -cvf /usr/domain domain.tar.gz
C. tar -czvf domain.tar.gz /usr/domain
D. tar -cxzv /usr/domain domain.tar.gz
An administrator finds a text file that is using too much disk space. The administrator runs lsof | grep bigfile.txt and gets the following return:
Which of the following should the administrator do NEXT to prepare to delete the file and free up disk space?
A. pkill app.py
B. logout --force comptia
C. kill -9 7339
D. kill -HUP 12288
A Linux administrator needs to generate SSH keys for remote users. The company security policy requires at least 4096-bit encryption on all public/private key pairs. Which of the following commands should the administrator issue to comply with company policy?
A. ssh-keygen -c 4096
B. ssh-keygen -b 4096
C. ssh-keygen -t rsa
D. ssh-keygen -t dsa
A new user has been added to a Linux machine. Which of the following directories would contain the user's default files?
A. /etc/login.defs
B. /etc/passwd
C. /etc/skel
D. /etc/inittab
A systems administrator is implementing disk quotas on /home. During the process, the administrator receives the following error:
Cannot find filesystem to check or filesystem not mounted with user quota option.
Which of the following is the correct order of steps the administrator should follow to resolve this error?
A. 1. Verify if /home has quotas enabled in /etc/fstab and, if not, enable it.
2.
Remount /home.
3.
Create the quota database files and generate the disk usage table.
4.
Assign user quota policies.
B. 1. Create the quota database files and generate the disk usage table.
2.
Verify if /home has quotas enabled in /etc/fstab and, if not, enable it.
3.
Remount /home.
4.
Assign user quota policies.
C. 1. Verify if /home has quotas enabled in /etc/fstab and, if not, enable it.
2.
Create the quota database files and generate the disk usage table.
3.
Remount /home.
4.
Assign user quota policies.
D. 1. Assign user quota policies.
2.
Verify if /home has quotas enabled in /etc/fstab and, if not, enable it.
3.
Create the quota database files and generate the disk usage table.
4.
Remount /home.