A Linux administrator would like to use systemd to schedule a job to run every two hours. The administrator creates timer and service definitions and restarts the server to load these new configurations. After the restart, the administrator checks the log file and notices that the job is only running daily. Which of the following is MOST likely causing the issue?
A.
The checkdiskspace.service is not running.
B.
The checkdiskspace.service needs to be enabled.
C.
The OnCalendar schedule is incorrect in the timer definition.
D.
The system-daemon services need to be reloaded.
The system-daemon services need to be reloaded.
A systems administrator was tasked with assigning the temporary IP address/netmask 192.168.168.1/255.255.255.255 to the interface eth0 of a Linux server. When adding the address, the following error appears:
# ip address add 192.168.168.1/33 dev eth0
Error: any valid prefix is expected rather than "192.168.168.1/33".
Based on the command and its output above, which of the following is the cause of the issue?
A.
The CIDR value /33 should be /32 instead.
B.
There is no route to 192.168.168.1/33.
C.
The interface eth0 does not exist.
D.
The IP address 192.168.168.1 is already in use.
The interface eth0 does not exist.
A systems engineer is adding a new 1GB XFS filesystem that should be temporarily mounted under /ops/app. Which of the following is the correct list of commands to achieve this goal?
A.
Option A
B.
Option B
C.
Option C
D.
Option D
Option D
A systems administrator is troubleshooting connectivity issues and trying to find out why a Linux server is not able to reach other servers on the same subnet it is connected to. When listing link parameters, the following is presented:
Based on the output above, which of following is the MOST probable cause of the issue?
A.
The address ac:00:11:22:33:cd is not a valid Ethernet address.
B.
The Ethernet broadcast address should be ac:00:11:22:33:ff instead.
C.
The network interface eth0 is using an old kernel module.
D.
The network interface cable is not connected to a switch.
The network interface cable is not connected to a switch.
A Linux administrator needs to create a new user named user02. However, user02 must be in a different home directory, which is under /comptia/projects. Which of the following commands will accomplish this task?
A.
useradd -d /comptia/projects user02
B.
useradd -m /comptia/projects user02
C.
useradd -b /comptia/projects user0
D.
useradd -s /comptia/projects user02
useradd -d /comptia/projects user02
A new file was added to a main Git repository. An administrator wants to synchronize a local copy with the contents of the main repository. Which of the following commands should the administrator use for this task?
A.
git reflog
B.
git pull
C.
git status
D.
git push
git pull
A Linux administrator wants to find out whether files from the wget package have been altered since they were installed. Which of the following commands will provide the correct information?
A.
rpm -i wget
B.
rpm -qf wget
C.
rpm -F wget
D.
rpm -V wget
rpm -V wget
A Linux systems administrator needs to copy files and directories from Server A to Server. Which of the following commands can be used for this purpose? (Select TWO)
A.
rsyslog
B.
cp
C.
rsync
D.
reposync
E.
scp
F.
ssh
rsync
scp
An administrator deployed a Linux server that is running a web application on port 6379/tcp.
SELinux is in enforcing mode based on organization policies.
The port is open on the firewall.
Users who are trying to connect to a local instance of the web application receive Error 13, Permission denied.
The administrator ran some commands that resulted in the following output:
Which of the following commands should be used to resolve the issue?
A.
semanage port -d -t http_port_t -p tcp 6379
B.
semanage port -a -t http_port_t -p tcp 6379
C.
semanage port -a http_port_t -p top 6379
D.
semanage port -l -t http_port_tcp 6379
semanage port -a -t http_port_t -p tcp 6379
A Linux administrator is installing a web server and needs to check whether web traffic has already been allowed through the firewall. Which of the following commands should the administrator use to accomplish this task?
A.
firewalld query-service-http
B.
firewall-cmd --check-service http
C.
firewall-cmd --query-service http
D.
firewalld --check-service http
firewall-cmd --query-service http
Page 6 out of 37 Pages |
Previous |