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.
Ann, a junior systems administrator, is required to add a line to the /etc/yum.conf file. However, she receives the following error message when she tries to add the line:
Ann performs some diagnostics to attempt to find the root cause:
Which of the following commands should Ann execute to write content to /etc/yum?
A. chmod 755 /etc/yum.conf
B. setfacl -m m:rw /etc/yum.conf
C. chattr -i /etc/yum.conf
D. setenforce 0
Two specific users need access to a directory owned by root where backups are located. Which of the following commands would BEST ensure the specified users can access the backup files?
A. umask
B. chcon
C. chmod
D. setfacl
Which of the following is the template for the grub.cfg file?
A. /etc/default/grub
B. /etc/grub2.cfg
C. /etc/sysct1.conf
D. /boot/efi
An engineer is working on a production application deployment that requires changing a web application property file called server.property that is managed by the Git version control system. A cloned copy of the remote repository in which the server.property file exists is on the local desktop computer. The engineer makes appropriate changes to the files, saves it as server.property, and executes git commit -m "changed the property file" server.property. Which of the following commands did the engineer fail to perform?
A. git init server.property
B. git merge server.property
C. git add server.property
D. git push server.property
An administrator needs to see the type of CPU that a server is running. Which of the following files contains this information?
A. /proc/cpuinfo
B. /etc/devices/info.conf
C. /dev/proc/cpu
D. /sys/dev/cpuinfo
A Linux systems administrator installed a new web server, which failed while attempting to start. The administrator suspects that SELinux is causing an issue and wants to temporarily put the system into permissive mode. Which of the following would allow the administrator to accomplish this?
A. echo SELINUX=PERMISSIVE >> /etc/sysconfig/selinux
B. setenforce 0
C. sestatus 0
D. chcon httpd_sys_content_t /var/
A technician wants to implement a firewall ACL to block external access to the company's SSH server.
Which of the following should the technician implement to configure the firewall so it will inform the source of the action taken by the ACL?
A. Use the LOG option
B. Use the REJECT option
C. Use the CONNTRACK option
D. Use the DROP option
A systems administrator logs into a Linux server and must identify whether the server is a physical or virtual machine. Which of the following commands should the administrator run?
A. vmstat
B. cat /proc/cpuinfo
C. dmidecode
D. modinfo
While installing third-party software, a technician wants to monitor logs on the system continuously. Which of the following commands should the technician issue to monitor the logs?
A. cat /var/log/kern.log
B. grep -e /var/log/httpd/access.log
C. head -n /var/log/secure
D. tail -f /var/log/messages
A systems administrator is troubleshooting an intermittent network connection at the IP address 192.168.1.23. The administrator wishes to monitor the connection at five-minute intervals for one hour. Which of the following commands will accomplish this task?
A. ping -i 5 192.168.1.23
B. ping -c 12 192.168.1.23
C. ping -c 12 -i 300 192.168.1.23
D. ping -c 60 -i 100 192.168.1.23
A raw VM image is being compressed with bzip2 and copied to a flash drive at /dev/hdb for off-site use by the marketing department. Which of the following command lines accomplishes this task?
A. mv /vm/mkgt.img | bzip2 /dev/hdb/mkgt.img.bz2
B. bzip2 -c /vm/mktg.img | dd of=/dev/hdb
C. cp /vm/mktg.img | bzip2 /dev/hdb/mktg.img.bz2
D. cp -a -r /vm/mktg.img bzip2 /dev/hdb/mktg.img.zip
A Linux user wants to give read-only permissions to a directory and its contents. Which of the following commands will allow the user to accomplish this task?
A. chmod -R 400 /new_directory/
B. chmod -R 600 /new_directory/
C. chmod 400 /new_directory/
D. chmod 600 /new_directory/
A user issues the following command: ls -l /var/log | egrep -e `^d[rwx]{3}.*[rw-]{3}.*' The list of files in the system is shown below:
Which of the following results matches the command issued?
A. drwxr-x--- 2 root adm 4096 Apr 25 14:41 unattended-upgrades drwxr-x--- 2 root adm 4096 Apr 25 15:41 attended-upgrades
B. drwxr-xr-x 2 root root 4096 Apr 24 08:36 apt drwxr-xr-x 2 root root 4096 Apr 9 14:25 dist-upgrade drwxr-x--- 2 root adm 4096 Apr 25 14:41 unattended-upgrades
C. drwxr-xr-x 2 root root 4096 Apr 24 08:36 apt drwxr-xr-x 2 root root 4096 Apr 9 14:25 dist-upgrade drwxr-x--- 2 root adm 4096 Apr 25 15:41 attended-upgrades
D. -rw-r--r-- 1 root root 2877 Apr 24 14:14 alternatives.log -rw-r--r-- 1 syslog adm 246139 Jun 12 15:21 cloud-init.log -rw-r--r-- 1 root root 8872 Jun 12 15:21 cloud-init-output.log
Which of the following are classified as Linux GUI servers? (Choose two.)
A. VNC
B. KDE
C. Gnome
D. Wayland
E. MATE
F. X11