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 12 out of 73 Pages |
Previous |