The Actual Exam Version included actual exam questions verified by IT Experts. We verified questions and updated frequently each month and also based on members’ feedback to keep updating with the real exam. We are offering money back immediately if questions in our Actual Exam Version do not appear in your exam. Highly recommend you take the Actual Exam Version then go to the exam as soon as possible.
QUESTION NO: 81
A company wants to ensure that all newly created files can be modified only by their owners and that all new directory content can be changed only by the creator of the directory. Which of the following commands will help achieve this task?
A. umask 0022
B. umask 0012
C. chmod –R 0644 /
D. chmod –R 0755 /
QUESTION NO: 82
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
QUESTION NO: 83
A Linux administrator needs every new file created on a directory to maintain the group permissions of the same directory. Which of the following commands would satisfy this requirement?
A. chmod o+s
B. chmod u+s
C. chmod +s
D. chmod g+s
QUESTION NO: 84
Which of the following statements BEST represents what the term “agentless” means regarding orchestration?
A. Installation of a tool is not required on the remote system to perform orchestration tasks
B. It facilitates version control when using infrastructure as code during orchestration
C. It automatically removes malware from the remote system during orchestration
D. A tool can only be accessed remotely to perform orchestration tasks
QUESTION NO: 85
Given that a company’s policy states that users cannot install third-party tools on Window servers, which of the following protocols will allow a Linux GUI to connect to a Windows server?
A. VNC
B. NX
C. RDP
D. X11
QUESTION NO: 86
Ann, a junior Linux administrator, needs to copy software from her local machine to assist in developing a software application on a remote machine with the IP address 192.168.3.22. The file needs to be placed on the /tmp directory. After downloading the RPM to the local machine, which of the following commands would be BEST to use to copy the software?
A. scp ~/software.rpm USER@192.168.3.22:/tmp
B. scp ~/software.rpm USER@192.168.3.22: /tmp
C. wget USER@192.168.3.22:/tmp -f ~/software.rpm
D. scp USER@192.168.3.22 ~/software.rpm :/tmp
QUESTION NO: 87
An administrator is tasked with increasing the size of the volume /dev/vg/lv to 20GB. Which of the following BEST illustrates the steps the administrator should take?
A. vgextend –L20G /dev/vg/lv; resizelv /dev/vg/lv
B. parted –L20G /dev/vg/lv; remount /dev/vg/lv
C. mkfs –L20G /dev/vg/lv; tune2fs /dev/vg/lv
D. lvextend –L20G /dev/vg/lv; resize2fs /dev/vg/lv
QUESTION NO: 88
A systems administrator observes high latency values when reaching a remote web server. Which of the following commands will help determine and isolate issues on the network side?
A. mtr
B. dig
C. netstat
D. route
QUESTION NO: 89
A Linux administrator wants to obtain a list of files and subdirectories in the /etc directory that contain the word “services”. Once the files and subdirectories are discovered, they should be listed alphabetically in the /var/tmp/foundservices file. Which of the following shell scripts will accomplish this task?
A. #/bin/bash find /etc –name services | sort > /var/tmp/foundservices
B. #/bin/bash locate /etc –sort –name services > /var/tmp/foundservices
C. #/bin/bash find –name services –sort </var/tmp/foundservices
D. #/bin/bash find /etc –name services –sort > /var/tmp/foundservices
QUESTION NO: 90
A systems administrator is enabling quotas on the /home directory of a Linux server. The administrator makes the appropriate edits to the /etc/fstab file and attempts to issue the commands to enable quotas on the desired directory. However, the administrator receives an error message stating the filesystem does not support quotas. Which of the following commands should the administrator perform to proceed?
A. mount –o remount /home
B. quotacheck -cg
C. edquota /home
D. quotaon /home
QUESTION NO: 91
A systems administrator needs to install a new piece of hardware that requires a new driver. The driver should be manually installed. Which of the following describes the order of commands required to obtain module information, install the module, and check the log for any errors during module installation?
A. lsmod, modprobe, modinfo
B. modinfo, insmod, modprobe
C. modinfo, insmod, dmesg
D. lsmod, insmod, dmesg
QUESTION NO: 92
A new HTTPS web service is being deployed on a server. Which of the following commands should the Linux administrator use to ensure traffic is able to flow through the system firewall to the new service?
A. iptables –I OUTPUT –p tcp –sport 443 –j ACCEPT
B. iptables –A INPUT –p tcp –dport 443 –j ACCEPT
C. iptables –I INPUT –dport 443 –j ACCEPT
D. iptables –A OUTPUT –p tcp –dport 443 –j ACCEPT
QUESTION NO: 93
An administrator has modified the configuration file for a service. The service is still running but is not using the new configured values. Which of the following will BEST remediate this issue?
A. kill -HUP
B. init 0
C. service start
D. renice -10
QUESTION NO: 94
An administrator needs to see a list of the system user’s encrypted passwords. Which of the following Linux files does the administrator need to read?
A. /etc/shadow
B. /etc/skel
C. /etc/passwd
D. /etc/pw
QUESTION NO: 95
A Linux administrator is setting up a testing environment and needs to connect to a separate testing server using the production server name. The administrator needs to override the hostname that the DNS is returning in order to use the test environment. Which of the following commands should be run on each of the testing systems to BEST meet this goal?
A. # hostnamectl set-hostname “192.168.1.100 production.company.com”
B. # grep –i IP “${ip addr show} production.company.com” > /etc/resolv.conf
C. # ip addr add 192.168.1.100/24 dev eth0 && rndc reload production.company.com
D. # echo “192.168.1.100 production.company.com” >> /etc/hosts
QUESTION NO: 96
A Linux administrator opens a ticket to have an external hard drive mounted. As a security policy, external storage kernel modules are disabled. Which of the following is the BEST command for adding the proper kernel module to enable external storage modules?
A. rmmod /lib/modules/3.6.12-100-generic/kernel/drivers/usb/storage/usb-storage.ko
B. modinfo /lib/modules/3.6.12-100-generic/kernel/drivers/usb/storage/usb-storage.ko
C. depmod /lib/modules/3.6.12-100-generic/kernel/drivers/usb/storage/usb-storage.ko
D. insmod /lib/modules/3.6.12-100-generic/kernel/drivers/usb/storage/usb-storage.ko
QUESTION NO: 97
Which of the following are Linux desktop managers? (Choose two.)
A. KDE
B. GNOME
C. GUI
D. VNC
E. X11
F. SPICE
QUESTION NO: 98
A systems administrator is configuring options on a newly installed Linux VM that will be deployed to the Pacific time zone. Which of the following sets of commands should the administrator execute to accurately configure the correct time settings?
A. cd /etc
ln –s /usr/share/zoneinfo/US/Pacific localtime
B. cd /usr/local
ln –s /usr/share/zoneinfo/US/Pacific zoneinfo
C. cd /etc/local
ln –s /usr/share/zoneinfo/US/Pacific localtime
D. cd /usr/share/local
ln –s /usr/share/zoneinfo/US/Pacific localectl
QUESTION NO: 99
A user has connected a Bluetooth mouse to a computer, but it is not working properly. Which of the following commands should the systems administrator use to fix the issue?
A. lsmod –i bluetooth
B. insmod bluetooth
C. modprobe –r bluetooth
D. depmod –i bluetooth
QUESTION NO: 100
An administrator notices that a long-running script, /home/user/script.sh, is taking up a large number of system resources. The administrator does not know the script’s function. Which of the following commands should the administrator use to minimize the script’s impact on system resources?
A. renice
B. kill
C. bg
D. nohup
QUESTION NO: 101
An administrator needs to deploy 100 identical CentOS workstations via PXE boot. Which of the following should the administrator use to minimize the amount of interaction with the consoles needed?
A. Kickstart script
B. Ghost image on a distribution server
C. Hard disk duplicator
D. Hard disk duplicator
E. Ubiquity script
QUESTION NO: 102
A user, jsmith, needs access to database files located on a server. Which of the following will add jsmith to the “dba” group and preserve existing group memberships?
A. usermod –a –G dba jsmith
B. usermod –g dba jsmith
C. useradd –g dba jsmith
D. groupmod dba –u jsmith
QUESTION NO: 103
A Linux administrator installed a new network adapter and temporarily disabled the network service from starting on boot. The partial output of chkconfig is as follows:
Network 0:off 1:off 2:off 3:off 4:off 5:off 6:off
Which of the following commands BEST describes how the administrator should re-enable the network service?
A. chkconfig –level 0 network on
B. chkconfig –level 0-6 network on
C. chkconfig –level 6 network on
D. chkconfig –level 12 network on
E. chkconfig –level 345 network on
QUESTION NO: 104
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
QUESTION NO: 105
A Linux administrator retrieved a repository of files from a Git server using git clone. The administrator wants to see if a configuration file was added to the repository. Which of the following Git arguments should be used to see the recent modifications?
A. fetch
B. log
C. init
D. pull
QUESTION NO: 106
A systems administrator is unable to reach other devices on the network and the Internet. The server is configured with the IP address 192.169.1.50/24 on eth0. The server’s router is
192.168.1.1. The administrator reviews the output of route –n:
Which of the following commands should the administrator run to correct the issue?
A. route del default gw 192.168.2.1 eth0; route add default gw 192.168.1.1 eth0
B. route add –net 192.168.10.0 netmask 255.255.255.0 gw 192.168.2.1 eth0
C. route add 192.168.1.1 default 192.168.1.50 eth0
D. route host gw 192.168.1.1 eth0
QUESTION NO: 107
A junior Linux administrator needs to access production servers using a secure SSH protocol.
Which of the following files should contain the public key to gain remote access to the server?
A. ~/ssh/authorized-keys
B. /etc/authorized_keys
C. /etc/sshd/ssh.conf
D. ~/.ssh/authorized_keys
QUESTION NO: 108
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
QUESTION NO: 109
A junior systems administrator is creating a cron job. The cron job requirements are as follows:
- Run the hello.sh script every hour (24 times in one day).
- Run it on Monday only.
Given this scenario, which of the following crontab options should be configured to meet these requirements?
A. 0 *** 1 hello.sh
B. 0 24 ** Monday hello.sh
C. 24 *** Monday hello.sh
D. 1 *** 0 hello.sh
QUESTION NO: 110
A Linux systems administrator is setting up SSH access with PKI for several using their newly created RSA keys. Which of the following MOST securely achieves this task?
A. Use curl to copy each user’s public key file to the respective system
B. Use cp to copy each user’s public key file to the respective system
C. Use ssh-copy-id to copy each user’s public key file to the respective system
D. Use ssh-copy-id to copy each user’s private key file to the respective system
QUESTION NO: 111
The development team has automated their software build process so each time a change is submitted to the source code repository, a new software build is compiled. They are requesting that the Linux operations team look into automating the deployment of the software build into the test environment. Which of the following is the benefit to the development team for implementing deployment automation?
A. To ensure the build commits are also deployed to the test environment
B. To enable notifications when builds are deployed to the test environment
C. To ensure software builds in test are not accidentally deployed to production
D. To streamline the deployment process for deploying builds into test environments
QUESTION NO: 112
A Linux administrator needs to schedule a cron job to run at 1:15 p.m. every Friday to report the amount of free disk space on the system and to send the output to a file named “freespace”.
Which of the following would meet this requirement?
A. 13 15 * * 5 df > /freespace
B. 15 13 * * 5 df > /freespace
C. 15 1 * * 6 df > /freespace
D. 15 13 6 * * df > /freespace
QUESTION NO: 113
A technician wants to secure a sensitive workstation by ensuring network traffic is kept within the local subnet. To accomplish this task, the technician executes the following command:
echo 0 > /proc/sys/net/ipv4/ip_default_ttl
Which of the following commands can the technician use to confirm the expected results?
(Choose two.)
A. tcpdump
B. traceroute
C. route
D. iperf
E. ip
F. arp
QUESTION NO: 114
A junior Linux administrator needs to ensure a service will start on system boot. Which of the following commands should be used to accomplish this task?
A. chkconfig on
B. systemctl bootup
C. service enable
D. crontab install
QUESTION NO: 115 CORRECT TEXT
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.
Answer:
See explanation below.
QUESTION NO: 116 DRAG DROP
As a Systems Administrator, to reduce disk space, you were tasked to create a shell script that does the following:
Add relevant content to /tmp/script.sh, so that it finds and compresses rotated files in /var/log without recursion.
INSTRUCTIONS
Fill the blanks to build a script that performs the actual compression of rotated log files.
If at any time you would like to bring back the initial state of the simulation, please click the Reset All button.
Answer:
Find /var/log -type f -maxdepth 1 | grep “$1″ > /tmp/tempfile
for filename in $(cat /tmp/tempfile)
do
gzip $filename
done
QUESTION NO: 117
A systems administrator uses a remote execution engine to iterate through each IP address in a network and run a script on remote hosts. The script captures the remote system’s hostname, IP address, OS distribution, and system uptime. The output of the script gets saved to the administrator’s local workstation for future processing. Which of the following is this an example of?
A. Performance monitoring
B. Inventory
C. Agentless
D. Infrastructure as code
E. Build automation
QUESTION NO: 118
A Linux administrator has installed a web application firewall in front of a web server running on
HTTP port 8080 and successfully started the HTTP server. However, after opening the application URL in an Internet browser, the administrator discovered that the application does not work. The administrator performed the following diagnostic steps:
Output of sysctl -a command:
Output of iptables -L command:
Output of netstat –nltop | grep “8080”:
Which of the following is the NEXT step the administrator should perform to permanently fix the issue at the kernel level?
A. sysctl -w net.ipv4.ip_forward=1 then run sysctl -w /etc/sysctl.conf to enable the change
B. Edit /etc/sysctl.conf file and add net.ipv4.ip_forward = 1 then run sysctl -p /etc/sysctl.conf to enable the change
C. Add iptables rule iptables -A INPUT -m state –state NEW -p tcp –dport 8080 -j then restart httpd daemon
D. Add iptables rule iptables -A FORWARD-m state –state NEW -p tcp –dport 8080 –j ACCEPT then restart httpd daemon
QUESTION NO: 119
A member of the production group issues the following command:
echo “Monday through Friday” > /production_docs/days
The command fails to execute, so the user obtains the following output:
drwxr–r– root production 0 Jun 16 2018 production
-rw-r–r– production production 4096 Jun 14 2018 days
Which of the following commands should the user execute to BEST fix the issue?
A. chmod g+w production to change the permissions on the days file
B. chgrp root production_docs/days to change the group ownership of the production_docs/days file
C. chmod g+S production to set the GUID on the production_docs directory
D. chown production to change the ownership of the production_docs directory
QUESTION NO: 120
A junior systems administrator created a new filesystem /dev/sda1 with mount point /data and added it to the /etc/fstab for auto-mounting. When the systems administrator tries to mount the file system, the system refuses. Given the output below:
Which of the following steps is necessary?
A. Change the filesystem from /dev/sda1 to /dev/sda2 and reboot.
B. Change the options to auto,dev,sync,rw,nosuid and run the mount -a command.
C. Change the mount point to data and reboot.
D. Change the dump column to 1 and run the mount -a command.