A systems administrator wants to review the logs from an Apache 2 error.log file in real time and save the information to another file for later review. Which of the following commands should the administrator use?
A Linux administrator is making changes to local files that are part of a Git repository. The administrator needs to retrieve changes from the remote Git repository. Which of the following commands should the administrator use to save the local modifications for later review?
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?
An administrator receives the following output while attempting to unmount a filesystem:
umount /data1: target is busy.
Which of the following commands should the administrator run next to determine why the filesystem is busy?
Which of the following commands should an administrator use to convert a KVM disk file to a different format?
User1 reports " access denied " errors while trying to execute app. Given the following outputs:
Which of the following options will remediate this issue?
Which of the following commands should a Linux administrator use to determine the version of a kernel module?
A user states that an NFS share Is reporting random disconnections. The systems administrator obtains the following information
Which of the following best explains the symptoms that are being reported?
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 systems administrator is preparing a Linux system for application setup. The administrator needs to create an environment variable with a persistent value in one of the user accounts. Which of the following commands should the administrator use for this task?
Users report that a Linux system is unresponsive and simple commands take too long to complete. The Linux administrator logs in to the system and sees the following: Output 1:
10:06:29 up 235 day, 19:23, 2 users, load average: 8.71, 8.24, 7.71
Which of the following is the system experiencing?
An administrator wants to search a file named myFile and look for all occurrences of strings containing at least five characters, where characters two and five are i, but character three is not b. Which of the following commands should the administrator execute to get the intended result?
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 Linux user needs to download the latest Debian image from a Docker repository. Which of the following commands makes this task possible?
A junior system administrator removed an LVM volume by mistake.
INSTRUCTIONS
Part 1
Review the output and select the appropriate command to begin the recovery process.
Part 2
Review the output and select the appropriate command to continue the recovery process.
Part 3
Review the output and select the appropriate command to complete the recovery process and access the underlying data.
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 needs to remove the directory /home/user1/data and all of its contents. Which of the following commands should the administrator use?
A Linux administrator attempts to log in to a server over SSH as root and receives the following error message: Permission denied, please try again. The administrator is able to log in to the console of the server directly with root and confirms the password is correct. The administrator reviews the configuration of the SSH service and gets the following output:
Based on the above output, which of the following will most likely allow the administrator to log in over SSH to the server?
Which of the following cryptographic functions ensures a hard drive is encrypted when not in use?
Which of the following commands sets all the directories ' permissions recursively in the user ' s home directory and makes them accessible only to the user?
A Linux administrator updates the DNS record for the company using:
cat /etc/bind/db.abc.com
The revised partial zone file is as follows:
ns1 IN A 192.168.40.251
ns2 IN A 192.168.40.252
www IN A 192.168.30.30
When the administrator attempts to resolve www.abc.com to its IP address, the domain name still points to its old IP mapping:
nslookup www.abc.com
Server: 192.168.40.251
Address: 192.168.40.251#53
Non-authoritative answer:
Name: www.abc.com
Address: 199.168.20.81
Which of the following should the administrator execute to retrieve the updated IP mapping?
Joe, a user, has taken a position previously held by Ann. As a systems administrator, you
need to archive all the files from Ann ' s home directory and extract them into Joe ' s home
directory.
INSTRUCTIONS
Within each tab, click on an object to form the appropriate commands. Command objects may only be used once, but the spacebar _ object may be used multiple times. Not all objects will be used.
If at any time you would like to bring back the initial state of the simulation, please click the Reset All button.
On a Kubernetes cluster, which of the following resources should be created in order to expose a port so it is publicly accessible on the internet?
Which of the following best describes a use case for playbooks in a Linux system?
A Linux administrator receives reports about MySQL service availability issues. The administrator observes the following information:
uptime -p shows the system has been up for only 2 minutes
journalctl shows messages indicating:
mysqld invoked oom-killer
mysqld cpuset=/ mems_allowed=0
Which of the following explains why the server was offline?
A Linux administrator needs to analyze a compromised disk for traces of malware. To complete the analysis, the administrator wants to make an exact, block-level copy of the disk. Which of the following commands accomplishes this task?
You are a systems administrator and have created an uncompressed backup of the
application directory. Several hours later, you must restore the application from backup.
INSTRUCTIONS
Within each tab, click on an object to form the appropriate command used to create the
backup and restore the application.
Command objects may only be used once, and not all will be used. Click the arrow to
remove any unwanted objects from your command.
If at any time you would like to bring back the initial state of the simulation, please click
the Reset All button.
Which of the following commands can be used to display real-time running processes on a Linux system?
A new drive was recently added to a Linux system. Using the environment and tokens provided, complete the following tasks:
• Create an appropriate device label.
• Format and create an ext4 file system on the new partition.
The current working directory is /.
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?
An administrator wants to start an Ubuntu terminal in a container. Which of the following will allow the administrator to complete the task?
A Linux administrator needs to create and then connect to the app-01-image container. Which of the following commands accomplishes this task?
A DevOps engineer needs to create a local Git repository. Which of the following commands should the engineer use?
Which of the following utilities supports the automation of security compliance and vulnerability management?
An administrator needs to verify the user ID, home directory, and assigned shell for the user named " accounting. " Which of the following commands should the administrator use to retrieve this information?
A systems administrator needs to open the DNS TCP port on a Linux system from network 10.0.0.0/24. Which of the following commands should the administrator use for this task?
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 https://api.newapp.comptia.org/v2/health
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?
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 systems administrator needs to check access to all company servers. The administrator uses the following script, which does not complete:
for i in $(cat /home/user1.file)
do
echo $i
ssh $i uptime
Which of the following is missing from the script?