answers
Which of the following commands could be used to turn off quotas? ✔️✔️Correct Ans-quotaoff
A junior system administrator comes to ask for your assistance. He was given instructions to activate
the third partition on the second hard drive to use as virtual memory. It has already been formatted
and initialized as swap. Which command could you suggest that the junior system administrator use?
✔️✔️Correct Ans-swapon /dev/sdb3
Keri is getting frustrated that her workstation wants to do a filesystem check upon boot on a fairly
frequent basis. Which of the following could she use to change how frequently the system forces a
filesystem check to be run? ✔️✔️Correct Ans-tune2fs
Jack needs to be able to determine which modules are currently loaded on a Linux server. Which of
the following commands could he use to gather this information? ✔️✔️Correct Ans-lsmod
NTP ✔️✔️Correct Ans-This protocol provides the ability to synchronize time between network devices
and a world clock.
DNS ✔️✔️Correct Ans-This service is used to automatically assign IP addresses to hosts when they
join a network.
FTP ✔️✔️Correct Ans-This service provides a repository where users can upload or download files.
DHCP ✔️✔️Correct Ans-This service runs on a server to allow clients to resolve names to IP addresses.
Carlos manages a Linux system that users are able to SSH into in order to perform certain tasks.
However, he has just installed a critical patch and wants to reboot the server to ensure that it has fully
taken effect. Which of the following commands should he use to ensure that a reboot will not interrupt
any logged in users? ✔️✔️Correct Ans-w
Which of the following commands will list all users except for the root account? ✔️✔️Correct Ans-cat
/etc/passwd | grep -v root
, grep -v root /etc/passwd
Which of the following file extensions might be used as part of a shell script filename? ✔️✔️Correct
Ans-.sh
John needs to remove the subdirectory named temp2 as well as all of the files that it contains. Which
of the following commands could John use to accomplish this task in one step? ✔️✔️Correct Ans-rm -r
temp2
Using the output below, determine which of the following is true:
drwxr-xr-x 4 jsmith finance 128 Feb 21 2018 ProjectX ✔️✔️Correct Ans-The permissions could have
been set using the command - chmod 755 ProjectX.
Which of the following settings for umask would ensure that the user and group permissions are not
affected while the other does not have read, write, or execute? ✔️✔️Correct Ans-0007
Which of the following attributes can be given to a file using the chattr command in order to prevent
the file from being modified in any way (even by the root user)? ✔️✔️Correct Ans-immutable
Which of the following commands could be used to access data on a CD? ✔️✔️Correct Ans-mount -r -t
iso9660 /dev/cdrom /media/cdrom
Which of the following commands can be used to format a disk partition as ext4? (Choose all that
apply.) ✔️✔️Correct Ans-mkfs
mke2fs
Karen wants to see which partitions are currently mounted on a Linux workstation. Which of the
following commands could she use to see this information? ✔️✔️Correct Ans-cat /proc/mounts
Natalie wants to use an existing server to deploy a new virtual machine. The new virtual machine will
initially only need 20 GB of disk space, but is expected to grow at a rate of 5 GB per month. She
wants to set the size for the virtual hard drive to 512 GB. However, the server that she intends to use
has a 2 TB hard drive with only 100 GB of free disk space. What can Natalie use to accomplish this
task? ✔️✔️Correct Ans-thin provisioning