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?
Which of the following commands should an administrator use to see a full hardware inventory of a Linux system?
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 systems administrator is creating a backup copy of the /home/ directory. Which of the following commands allows the administrator to archive and compress the directory at the same time?
Which of the following is a protocol for accessing distributed directory services containing a hierarchy of users, groups, machines, and organizational units?
Which of the following filesystems contains non-persistent or volatile data?
A Linux user frequently tests shell scripts located in the /home/user/scripts directory. Which of the following commands allows the user to run the program by invoking only the script name?
In the echo " profile-$num-$name " line of a shell script, the variable $num seems to not be expanding during execution. Which of the following notations ensures the value is expanded?
Which of the following best describes a use case for playbooks in a Linux system?
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 user reports Issues v/hen trying to connect to one ot the Linux servers. The server administrator reviews the following outputs:
Output 1:
Kernel panic not syncing: Fatal Machine check
Fid: 0, comm; swapper Tainted: G M ------------------ 4.18.0-553.8.1.cl8_10.x86_64 #1
Call Trace:
< #mc > [rrrrrrrrs:4er..i4i] ? panic+ox7n/oxi43
[] ? mcc_panic+0x21f/0x240
[] ? do_machine_check+0xal8/0xae0
[] ? intel idie+0xbi/0xi70
[] ? machino_check+0xlc/0x30
[] ? intel_idle+0xbl/0xl70
«EOE» [] ? hrtimer 8tart+0xlB/0x20
[] ? cpuidle_idle_cail+0xa7/0xl40
I| ? cpu_idle+0xbfc/0xll0
[] ? Start_secondary+0x202/0x245
Output 2:
[325926.243631] mce: [Error] : CPU 22: Machine Check Exception: 7 Bank 0: bd80000000000134
1325926.247004| nice: (Error): Machine check events logged
[325991.358038] race: [Error] : KIP 10: < ffffffff83584719* (copy user enhanced fast strir.q+0x9/0x20)
[325991.358038] mce: [Error] : tsc 31ea89256a735 ADDR 3cdl889000 MISC 8c
[325991.350033] mce: [Error] : PROCESSOR 0:50657 TIME 15945B1695 SOCKET 0 APTC 16 microcode rrrrtrrr
[325991.358038] mce: [Error] : Run the above through ' rr.ccloq —ascii*
[325991.358038] mce: [Error] : Machine check: Action required: unknown MCACOD
[325991.3511038] Kernel panic not syncing: Fatal machine check
Which of the following statements describes the cause and resolution for this issue?
Application owners are reporting that their application stops responding after several days of running, and they need to restart it. A Linux administrator obtains the following details from the dmesg command:
invoked oom-killer
Call Trace:
out_of_memory
oom_kill_process
The application owners mentioned that resources to the system have been increased, and the error takes longer to appear. Which of the following best describes the reason the process is being terminated by OOM?
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?
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?
A Linux administrator needs to change the server name to comptia1. Which of the following commands should the administrator use?
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 is the main reason for setting up password expiry policies?
Which of the following Ansible components is used to define groups and individual hosts and can include variables specific to each host or group?
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 systems administrator needs to integrate a new storage array into the company ' s existing storage pool. The administrator wants to ensure that the server is able to detect the new storage array. Which of the following commands should the administrator use to ensure that the new storage array is presented to the systems?
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?
To perform a live migration, which of the following must match on both host servers? (Choose two)
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 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?
Users cannot access a server after it has been restarted. At the server console, the administrator runs the following commands;
Which of the following is the cause of the issue?
Which of the following is the location for built-in Linux executable files and utilities?
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.
A systems administrator needs to restore a backup to the /usr/app/data directory. Which of the following commands should the administrator use for this task?
An administrator attempts to install updates on a Linux system but receives error messages regarding a specific repository. Which of the following commands should the administrator use to verify that the repository is installed and enabled?
An administrator is trying to terminate a process that is not responding. Which of the following commands should the administrator use in order to force the termination of the process?
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 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?
Which of the following is the first step when starting a new Python project on a Linux system?
Which of the following commands is used to display detailed information about block devices on a Linux system?
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?
Which of the following describes what Ansible is used for in the context of IT infrastructure?
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?
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?