A Linux administrator executed 1vextend to expand disk space to a partition from 8GB to 40GB However, the filesystem is not showing the additional space The administrator runs several commands and rectyes the following output:
Which of the following commands should the administrator run to resolve the issue?
After running an Nmap scan on a local area network, a penetration tester notices several older Linux servers have port 23 open Which of the following should the systems administrator do as a secunty best practice?
A junior Linux administrator receives a help desk ticket from a user who reports being unable to reach the website www.comptia.org. Which of the following commands should the administrator use to verify proper DNS
configuration?
A Systems administrator needs to examine the output of all kernel-related events since the system was booted. Which of the following would BEST display this information?
A Linux administrator is creating a new local Linux user account for a web application The account has the following requirements:
• Use/var/www as the home directory
• Have the service_accounts group as its pnmary group
• Have the www user group as a secondary group
• Disable the account when the password expires
Which of the following BEST meets these requirements?
A Linux administrator needs to archive all the *.log files in the /var/log directory. The directory has several symbolic link files that need to be included in the car file. Which of the following commands should the administrator run to create
A user tries to log in to the Linux console and receives the following message:
Your account has expired; Please contact your system administrator.
Which of the following commands was MOST likely run to create this behavior?
Which of the following techniques would BEST ensure the setup and desired state of a server are consistently maintained?
An administrator has a CSV file named hosts.csv. The contents of hosts.csv include the following:
192.168.2.57,lnx1prd.example.com,Linux,Production
192.168.2.58,lnx2prd.example.com,Linux,Production
192.168.1.4,server15.example.com,Windows,Development
The administrator needs to create a second comma-separated list of only the Linux server IP addresses.
Which of the following commands would achieve this need?
After cloning a remote repository, a new feature of that project needs to be developed and integrated into the next major release.
Which of the following is the first Git operation to run to begin working on this new feature immediately after the clone?
A systems administrator needs to see if a mail server is listening on port 25. Which of the following is the BEST command for the administrator to run on the mail server to see if the port is listening for connections?
A systems administrator wants to install a new application that requires the newmod kernel module. Which of
the following commands should the systems administrator use?
A user receives an access_denied error when trying to modify a file, even though the file permissions are set
to 777. Which of the following commands should be used to view additional file permissions?
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.)
An administrator needs a bootable USB for installing a new Linux machine. The administrator downloaded the
image file and named it as Linux_OS.iso in the /tmp directory. Which of the following commands will
accomplish that task?
A Linux administrator needs to prevent the Postfix mail transfer agent from starting on boot.
Which of the following commands will accomplish this task?
A Linux administrator receives a call from the network operations team that one of the database applications is down on a Linux server. The Linux server is configured with RAID 1 for redundancy, and the array /dev/md0 consists of two devices called /dev/sda1 and /dev/sdb1. After looking at the status of the RAID 1 array in the /proc/mdstat file, the administrator discovers the RAID 1 array is degraded and the disk /dev/sdb1 on which the database application was installed appears to have failed.
Which of the following steps should the administrator take to remove the device /dev/sdb1 from the RAID array md0? (Choose two.)
A user requested a USB serial device to be added to a desktop computer. The device has built-in kernel driver
support. The administrator tested the device installation and access, but the user cannot access the serial port.
Each time the user attempts to access the device, an error log is created that shows the user does not have
permission to use the serial port. Which of the following will add a user to the group that has serial port
capabilities?
A Linux administrator has downloaded the network-tools-12.1-17.i386.rpm package for installation to a local system. The administrator issues the rpm -ivh nerwork-cools-12.1-17.i386.rpm command to
install the package. After attempting to use the newly installed package, the administrator realizes the package for the system’s architecture was not installed correctly.
Which of the following commands should the administrator use to remove the package from the system?
Which of the following BEST describes the difference between a container and a VM?
A Linux systems administrator is implementing Source Code Management for the web application server
configuration files located in /etc/httpd/. Which of the following steps should the administrator perform
FIRST?
Which of the following would allow remote users to access a corporate server? (Choose two.)
An administrator notices a website hosted on an httpd web server is not loading. Upon further inspection, the
administrator learns there are no httpd processes running. When starting the service, the site operates correctly for a few minutes before the process disappears again.
Which of the following should the administrator consider as the MOST likely possibility before troubleshooting the issue?
Joe is no longer employed by a company, and Ann is taking over his projects. Several team members work out Of the directory, including Ann. The administrator needs to assign ownership Of all of Joe's files in the /projects directory to Ann. Which of the following should the administrator run to accomplish this task?
A systems administrator has scheduled a system update for a server. The update includes a resynchronization
of the package database and updates to the current packages and the system distribution packages. Which of
the following commands contains the proper order of this update?
While trying to access a website hosted on the server, the systems administrator receives the following error message:
The administrator then performs some diagnostics:
Which of the following commands should the administrator use to fix the issue?
Joe, a user, creates a short shell script, shortscript.sh, and saves it in his home directory with default
permissions and paths. He then attempts to run the script by typing ./shortscript.sh, but the command
fails to execute.
Which of the following commands would have allowed the script to run?
A Linux administrator is setting up a testing environment and needs to connect to a separate testing server using the production server name. The administrator needs to override the hostname that the DNS is returning in order to use the test environment. Which of the following commands should be run on each of the testing systems to BEST meet this goal?
A Linux administrator retrieved a repository of files from a Git server using git clone. The administrator wants to see if a configuration file was added to the repository. Which of the following Git arguments should be used to see the recent modifications?
A Linux systems administrator is setting up SSH access with PKI for several using their newly created RSA keys. Which of the following MOST securely achieves this task?
A security administrator wants to display a warning banner before a user logs in. Which of the following files must be edited to make this happen?
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?
A systems administrator is configuring options on a newly installed Linux VM that will be deployed to the Pacific time zone. Which of the following sets of commands should the administrator execute to accurately configure the correct time settings?
An administrator needs to change the IP address on a server remotely. After updating the configuration files, a network restart is needed. However, the administrator fears that when the network connection drops, the network restart script will be killed before the new IP address has been set.
Which of the following commands would prevent the script from being killed?
An administrator needs to deploy 100 identical CentOS workstations via PXE boot. Which of the following should the administrator use to minimize the amount of interaction with the consoles needed?
A systems administrator installs a simple package, but the Linux system returns the following error: rpmdb open fails. To verify if there is a problem in the RPM database, the systems administrator runs the following command:
Which of the following commands should the systems administrator run NEXT to resolve this issue?
A junior Linux administrator is trying to verify connectivity to the remote host host1 and display round-trip statistics for ten ICMP.
Which of the following commands should the administrator execute?
An administrator is uncomfortable allowing users to log in as root. Which of the following ensures that root logins are disallowed?
A technical support engineer receives a ticket from a user who is trying to create a 1KB file in the /tmp directory and is getting the following error No space left on device. The support engineer checks the /tmp directory, and it has 20GB of free space.
Which of the following BEST describes a possible cause for this error?
A Linux server needs to be accessed, but the root password is not available.
Which of the following would BEST allow an administrator to regain access and set a new known password at the same time?
After starting a long-running script, a systems administrator needs to verify the frequency of what is filling up the /var partition and kill it because it is consuming too much space.
Which of the following is the correct sequence given only a terminal is available?
Which of the following commands will verify the size of a swap partition? (Seled TWO).
An administrator needs to copy files from a Samba share where the server name is accounting. local, the share is reports, and the username is admin. Assuming local directories exist, which of the following commands would connect to the share?
A file server is sharing a directory called /share between team members inside a company. The fileshare
needs to be moved from serverA to /newshare located on serverB with all permissions and attributes
preserved. Which of the following commands would BEST achieve this task?
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?
Which of the following commands should a Linux administrator use to open the firewall to allow incoming database connections?
A)
B)
C)
D)
A systems administrator a retting an HTTPO server on a Lnux server and configuring as a proxy server The administrator runs the following commands to venfy that the service is running:
However, the arjminrstraior is getting a 503 error when browsing to portal.company. internal. After reviewing the logs, the following error information is discovered:
Which of the following commands BEST resolves the issue?
A systems administrator needs to prevent the root account from being used to log in to a Linux server via SSH. Which of the following configuration ies does the systems administrator need to edit to perform this task?
A Linux systems administrator needs to provision multiple web servers into separate regional datacenters. The systems architect has instructed the administrator to define the server infrastructure using a specific tool that consumes a text-based file.
Which of the following is the BEST reason to do this?
Ann, a Linux administrator, is storing scripts in a private Git repository. Which of the following commands should Ann use to avoid entering the login and password every time Ann commits change?
A Linux administrator is configuring a group directory in which all members in the Admins group can share and edit files and create subdirectories with the same attributes. The administrator creates the directory as follows:
Mkdir /shared
Chgrp Admins /shared
Which of the following command should the administrator execute so users can work in the directory as required?
A systems administrator has retrieved the latest copy of the system backup files, which had been stored offsite at a third-party vendor. The systems administrator wants to validate that the data was not
modified since the backup.
Which of the following would BEST verify that the data remained the same?
An administrator received a request from a security officer to eliminate a blacklisting set called internal-blocked the company is using in the iptables firewall.
Which of the following commands will complete the task?
A system administrator needs to bootstrap a series of Ubuntu images for a public provider. The administrator must ensure at the images contain the exact same updates, custom. Configure files after their first and then automatically. Which of the following tools the administrator user?
A Linux administrator needs to know the MAC address of the server’s gateway.
Which of the following commands should the administrator run to obtain this information?
A Lunix administrator added storage to an XFS-formatted filesystem at /dev/mapper/vgSlash-lvLog device using the LVM tools. However the additional space does not show up when the administrator runs the df -h command. Which of the following commands should the adiministrator run to resolve thrs 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?
A systems administrator needs to write a script that performs unattended package upgrades. Which of the folowing flags should be used with either yum or apt to meet this goal?
A Linux administrator needs to change the permission on a script so that the owner has permission to execute. Which of the following BEST accomplishes this task?
An administrator is utilizing an automation engine that engine that uses SSH to run command on remote systems. Which of the following does this describe?
Which of the following commands will result in the HIGHEST compression level when using gzig to compress a file name file, txt?
Which of the following is the MOST common method used to access Windows systems that are running in a cloud provider from a Linux system?
An administrator needs to examine two text files and select identical lines from the files. Which of the following commands wooW BEST accomplish this task?
A systems administrator is installing an HTTPD server on a Linux server and configuring it as a proxy server. The administrator runs the following commands to verify that the service is running:
However, the administrator is getting a 503 error when browsing to portal . company. internal. After reviewing the logs, the following error information is discovered:
Which Of the following commands BEST resolves the issue?