Which of the following is the BEST reason for not storing database files in the /var directory?
A configuration management tool running every minute is enforcing the service HTTPd to be started. To
perform maintenance, which of the following series of commands can be used to prevent the service from
being started?
An analyst is trying to determine which public IP addresses are managed by Company A, but the script is not working correctly.
Which of the following explains what is wrong with the script?
An administrator receives a USB drive and wants to make an exact copy of the disk before starting to work on it. One of the partitions on the USB drive was mounted as /dev/sdc1.
Which of the following commands should the administrator use?
Which of the following directories contains information related to various runtime processes, such as hardware and system memory?
A Linux administrator is configuring a web server that connects to an external SQL database. However, after starting the web application, the logs are showing an error message:
Which of the following is the BEST way to resolve this issue?
A remote server reverts to the incorrect time when it is restarted. Which of the following will save the correct time to the BIOS clock once the time and date have been set on the server?
An administrator needs to see the type of CPU that a server is running. Which of the following files contains this information?
A Linux administrator needs to schedule a cron job to run at 1:15 p.m. every Friday to report the amount of free disk space on the system and to send the output to a file named “freespace”. Which of the following would meet this requirement?
An administrator needs to allow additional specific users and groups to have access to a foWer without removing the original owner or group. Which of the following commands should the administrator use to complete this task?
An administrator is investigating issues with an unresponsive website hosted on an internal web server named websrv. After gathering diagnostics data the administrator performs the following analysis:
Which of the following would MOST likely resolve the issue on the web server?
An administrator schedules downtime on a system to find out why it takes so long to boot. Which of the following commands will help the administrator determine the issue with this system?
A systems administrator needs to allow the Linux server to receive HTTP connections from Internet hosts. By default, the port for HTTP connections is blocked. Which of the following rules should be added in the firewall to allow this type of connection?
Which of the following server roles is MOST appropriate to route files to multifunction devices?
An administrator wants to add a user named comptia to the system administrators group. Which of the following commands will accomplish this task?
A technician recently installed Linux on a desktop computer. The desktop has two graphics cards from two different vendors. One of the graphics cards works, but the other does not. Which of the following commands should the technician use to start troubleshooting this issue?
A Linux administrator has downloaded and installed the httpd package.
Which of the following commands will start the service immediately and allow the service to start on system boot?
A systems administrator notices several intensive tasks executing from users Joe and Ann. These processes
are impacting server operations but must be allowed to continue running.
Which of the following commands should the systems administrator run to reduce the impact on the server?
Some Bash scripts arc being versioned and stored in a Git repository Which of the following commands should the Linux administrator use to exclude tmp Wes from being added to the repository during any code adds and commits?
A technician wants to create a set of directories named dir9 and change their permissions so only the owner can manage their content. Which of the following scripts will accomplish this task?
A)
B)
C)
D)
An administrator is using a configuration management tool to define a system’s configuration. The defined configuration can be used to provision new systems, rebuild existing systems, or roll back systems
to their original baseline configurations.
Which of the following BEST describes what the administrator is doing?
Which of the following would be used to check a sensor input to a Linux system?
While booting an Intel 64-bit Debian UEFI desktop from power up, the prompt ts0> was displayed, indicating the bootloader failed. Which of the following will complete the boot process to a GRUB2 menu?
A Linux administrator needs to schedule a backup job to run every Friday at 2 15 a.m. Which of the following lines should the administrator add to the crontab file?
A virtual machine logs al limes using UTC The systems administrator would like to have one script that outputs times that are in the Amenca/Chicago time zone. Which of the following would the administrator MOST likely use in the script to accounts.
Which of the following commands will verify the size of a swap partition? (Seled TWO).
A systems administrator is reviewing the following partial output:
Which of the following should the administrator use to find contact information for the connections?
An administrator is reviewing suspicious activity on a server and needs to determine which users logged into
the system within the past 24 hours. Which of the following commands should the administrator run to
determine this?
A user wants to alias dir so it always returns the contents of the ls -la command. However, the user has to
reset the alias with every login.
Which of the following is the BEST action the user can take to ensure the command is always available?
A Linux administrator needs to configure a new firewall without an existing ACL to allow incoming web traffic.
The firewall must log the allowed network traffic. Which of the following command sequences would
accomplish this task when they are executed in order?
A developer has contacted a systems administrator because an application is not receiving a response from the client. The application must purge the message queue before terminating. Which of the following should the systems administrator perform in order to BEST address the issue?
A Linux administrator is restoring the SELinux contexts on an entire system. Which of the following commands
is the BEST option to complete this task?
A user, jsmith, needs access to database files located on a server. Which of the following will add jsmith to the “dba” group and preserve existing group memberships?
An administrator uses a tool to perform roiling deployments when the production application needs to be updated. The tool temporarily removes 10% of the systems from the load balancer at a time and it pushes the newest version of the application to each system. If there are errors the tool rolls back the changes. Which of the following does this scenario BEST describe?
As a Systems Administrator, to reduce disk space, you were tasked to create a shell script that does the following:
Add relevant content to /tmp/script.sh, so that it finds and compresses rotated files in /var/log without recursion.
INSTRUCTIONS
Fill the blanks to build a script that performs the actual compression of rotated log files.
If at any time you would like to bring back the initial state of the simulation, please click the Reset All button.
A Linux administrator needs to take stock of USB devices attached to the system.
Which of the following commands would be BEST to complete this task?
A junior administrator of a physical server receives log messages indicating the out-of-memory killer has been active. All memory slots are in use on the motherboard, but additional disk space is available. Space has been allocated for a swap file.
Which of the following should the administrator use to reduce the output of memory messages?
A user has connected a Bluetooth mouse to a computer, but it is not working properly. Which of the following commands should the systems administrator use to fix the issue?
A Bash script is saving the following list of users from the home directory to a variable:
User=’’home/matt home/tom home/john home/mike’’.
Which of the following commands creates a list of only the usernames?
Which of the following server roles would MOST likely be found in a PXE boot environment?
An administrator is provisioning and attaching a secondary disk to a Linux server as a data drive. Which Of the following commands the administrator use to find the UUID Of the disk so the drive can be mounted upon boot?
When logging in, an administrator must use a temporary six-digit code that is displayed on a key fob.
Which of the following has been implemented?
A systems administrator wants to verify the DNS information of a system that is in production.
Which of the following will provide this information?
A user attempts to use the mount -a command but gets the following error:
mount: mount point /mnt/test does not exist
Which of the following commands best describes the action the Linux administrator should take NEXT?
Which of the following command should an administrator use to prevent users from starting the httpd service on a system-based Linux system?
A user cannot write files to the /home/user directory. The junior Linux administrator runs the following commands:
Which of the following BEST represents why the user cannot write files?
Which of the following commands will let a Linux user know the PCI devices that are installed in the system?
A junior systems administrator needs to make a packet capture file that will only capture HTTP protocol data to a file called test.pcap.
Which of the following commands would allow the administrator to accomplish this task?
Due to security policies, a restriction was implemented that forbids direct access to the database server. The
junior administrator needs to connect using SSH tunneling. Which of the following commands allows the junior
administrator to connect from a desktop?
An administrator receives an alarm because the disk of one of the sewers is running out of space. Which of the
following commands can be used to see the space that each partition is using?
A systems administrator copied the latest archive Of the corporate application, corpapp.tar.gz, to a new server. The backup software lists the following entry in the log file:
Which of the following should the administrator run to verify the archive copied correctly without corruption?
A systems administrator wants to check the log of changes made to a Git repository. Which of the following commands can be used for this task?
The following error is encountered when running a script:
Which of the following is the cause of this error?
A junior systems administrator is scanning archive.tar files with an antivirus scanner. The administrator is given the following tasks:
Which of the following actions should be performed to meet these requirements? (Choose two.)
A Linux administrator built a GitLab server. Later that day, a software engineer tried to access the server to upload the repository during the final step of installation. The software engineer could not access the website. Which of the following firewall rules would allow access to this site?
A junior administrator is installing kernel modules. The administrator is given a checklist that outlines the
following tasks to be completed:
Display currently installed module version.
Display which modules loaded at startup.
Which of the following commands would be used to accomplish these tasks? (Choose two.)
A systems administrator must clean up all application files in the directory /var/log/app. However, the company’s security policy requires the files to be kept on the backup server for one year. The Linux server has only the tar and bzip2 packages installed.
Which of the following commands will package and compress the files?
A user does not want Bluetooth to start up event time the system starts. Which of the following commands should the user execute to accomplish this task?
Which of the following commands allow an administrator to determine if the current system is a virtual machine?
An administrator is utilizing an automation engine than uses SSH to run commands on remote systems. Which of the fctowng does this describe?
A systems administrator is attempting to access a server by SSH. The Linux administrator ensures that the SSH keys on the remote server were unable to connect. The following error message is being displayed:
Which of the following needs to be changed on order for the administrator to access the server via SSH?
A Linux administrator issues the following command with root or sudo privileges:
Rmp -1 installpackage.rpm --nodeps
Which of the following should the administrator expect to see in the output?
A system administrator is setting up a cron job that will copy thousands files from a remote directory on a scheduled basic. The file contents should retain their original permissions, including and group ownership, and the cron job should run for the least amount of the possible. Which of the following is the BEST program to use in this situation?
A new web server was recenly installed and configured according to vendor.......... management via SSH has shown slow screen responses. The systems administrator..
An administrator is setting up a script named script,sh to be executed daily at 3:15 a.m. Which of the following is the correct way to define this in crontab?
A new packages repository named repo10 has been installed on mirror site. A Linux administrator wants to use this new repository for local package installations. In which of the following locations should the administrator store the configuration information for the repo10 repository?
A Linux administrator needs to remotely update the contents of the www.comptia.org/contacts URL.
Which of the following commands would allow the administrator to download the current contents of the URL before updating?