An administrator needs to create a shared directory in which all users are able, write, and execute its content but none of the regular users are able to delete any content.
Which of the following permissions should be applied to this shared directory?
A server is almost out of free memory and is becoming unresponsive. Which of the following sets of commands will BEST mitigate the issue?
Given the output below:
Which of the following commands can be used to remove MyPhoto.jpg from the current directory?
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 junior Linux administrator is performing version control on a Git repository. The administrator is given a list of
Which of the following commands would allow the administrator to complete these tasks? (Choose two.)
An administrator is trying to optimize a connection to an off-site NFS server.
Which of the following commands would BEST display the problems with packet sizes between hops on the network?
Which of the following can cause a kernel panic message after a system reboot?
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 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?
Which of the following techniques would BEST allow a client computer to connect to a server that is not normally accessible because the server’s application port is blocked by a firewall?
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 is installing a Linux VM on a personal hypervisor. The administrator wants to have the VM’s IP address on the same network as the hypervisor host so the VM has the same network properties as the physical interface of the host. To which of the following should the administrator set the network properties?
A systems administrator needs to conduct maintenance on a server.
Which of the following commands will place the administrator in the appropriate runlevel?
A Linux administrator receives the following while attempting to remove a file:
Which of the following commands will resolve the issue?
Therefore 'chattr -i test.txt' will remove the immutable flag (remember that chattr uses - and + to turn off/on options unlike a normal command option which is only ever preceeded by a -) so that the file can then be deleted by rm.
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 systems administrator is using a Linux laptop to troubleshoot network devices. The administrator runs the
# screen /dev/USB0
Which of the following does this command MOST likely accomplish?
A junior systems administrator has generated a PKI certificate for SSH sessions. The administrator would like to configure authentication without passwords to remote systems. Which of the following should the administrator perform?
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?
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 system administrator is investigating why user3 cannot log in using SSH to one of the servers.
An attempt to log in results in the following:
Which of the following commands should the systems administrator execute to allow user3 log in to the server?
A systems administrator receives a report that the web server is not running after a planned system reboot.
After starting the web server manually, which of the following commands should the administrator issue to ensure the web server starts at boot time?
A Linux administrator has configured a local named caching server to reduce the amount of time to resolve common DNS addresses. The server resolves using the external server, however; the administrator wants to avoid this configuration. The administrator verifies the named, conf settings to confirm the following relevant settings:
The administrator then runs dig twice to look up an external address and receives the following relevant output the second time.
Which of the following should the administrator do to correct the configuration?
A Linux administrator wants to configure log messages of critical or higher severity levels from the cron utility to be logged to the console. Which of the following will accomplish this objective?
Using which of the following control mode commands is the correct way to substitute all occurrences of /dev/
sdc with /dev/sdd while editing a file in vi?
The following represents a partial listing of a user’s .bashrc file:
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 systems administrator documents the instructions on the internal wiki regarding how to turn the company's code into Debian packages. The instructions include the commands used to compile, what tests need to be run, the commands to convert the raw code into a package that apt or dpkg can manage, as well as an of each command.
Which of the following is this an example of?
An administrator completed the configuration of the in-addr.arpa zone files for an organization.
Which of the following commands should the administrator use to verify the configuration is working as expected?
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 junior Linux administrator needs to ensure a service will start on system boot. Which of the following commands should be used to accomplish this task?
A junior systems administrator created a new filesystem /dev/sda1 with mountpoint /data and added it to the /etc/fstab for auto-mounting.
When the systems administrator tries to mount the file system, the system refuses. Given the output below:
Which of the following steps is necessary?
A junior administrator is migrating a virtual machine from a Type 1 hypervisor to a Type 2 hypervisor. To ensure portability, which of the following formats should the administrator export from the Type 1 hypervisor to ensure compatibility?
A Linux administrator installed a new network adapter and temporarily disabled the network service from starting on boot. The partial output of chkconfig is as follows:
Which of the following commands BEST describes how the administrator should re-enable the network service?
A Linux administrator opens a ticket to have an external hard drive mounted. As a security policy, external storage kernel modules are disabled.
Which of the following is the BEST command for adding the proper kernel module to enable external storage modules?
Which of the following is a difference between YAML and JSON?
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?
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?
A Linux administrator needs to back up the folder /usr/domain, and the output must be a gzip compressed tar. Which of the following commands should be used?
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 take stock of USB devices attached to the system.
Which of the following commands would be BEST to complete this task?
A Linux administrator needs to switch from text mode to GUI. Which of the following runlevels will start the GUI by default?
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?
Ann, a user, has created a new directory and noticed that permissions on the new directory are as follows:
drwx------. 1 ann ann 0 Jun 11 08:20 work
Which of the following should the administrator do to restore default permissions for newly created directories?
A junior Linux administrator is setting up system-wide configuration settings. The goal is to ensure the PATH environment variable includes the following locations for all users who log into a Linux system.
The administrator issues the following commands at the terminal:
Respectively, the output of these commands is as follows:
Given this output, which of the following would be the BEST action for the administrator to perform to address this issue?
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?
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 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?
A Linux systems administrator needs to set permissions on an application with the following parameters:
The owner of the application should be able to read, write, and execute the application.
Members of the group should be able to read and execute the application.
Everyone else should not have access to the application.
Which of the following commands would BEST accomplish these tasks?
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?
A Linux administrator is investigating an issue with an internal Linux server that is unable to resolve the following internal addresses:
The administrator runs the following commands as part of troubleshooting:
Which of the following is MOST likely resolve the issue?
Which of the following commands should a Linux administrator use to open the firewall to allow incoming database connections?
Users in the payroll department are not configured to use DNS due to security concerns. The users ask the
junior Linux administrator to configure their workstations to access the payroll server at 192.168.204.11 by the
name “Payroll”. Which of the following commands should the administrator issue to meet this request?
A junior systems is configuring localization option environment variables. The administrator is given a checklist of tasks with the following requirements:
View current settings of the LC_ALL environment variable only.
Modify the LANG environment variable to US English Unicode.
Given this scenario, which of the following should be performed to meet these requirements? (Choose two.)