A Linux administrator configured several network interfaces to be used for backup. The administrator entered the following commands:
After the last command, a new interlace appeared as connected and worked until the Linux system was rebooted. After the reboot, the Interface did not connect properly. Which of the following configuration changes are needed to ensure that the Interface connects automatically?
An administrator wants to run a script on the second Monday of every month. The script should be executed at 7:00 a.m. and 1:00 p.m. Which of the following entries to the crontab will accomplish this?
Which of the following techniques would BEST ensure the setup and desired state of a server are consistently maintained?
A Linux administrator is confirming information on a system. The administrator issues a series of commands and gets the following output:
Which of the following did the administrator issue?
A Linux administrator created a new log file in /var/log/newlog to monitor a newly installed application. The administrator is now configuring paramters of the file so it will be rotated on a weekly basis or when it becomes larger than 1MB in...
should exist in the /var/log directory. Which of the following should be added to he /etc/ logrotate.conf file to meet this objectives?
A)
B)
C)
D)
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?
An administrator added a disk to a virtual machine. The administrator attempts to mount the first partition with the following command:
Mount/devsda1/mount_point
The administrator receives the following error message:
Mount: /mount_point: does not exist.
Which of the following BEST solves thrs issue and allows the administrator to run the mount command?
An administrator tries to log m to a Linux host with the root account but receives the following error: permission denied. A colleague confirms the password being used is correct. Which of the following is the MOST likely cause..
Which of the following would be used to check a sensor input to a Linux system?
Which of the following should an administrator use to display just the remote web browser locally?
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?
An administrator was updating several systems and received the following warning for each one: No support Locale en_US.UTF-8. Which of the following should the administrator run to eliminate this warning?
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 Linux administrator needs to implement a secunty policy that prevents all connections from the marketing department that has the IP subnet 10.10.10.0/24 from reaching the current server. Which of the following commands can BEST accomplish this task?
An administrator needs to run the rescript. sh script stored on the /nr.t/disk Wesystem. but permission is denied;
The system options are:
The script properties are:
Which of the following will 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 Linux administrator mounts a directory to a Linux workstation by executing the command mount -t ext4 /dev/sdb /mnt /leg. After rebooting the workstation the mounted device is missing. Which of the following commands should it is mounted after reboot?
An administrator wrote the following script, but it failed:
Which of the following is MOST likely the error in the script?
A four-drive Linux NAS has been improperly configured. Each drive has a capacity of 6TB, for a total storage capacity of 24TB. To reconfigure this unit to be not pluggable for drive replacement and provide total storage of 11TB to 12TB, which of the following would be the correct RAID configuration?
Which of the following is modified to reconfigure the boot environment?
An administrator has modified the configuration file for a service. The service is still running but is not using the new configured values. Which of the following will BEST remediate this issue?
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 Linux administrator is using a public cloud provider to host servers for a company’s website. Using the provider’s tools, the administrator wrote a JSON file to define how to deploy the servers. Which of the following techniques did the administrator use?
A Linux engineer is troubleshooting a newly added SCSI device for a Linux server that needed more disk
space without rebooting. The engineer discovers that the new device is not visible by the Linux kernel in
fdisk -l output. Which of the following commands should be used to rescan the entire SCSI bus?
A junior Linux administrator needs to access production servers using a secure SSH protocol. Which of the following files should contain the public key to gain remote access to the server?
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?
An administrator receives a warning about a file system filling up, and then identifies a large file located at /tmp/largelogfile. The administrator deletes the file, but no space is recovered on the file system.
Which of the following commands would BEST assists the administrator in identifying the problem?
An administrator reviews the following configuration file provided by a DevOps engineer:
Which of the following would the application parsing this file MOST likely have to support?
A Linux administrator is testing a new web application on a local laptop and consistently shows the following 403 errors in the laptop’s logs”
The web server starts properly, but an error is generated in the audit log. Which of the following settings should be enabled to prevent this audit message?
An administrator notices that a long-running script, /home/user/script.sh, is taking up a large number of system resources. The administrator does not know the script’s function. Which of the following commands should the administrator use to minimize the script’s impact on system resources?
Joe, a member of the accounting group on a Linux system, is unable to write a file called “taxes” in the accounting shared directory. The ownership and permissions on the directory and file are as follows:
accounting drwxrw-r-- user = ann, group = accounting
taxes -rw-r--r-- , user = ann, group = accounting
Which of the following commands would allow Joe to write to the file? (Choose two.)
Joe, a user, reports that he is no longer able to write files to his home directory. Upon inspection, the Linux
administrator discovers that attempting to create a new file gives the following error: No space left on device. However, the disk and partition are not full. Which of the following commands would be BEST for the administrator to use to continue troubleshooting this problem?
An administrator notices a directory on a web server named /var/www/html/old_reports that should no
longer be accessible on the web. Which of the following commands will accomplish this task?
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 Linux administrator must identify a user with high disk usage. The administrator runs the # du –s /home/* command and gets the following output:
Based on the output, User3 has the largest amount of disk space used. To clean up the file space, the administrator needs to find out more information about the specific files that are using the most disk space.
Which of the following commands will accomplish this task?
The lead Linux has added a disk, /dev/sdd, to a VM that is running out of disk space. Place the following steps in the correct order from first (1) to last (4) to add the disk to the existing LVM.
An administrator notices the HISTSIZE variable is 50, using the commands below:
HISTSIZE=50
export HISTSIZE
The administrator rechecks the HISTSIZE value using echo HISTSIZE but gets no value. Which of the
following commands should the administrator use to retrieve its value?
An administrator needs to change the DNS domain search order of a single Linux host to localize it better.
Which of the following files should the administrator edit?
An administrator wants to know the amount of memory installed on a Linux server. Which of the following
commands can be used to accomplish this task?
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?
A user issues the following command:
ls –l /var/log | egrep –e ‘^d[rwx]{3}.*[rw-]{3}.*’
The list of files in the system is shown below:
Which of the following results matches the command issued?
A systems administrator downloads an application’s source files, compiles the application, and installs it per
the application’s installation instructions. When trying to run the application, the system states:
$ occmd
bash: occmd: command not found…
Running the locate command shows it does exist in the following location:
/opt/occmd/bin/occmd
Which of the following should the administrator do to allow the command to run properly? (Choose two.)
A junior Linux administrator needs to create 16 empty files quickly that will contain sales information for each
quarter for the past four years. Which of the following commands will meet this requirement?
A customer reports a Linux production server is randomly suffering degraded performance. The administrator verifies that the sysstat package is installed and enabled on the server.
Which of the following would BEST determine what is causing the impact on performance?
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?
The following represents a partial listing of a user’s .bashrc file:
HISTSIZE=800
HISTFILESIZE=1000
umask 2002
HISTCONTROL=ignoreboth
When the user opens a terminal, an error message appears:
Octal number out of range
Which of the following lines in the partial .bashrc should be modified to prevent the error from occurring?
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?
An administrator is trying to access a server in a cloud via SSH but is unable to log in. The administrator determines the company’s IP address has been blocklisted on the server.
Which of the following should the administrator do to prevent being blocked in the future?
A Linux user needs to create a file named newfile in the home directory that mirrors the contents of the /
etc/resolv.conf file.
Which of the following commands would accomplish this task?
Users in the sales department are unable to create new files in the shared directory /Sales. A junior Linux
administrator determines the permissions on the /Sales directory are set to rwxr-----, and sales is the
group owner of the directory.
Which of the following is the BEST command for the junior administrator to issue to allow the users to create
new files?
A Linux administrator looks at the /etc/timezone file and determines the need to change the time zone from California to New York temporarily. Which of the following commands will accomplish this?
A Linux administrator is helping the security team troubleshoot an SELinux policy violation incident. Which of
the following would be the BEST utility command to display SELinux violation and AVC denial messages?
A user wants to use terminal services from a Windows workstation to manage a Linux server. Which of the following should be installed on the Linux server to enable this functionality?
A technician suspects a company's border firewall is down, thus blocking Internet access. The technician executes the following commands:
#ping -c 1 firewall.company.com
64 bytes from firewall.company.com (192.168.1.1): icmp_seq=1 ttl=64 time=0.061ms
#ping -c 16 www.comptia.com
16 packets transmitted, 0 received, 100% packet loss, time 14999ms
Which of the following commands should the technician use to BEST determine the source of this outage?
An administrator recently installed a second NIC in a server to interact with machines in an isolated enclave. However, the mnetworking on the server has not worked since it was installed. The administrator reviews the following output:
Which of the following should be the FIRST action to remediate the issue?
Vytvcft of the following a a fie that can define how to build deploy and mstaf various components for a Linux application hosted m a cloud environment?
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?
The dracut command is used to:
Which of the following server roles is MOST appropriate to route files to multifunction devices?
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?
A system administrator has discovered a drive is malfunctioning and needs to be replaced in a server. The administrator lists properties of the exiting storage before attempting the replacement:
After replacing the malfunctioning drive, which of the following is the BEST way to create the proper partition table on the new drive?
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 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?
An administrator clones a Git repository onto a local laptop. While inspecting the code, the administrator notices a bug and wants to fix it. Which of the following is the BEST command for the administrator to use to test a patch for the prior to updating the version saved in master?
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 wants to be able to access a remote server. After creating an SSH key pair, which of the following describes where the public key should be placed to allow for key-based authentication?
A Linux administrator needs to give user2 full permissions to the /opt/share/test directory. Permission for user1 and group2 must remain the same. The administrator runs the Is-Id /opt/share/test/ command and receives the output below:
Which of the following command is the BEST to perform this task?
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?
An administrator is adding an existing user named ‘’buddy’’ to the Apache group. Which of the following should the administrator perform to accomplish this task?
Which of the following can cause a kernel panic message after a system reboot?
Which of the following directories contains information related to various runtime processes, such as hardware and system memory?