You are on page 1of 21

2/19/23, 11:39 AM Midterm 1: Attempt review

Started on Tuesday, 14 February 2023, 4:03 PM


State Finished
Completed on Tuesday, 14 February 2023, 4:23 PM
Time taken 19 mins 29 secs
Marks 40.00/40.00
Grade 10.00 out of 10.00 (100%)

Question 1
Complete
Mark 1.00 out of 1.00

Executing the command “init 6” will _____.

Select one:
a. change the user interface to CUI.
b. set the run level to 0
c. reboot the service.
d. halt the system.
e. None of the mentioned.
f. kill the “init” process.

Your answer is correct.

https://lms-hcmuni.fpt.edu.vn/mod/quiz/review.php?attempt=409740&cmid=4041 1/21
2/19/23, 11:39 AM Midterm 1: Attempt review

Question 2
Complete
Mark 1.00 out of 1.00

Which of the following directories typically includes files associated with third-party applications?

Select one:
a. /opt/
b. /home/
c. /usr/
d. /etc/

Question 3
Complete
Mark 1.00 out of 1.00

Which of the following is an open source license?

Select one:
a. Any Microsoft license
b. Freeware
c. Public domain
d. GNU GPL

https://lms-hcmuni.fpt.edu.vn/mod/quiz/review.php?attempt=409740&cmid=4041 2/21
2/19/23, 11:39 AM Midterm 1: Attempt review

Question 4
Complete
Mark 1.00 out of 1.00

What kind of attack is it when you attempt every possible character combination to crack a password?

Select one:
a. Brute force
b. Iterative
c. Dictionary
d. Wordlist

Question 5
Complete
Mark 1.00 out of 1.00

Which of the following services or protocols can be used to add security to Telnet?

Select one:
a. SSL
b. PAP
c. NTP
d. None of the mentioned.

https://lms-hcmuni.fpt.edu.vn/mod/quiz/review.php?attempt=409740&cmid=4041 3/21
2/19/23, 11:39 AM Midterm 1: Attempt review

Question 6
Complete
Mark 1.00 out of 1.00

A set of services that get started is determined by which of the following?

Select one:
a. Process control
b. Init
c. Init.d
d. Runlevel

Question 7
Complete
Mark 1.00 out of 1.00

Which utility would you use to add or remove packages on a Debian or Ubuntu system?

Select one:
a. Apt-cache
b. Bin
c. Apt-get
d. Yum

https://lms-hcmuni.fpt.edu.vn/mod/quiz/review.php?attempt=409740&cmid=4041 4/21
2/19/23, 11:39 AM Midterm 1: Attempt review

Question 8
Complete
Mark 1.00 out of 1.00

Which of the following is the first process that runs after the kernel loads on most Linux systems?

Select one:
a. init
b. inetd
c. superserv
d. xinetd

Question 9
Complete
Mark 1.00 out of 1.00

Runlevel 5 is commonly used for what purpose?

Select one:
a. Multiuser, no network
b. Multiuser, GUI
c. Multiuser, network, no GUI
d. Single user

https://lms-hcmuni.fpt.edu.vn/mod/quiz/review.php?attempt=409740&cmid=4041 5/21
2/19/23, 11:39 AM Midterm 1: Attempt review

Question 10
Complete
Mark 1.00 out of 1.00

Which of the following commands can be used to unpack and uncompress a stock kernel in .xz format?

Select one:
a. tar xjf
b. tar xzf
c. tar xuf
d. tar xbf

Question 11
Complete
Mark 1.00 out of 1.00

Name the section of the kernel confguration tool related to formats such as ext2 and ext3.

Select one:
a. Networking
b. Filesystems
c. Security Features
d. Device Drivers

https://lms-hcmuni.fpt.edu.vn/mod/quiz/review.php?attempt=409740&cmid=4041 6/21
2/19/23, 11:39 AM Midterm 1: Attempt review

Question 12
Complete
Mark 1.00 out of 1.00

Which of the following actions should you not take when implementing a new kernel?

Select one:
a. Patch
b. Install
c. Upgrade
d. Compile

Question 13
Complete
Mark 1.00 out of 1.00

Which command is commonly used to install and update packages from the command line on Red Hat systems?

Select one:
a. get
b. apt
c. yum
d. update

https://lms-hcmuni.fpt.edu.vn/mod/quiz/review.php?attempt=409740&cmid=4041 7/21
2/19/23, 11:39 AM Midterm 1: Attempt review

Question 14
Complete
Mark 1.00 out of 1.00

Which of the following files contain the addresses of remote repositories?

Select one:
a. /etc/apt/apt.conf.d/10periodic
b. /etc/apt.conf
c. /etc/apt/sources.list
d. /etc/apt/apt.conf

Question 15
Complete
Mark 1.00 out of 1.00

What is the primary purpose of hardening an operating system?

Select one:
a. Creating a bastion host
b. Building a kernel
c. Building a Web server
d. Protecting against attack

https://lms-hcmuni.fpt.edu.vn/mod/quiz/review.php?attempt=409740&cmid=4041 8/21
2/19/23, 11:39 AM Midterm 1: Attempt review

Question 16
Complete
Mark 1.00 out of 1.00

Which of the following commands prohibits access from all users except the user owner and members of the group that owns the fle
named flename?

Select one:
a. chmod 077 filename
b. chmod 007 filename
c. chmod 770 filename
d. chmod 707 filename

Question 17
Complete
Mark 1.00 out of 1.00

What confguration fle is used to confgure ACLs for a flesystem?

Select one:
a. /etc/flesystems
b. /etc/acl
c. /etc/pam.d/acl
d. /etc/fstab

https://lms-hcmuni.fpt.edu.vn/mod/quiz/review.php?attempt=409740&cmid=4041 9/21
2/19/23, 11:39 AM Midterm 1: Attempt review

Question 18
Complete
Mark 1.00 out of 1.00

Which of the following files is not normally readable by all users?

Select one:
a. /etc/group
b. /etc/shadow
c. /etc/login.defs
d. /etc/passwd

Question 19
Complete
Mark 1.00 out of 1.00

Which of the following files contains information about time limits on a password?

Select one:
a. /etc/passwd
b. /etc/group
c. /etc/shadow
d. /etc/gshadow

https://lms-hcmuni.fpt.edu.vn/mod/quiz/review.php?attempt=409740&cmid=4041 10/21
2/19/23, 11:39 AM Midterm 1: Attempt review

Question 20
Complete
Mark 1.00 out of 1.00

Which of the following commands can be used to revise expiration information on a user password?

Select one:
a. useradd
b. passwd
c. chage
d. groupmod

Question 21
Complete
Mark 1.00 out of 1.00

Packages associated with SSH include a client for which of the following protocols?

Select one:
a. Telnet
b. Samba
c. FTP
d. SMTP

https://lms-hcmuni.fpt.edu.vn/mod/quiz/review.php?attempt=409740&cmid=4041 11/21
2/19/23, 11:39 AM Midterm 1: Attempt review

Question 22
Complete
Mark 1.00 out of 1.00

Which of the following services are required with Kerberos?

Select one:
a. NFS
b. Samba
c. NTP
d. Telnet

Question 23
Complete
Mark 1.00 out of 1.00

What is the command that can create users and passwords for access to a Web directory in Apache

Select one:
a. apacheaccess
b. htaccess
c. htpasswd
d. apachepass

https://lms-hcmuni.fpt.edu.vn/mod/quiz/review.php?attempt=409740&cmid=4041 12/21
2/19/23, 11:39 AM Midterm 1: Attempt review

Question 24
Complete
Mark 1.00 out of 1.00

Which of the following confguration files is most important for Postfx?

Select one:
a. main.cf
b. master.cf
c. submit.cf
d. maps.cf

Question 25
Complete
Mark 1.00 out of 1.00

Which of the following services should not be disabled on a bastion host used as an FTP server? Assume that the host is administered
remotely, over an encrypted connection.

Select one:
a. SSH
b. iptables
c. CUPS
d. Telnet

https://lms-hcmuni.fpt.edu.vn/mod/quiz/review.php?attempt=409740&cmid=4041 13/21
2/19/23, 11:39 AM Midterm 1: Attempt review

Question 26
Complete
Mark 1.00 out of 1.00

What might services implement to provide better protection from remote attacks?

Select one:
a. Systemctl
b. Firewall-lib
c. Initd
d. Access control lists

Question 27
Complete
Mark 1.00 out of 1.00

Which of the following confguration files is considered first with respect to TCP Wrapper security? 

Select one:
a. /etc/hosts.allow
b. /etc/inetd.conf
c. /etc/xinetd.conf
d. /etc/hosts.deny

https://lms-hcmuni.fpt.edu.vn/mod/quiz/review.php?attempt=409740&cmid=4041 14/21
2/19/23, 11:39 AM Midterm 1: Attempt review

Question 28
Complete
Mark 1.00 out of 1.00

Which of the following actions is not used with the -j switch for the iptables command?

Select one:
a. FORWARD
b. LOG
c. REJECT
d. DROP

Question 29
Complete
Mark 1.00 out of 1.00

Which of the following iptables command switches adds a rule to the middle of a chain?

Select one:
a. -A
b. -L
c. -I
d. -C

https://lms-hcmuni.fpt.edu.vn/mod/quiz/review.php?attempt=409740&cmid=4041 15/21
2/19/23, 11:39 AM Midterm 1: Attempt review

Question 30
Complete
Mark 1.00 out of 1.00

Which of the following components makes up the core of the Linux operating system?

Select one:
a. Linux libraries
b. Cloned software from Unix
c. Linux services
d. The kernel

Question 31
Complete
Mark 1.00 out of 1.00

Which of the following statements best describes the structure of the Linux kernel?

Select one:
a. A single monolithic kernel
b. A modular core with monolithic components
c. A completely modular kernel
d. A monolithic core with modular components

https://lms-hcmuni.fpt.edu.vn/mod/quiz/review.php?attempt=409740&cmid=4041 16/21
2/19/23, 11:39 AM Midterm 1: Attempt review

Question 32
Complete
Mark 1.00 out of 1.00

Which of the following statements best describes the structure of the Linux kernel?

Select one:
a. A modular core with monolithic components
b. A monolithic core with modular components
c. A completely modular kernel
d. A single monolithic kernel

Question 33
Complete
Mark 1.00 out of 1.00

Which of the following options is not used to block access from certain IP addresses?

Select one:
a. Extended internet super server
b. iptables
c. TCP Wrappers
d. SELinux

https://lms-hcmuni.fpt.edu.vn/mod/quiz/review.php?attempt=409740&cmid=4041 17/21
2/19/23, 11:39 AM Midterm 1: Attempt review

Question 34
Complete
Mark 1.00 out of 1.00

Which package manager does Red Hat Enterprise Linux use?

Select one:
a. rpm
b. tgz
c. SlackPack
d. apt

Question 35
Complete
Mark 1.00 out of 1.00

Which of the following is the piece of software used to manage virtual machines?

Select one:
a. Inetserv
b. Hypervisor
c. Super server
d. Central processor

https://lms-hcmuni.fpt.edu.vn/mod/quiz/review.php?attempt=409740&cmid=4041 18/21
2/19/23, 11:39 AM Midterm 1: Attempt review

Question 36
Complete
Mark 1.00 out of 1.00

Which of the following polkit concepts is associated with configuring access rules to special desktop tools by user?

Select one:
a. Explicit authorizations
b. Administrative authorizations
c. Implicit authorizations
d. Polkit authorizations

Question 37
Complete
Mark 1.00 out of 1.00

Which of the following filesystem formats is best suited for a smaller volume?

Select one:
a. reiserfs
b. ext4
c. ext3
d. ext2

https://lms-hcmuni.fpt.edu.vn/mod/quiz/review.php?attempt=409740&cmid=4041 19/21
2/19/23, 11:39 AM Midterm 1: Attempt review

Question 38
Complete
Mark 1.00 out of 1.00

Which of the following commands sets the SUID bit on the file named filename?

Select one:
a. chmod 3777 filename
b. chmod 4555 filename
c. chmod 2750 filename
d. chmod 1770 filename

Question 39
Complete
Mark 1.00 out of 1.00

If you try to change files remotely on a shared NFS directory as the root administrative user, what happens?

Select one:
a. The change fails because the root user on one system is the nobody user on another system.
b. The change fails unless you log in with the root administrative password from the remote system.
c. The change is successful even if the NFS directory is shared in read-only mode.
d. The change is successful.

https://lms-hcmuni.fpt.edu.vn/mod/quiz/review.php?attempt=409740&cmid=4041 20/21
2/19/23, 11:39 AM Midterm 1: Attempt review

Question 40
Complete
Mark 1.00 out of 1.00

In linux, Systemctl is used to perform what system function?

Select one:
a. Install packages
b. Configure the Web server
c. Manage passwords
d. Manage services

 

https://lms-hcmuni.fpt.edu.vn/mod/quiz/review.php?attempt=409740&cmid=4041 21/21

You might also like