IST 191 FINAL QUESTIONS AND VERIFIED ANSWERS
The automounter is a service ___________ that can automatically mount NFS shares
"on demand," and will automatically unmount NFS shares when they are no longer
being used.
a. mountfs
b. fsmount
c. automount
d. autofs - Answers - d. autofs
Which Linux command do you use to add a new group?
a. groupadd
b. newgroup
c. addgroup
d. group - Answers - a. groupadd
You have created the /secure folder and the /secure/student.smb credentials file, you
want to use chmod to protect the secure directory and the student.smb credentials file.
Which of the following would be the most appropriate permissions for the folders in the
file?
_____ Credentials file /secure/student.smb
_____ Credentials file folder /secure
1. chmod 777
2. chmod 770
3. chmod 600
4. chmod 662
5. chmod 642 - Answers - 3. chmod 600 Credentials file /secure/student.smb
2. chmod 770 Credentials file folder /secure
You want to view your group membership while logged in as student. Which of the
following commands will show your group membership?
a. mygroups
b. group
c. listgroups
d. groups - Answers - d. groups
You want to add an existing user bill to a group. What command and option can you use
to add bill to a group named admins?
, a. usermod -G admins bill
b. useradd -G admins bill
c. useradd -aG admins bill
d. usermod -aG admins bill - Answers - d. usermod -aG admins bill
On Red Hat Enterprise Linux 7, it is possible to have the scripts that run from the
initramfs pause at certain points, provide a root shell, and then continue when that shell
exits. While this is mostly meant for debugging, it can also be used to recover a lost root
password.
Order the steps below used to interrupt the boot for password recovery.
___ Reboot the system.
___ Interrupt the boot loader countdown by pressing any key.
___ Move the cursor to the entry that needs to be booted.
___ Append rd.break (this will break just before control is handed from the initramfs to
the actual system).
___ Move the cursor to the kernel command line (the line that starts with linux16)
___ Press e to edit the selected entry. - Answers - 1. Reboot the system.
2.Interrupt the boot loader countdown by pressing any key.
3. Move the cursor to the entry that needs to be booted.
6. Append rd.break (this will break just before control is handed from the initramfs to the
actual system).
5. Move the cursor to the kernel command line (the line that starts with linux16)
4. Press e to edit the selected entry.
kickstart.cfg is the sample script created by anaconda that is created in the root home
directory /root. (T/F) - Answers - False
This mode includes a Replace mode where text under the cursor is overwritten with the
text that is typed.
a. Ex
b. Command
c. Insert
d. Navigate - Answers - c. Insert
Which of the following vim keys will Switch to insert mode and start inserting BEFORE
the current cursor position?
a. i
b. A
c. l
d. a - Answers - a. i
The automounter is a service ___________ that can automatically mount NFS shares
"on demand," and will automatically unmount NFS shares when they are no longer
being used.
a. mountfs
b. fsmount
c. automount
d. autofs - Answers - d. autofs
Which Linux command do you use to add a new group?
a. groupadd
b. newgroup
c. addgroup
d. group - Answers - a. groupadd
You have created the /secure folder and the /secure/student.smb credentials file, you
want to use chmod to protect the secure directory and the student.smb credentials file.
Which of the following would be the most appropriate permissions for the folders in the
file?
_____ Credentials file /secure/student.smb
_____ Credentials file folder /secure
1. chmod 777
2. chmod 770
3. chmod 600
4. chmod 662
5. chmod 642 - Answers - 3. chmod 600 Credentials file /secure/student.smb
2. chmod 770 Credentials file folder /secure
You want to view your group membership while logged in as student. Which of the
following commands will show your group membership?
a. mygroups
b. group
c. listgroups
d. groups - Answers - d. groups
You want to add an existing user bill to a group. What command and option can you use
to add bill to a group named admins?
, a. usermod -G admins bill
b. useradd -G admins bill
c. useradd -aG admins bill
d. usermod -aG admins bill - Answers - d. usermod -aG admins bill
On Red Hat Enterprise Linux 7, it is possible to have the scripts that run from the
initramfs pause at certain points, provide a root shell, and then continue when that shell
exits. While this is mostly meant for debugging, it can also be used to recover a lost root
password.
Order the steps below used to interrupt the boot for password recovery.
___ Reboot the system.
___ Interrupt the boot loader countdown by pressing any key.
___ Move the cursor to the entry that needs to be booted.
___ Append rd.break (this will break just before control is handed from the initramfs to
the actual system).
___ Move the cursor to the kernel command line (the line that starts with linux16)
___ Press e to edit the selected entry. - Answers - 1. Reboot the system.
2.Interrupt the boot loader countdown by pressing any key.
3. Move the cursor to the entry that needs to be booted.
6. Append rd.break (this will break just before control is handed from the initramfs to the
actual system).
5. Move the cursor to the kernel command line (the line that starts with linux16)
4. Press e to edit the selected entry.
kickstart.cfg is the sample script created by anaconda that is created in the root home
directory /root. (T/F) - Answers - False
This mode includes a Replace mode where text under the cursor is overwritten with the
text that is typed.
a. Ex
b. Command
c. Insert
d. Navigate - Answers - c. Insert
Which of the following vim keys will Switch to insert mode and start inserting BEFORE
the current cursor position?
a. i
b. A
c. l
d. a - Answers - a. i