A Linux administrator is troubleshooting a memory-related issue. Based on the output of the commands:
Which of the following commands would address the issue?
A.
top -p 8321
B.
kill -9 8321
C.
renice -10 8321
D.
free 8321
renice -10 8321
A Linux administrator is reviewing changes to a configuration file that includes the following section:
The Linux administrator is trying to select the appropriate syntax formatter to correct any issues with the configuration file. Which of the following should the syntax formatter support to meet this goal?
A.
Markdown
B.
XML
C.
YAML
D.
JSON
YAML
A cloud engineer needs to launch a container named web-01 in background mode. Which of the following commands will accomplish this task''
A.
docker builder -f —name web-01 httpd
B.
docker load --name web-01 httpd
C.
docker ps -a --name web-01 httpd
D.
docker run -d --name web-01 httpd
docker run -d --name web-01 httpd
A Linux engineer needs to create a custom script, cleanup.sh, to run at boot as part of the system services. Which of the following processes would accomplish this task?
A.
Create a unit file in the /etc/default/ directory.
systemctl enable cleanup
systemctl is-enabled cleanup
B.
Create a unit file in the /etc/ske1/ directory.
systemctl enable cleanup
systemctl is-enabled cleanup
C.
Create a unit file in the /etc/systemd/system/ directory.
systemctl enable cleanup
systemctl is-enabled cleanup
D.
Create a unit file in the /etc/sysctl.d/ directory.
systemctl enable cleanup
systemctl is-enabled cleanup
Create a unit file in the /etc/systemd/system/ directory.
systemctl enable cleanup
systemctl is-enabled cleanup
A Linux system fails to start and delivers the following error message:
Which of the following commands can be used to address this issue?
A.
fsck.ext4 /dev/sda1
B.
partprobe /dev/sda1
C.
fdisk /dev/sda1
D.
mkfs.ext4 /dev/sda1
fsck.ext4 /dev/sda1
A Linux administrator needs to redirect all HTTP traffic temporarily to the new proxy server 192.0.2.25 on port 3128. Which of the following commands will accomplish this task?
A.
iptables -t nat -D PREROUTING -p tcp --sport 80 -j DNAT - -to-destination 192.0.2.25:3128
B.
iptables -t nat -A PREROUTING -p top --dport 81 -j DNAT –-to-destination
192.0.2.25:3129
C.
iptables -t nat -I PREROUTING -p top --sport 80 -j DNAT –-to-destination
192.0.2.25:3129
D.
iptables -t nat -A PREROUTING -p tcp --dport 80 -j DNAT –-to-destination
192.0.2.25:3128
iptables -t nat -A PREROUTING -p tcp --dport 80 -j DNAT –-to-destination
192.0.2.25:3128
A DevOps engineer needs to allow incoming traffic to ports in the range of 4000 to 5000 on a Linux server. Which of the following commands will enforce this rule?
A.
iptables -f filter -I INPUT -p tcp --dport 4000:5000 -A ACCEPT
B.
iptables -t filter -A INPUT -p tcp --dport 4000:5000 -j ACCEPT
C.
iptables filter -A INPUT -p tcp --dport 4000:5000 -D ACCEPT
D.
iptables filter -S INPUT -p tcp --dport 4000:5000 -A ACCEPT
iptables -t filter -A INPUT -p tcp --dport 4000:5000 -j ACCEPT
When trying to log in remotely to a server, a user receives the following message:
Which of the following is causing the issue?
A.
The wrong permissions are on the user’s home directory.
B.
The account was locked out due to three failed logins.
C.
The user entered the wrong password.
D.
The user has the wrong shell assigned to the account.
The user has the wrong shell assigned to the account.
Which of the following enables administrators to configure and enforce MFA on a Linux system?
A.
Kerberos
B.
SELinux
C.
PAM
D.
PKI
Kerberos
Which of the following technologies provides load balancing, encryption, and observability in containerized environments?
A.
Virtual private network
B.
Sidecar pod
C.
Overlay network
D.
Service mesh
Service mesh
Explanation: "A service mesh controls the delivery of service requests in an application. Common features provided by a service mesh include service discovery, load balancing, encryption and failure recovery."
https://www.techtarget.com/searchitoperations/definition/service-mesh
Page 4 out of 37 Pages |
Previous |