A Linux systems administrator is running an important maintenance task that consumes a large amount of CPU, causing other applications to slow. Which of the following actions should the administrator take to help alleviate the issue?
Which of the following Ansible components contains a list of hosts and host groups?
A Linux administrator wants to make the enable_auth variable set to 1 and available to the environment of subsequently executed commands. Which of the following should the administrator use for this task?
Which of the following does dmesg display?
Users cannot access an application that is running inside containers. The administrator wants to validate whether the containers are running. Which of the following commands should the administrator use?
A Linux administrator observes low network throughput. The administrator gathers the following output:
$ ip link show eth0
eth0: < BROADCAST,MULTICAST,UP,RUNNING > mtu 9000 ...
$ ping -s 1472 -M do 192.168.10.2
PING 192.168.10.2(192.168.10.2) 1472(1500) bytes of data.
From 10.10.9.72 icmp_seq=1 frag needed and DF set
Which of the following is the cause of the low network throughput?
The security manager at a company notifies a systems administrator of open vulnerabilities on the Linux system. The administrator receives the following information while logged in to the server:
$ date
Thu Jul 11 16:12:42 UTC 2024
$ getenforce
Enforcing
$ dnf history
ID | Command Line | Date and time | Action(s) | Altered
45 | update -y | 2023-07-09 | Update | 27
46 | install httpd | 2023-01-11 | Install | 9
47 | update -y | 2023-08-08 | Upgrade | 44
Which of the following is the most likely security concern?
Which of the following can reduce the attack surface area in relation to Linux hardening?
After receiving a monitoring call, an administrator checks the Linux server for processes that have completed execution but have not been removed yet from the process table. Which of the following represents the process state for which the administrator should search?
A Linux user runs the following command:
nohup ping comptia.com &
Which of the following commands should the user execute to attach the process to the current terminal?
A systems administrator is having issues with a third-party API endpoint. The administrator receives the following output:
Which of the following actions should the administrator take to resolve the issue?
A systems administrator troubleshoots a connectivity issue and needs to determine whether port 449 is open locally. Which of the following commands should the administrator use?
A systems administrator is creating a new shared directory. Which of the following commands ensures all users from the same group will be able to work with the newly created files?
A systems administrator is decommissioning a service. Which of the following commands should the administrator use to make sure users cannot start the service again?
A small group of remote users needs permission to run some administrative commands on a Linux server. Which of the following approaches is the best way to address this request?
An administrator added a new disk to expand the current storage. Which of the following commands should the administrator run first to add the new disk to the LVM?
A Linux administrator needs to create accounts for a list of new users. The user account names have been defined in the USER_LIST variable by executing the following:
USER_LIST= " alice bob charles "
Which of the following commands should the administrator use to successfully create the user accounts?
A Linux administrator notices that an application is having trouble connecting to an external database. Which of the following commands should the administrator use to validate the connection to the remote port exposed by a database server?
A Linux administrator attempts to unmount the local filesystem /data in order to mount a new volume. However, the administrator receives the following error message:
umount: /data: target is busy
Which of the following commands should the administrator run to resolve the issue?
The development team asks a Linux administrator to help diagnose a connectivity issue that is occurring with a newly developed software. The Linux administrator reviews the following output:
$ wget -vvv
Resolving proxy.comptia.org (proxy.comptia.org)... connected.
ERROR: The certificate of ' api.newapp.comptia.org ' is not trusted.
ERROR: The certificate of ' api.newapp.comptia.org ' does not have a known issuer.
Which of the following actions is the best way to resolve the issue?
Due to application compatibility issues, the Python 3 OpenSSL library should not be upgraded. Which of the following commands should the systems administrator use to ensure the package stays at the current version?
A Linux server is experiencing slowness. A systems administrator obtains the following output:
top - load average: 2.43, 1.80, 2.32
Tasks: ... 154 zombie
%Cpu(s): 6.2 us, 5.1 sy, 0.0 ni, 79.2 id, 9.1 wa, ...
$ iostat -m 2
%user %nice %system %iowait %steal %idle
4.30 2.02 0.29 70.38 4.00 19.01
Which of the following explains the issue?
An administrator receives a report that a user is unable to execute the runreports utility. The administrator logs in as the user, runs the following commands, and receives the following output:
$ runreports
runreports: command not found
$ ls -l /usr/local/bin
-rwxr-xr-x 1 root root 29 May 10 11:31 runreports
$ echo $PATH
/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
Which of the following best describes the issue and how to resolve it?
Which of the following is the location for built-in Linux executable files and utilities?
Which of the following commands should an administrator use to convert a KVM disk file to a different format?
System users are being randomly disconnected from a server. The systems administrator inspects the following output:
# ping 192.168.1.1
--- 192.168.1.1 ping statistics ---
100 packets transmitted, 4 received, 96% packet loss
# ip -s link show
RX: errors 400000
TX: errors 150000
# ip route
default via 192.168.1.1 dev enp0s25 proto dhcp src 192.168.1.102 metric 600
Which of the following should the administrator do to fix the issue?
A Linux administrator receives reports that an application hosted in a system is not completing tasks in the allocated time. The administrator connects to the system and obtains the following details:
Which of the following actions can the administrator take to help speed up the jobs?
A Linux administrator wants to use AI to deploy infrastructure as code. Which of the following is a best practice regarding the use of AI for this task?
A Linux administrator receives reports that an application hosted in a system is not completing tasks in the allocated time. The administrator connects to the system and obtains the following details:
$ uptime
12:47:43 up 22:17, 2 users, load average: 7.75, 5.72, 5.17
Which of the following is the most likely cause of the issue?
A Linux administrator is testing a web application on a laboratory service and needs to temporarily allow DNS and HTTP/HTTPS traffic from the internal network. Which of the following commands will accomplish this task?
A Linux user needs to download the latest Debian image from a Docker repository. Which of the following commands makes this task possible?
A systems administrator is configuring new Linux systems and needs to enable passwordless authentication between two of the servers. Which of the following commands should the administrator use?
A systems administrator is writing a script to analyze the number of files in the directory /opt/application/home/. Which of the following commands should the administrator use in conjunction with ls -l | to count the files?
An administrator must secure an account for a user who is going on extended leave. Which of the following steps should the administrator take? (Choose two)
An administrator updates the network configuration on a server but wants to ensure the change will not cause an outage if something goes wrong. Which of the following commands allows the administrator to accomplish this goal?
Which of the following commands can be used to display current CPU utilization in real time on a Linux system?
An administrator needs to create a new logical volume from sets of provisioned disks. Which of the following shows the correct order of commands the administrator should execute?
Which of the following describes PEP 8?
Which of the following describes how a user ' s public key is used during SSH authentication?
A Linux administrator just finished setting up passwordless SSH authentication between two nodes. However, upon test validation, the remote host prompts for a password. Given the following logs:
Which of the following is the most likely cause of the issue?
A Linux user needs to authenticate to a Windows Active Directory domain. Which of the following configuration files contains the domain configuration details?
Which of the following commands is used to display detailed information about block devices on a Linux system?
A Linux systems administrator makes updates to systemd-managed service configuration files. Which of the following commands should the administrator execute in order to implement the changes?
A systems administrator needs to check the statuses of all the services on a Linux server. Which of the following commands accomplishes this task?