Uploaded by RAHUL VORA

Linux w1.docx

advertisement
1.Question 1 There are many distributions of Linux. Red Hat type
distributions may include the following except: Ubuntu is based off of
Debian
2.Question 2 When choosing a distribution some key features to
consider contain the following except: How expensive it is? Most Linux
distributions are open source. You just pay for support.
3.Question 3 Information on distributions can be found on which
site? distrowatch.com linuxfreedom.com linux.org
4.Question 4 What must a distribution have in order to be called
Linux The Linux Kernel
5.Question 5 How many versions are there of Linux
Could be many thousands since you can create your own
6.Question 6
____ is not one of the challenges of Linux
It's open source
7.Question 7
Linux is ____ source: Open
8.Question 8
What is the package manager for Red Hat systems called?
Yum/RPM
9.Question 9
What is the package manager for Ubuntu systems called?
Aptitude/Synaptic
10.Question 10
What is the command “man” used for?
It's used as a manual command that displays information on the
command.
W2
1.Question 1
How is cron used? Periodic Processing
2.Question 2
What is a route?
A route defines how memory gets from point A to point B.
A route is applied to an file to tell the file where to execute from.
A route is applied to an interface to tell traffic where to go.
Incorrect
Incorrect. Please review Linux Networking lecture.
0 / 1 point
3.Question 3
Distributions typically display networking information True
4.Question 4
If I can't ping a website, such as google.com, what might I
ping instead to check for network connectivityThe gateway
5.Question 5
The 2 types of boot protocols on startup for an interface are:
DHCP/Static
6.Question 6
What is the command to view interfaces within Linux
ipaddr
ipconfig
ifconfig
ifstatus
Incorrect
Incorrect. Please review the Linux Networking lecture.
0 / 1 point
7.Question 7
Can a normal user run privileged commands? Choose the
best answer.
Yes, As long as the user has privileges in the sudoers file.
8.Question 8
The line root ALL=(ALL) ALL indicates that the root user has
permissions to run all commands on all systems without a
password.
True
Correct
Correct! The command does allow all commands to be run on all
systems, but you still have to enter your sudo password.
9.Question 9
What is SCP?
Copies files from one system to another over SSH
10.Question 10
What port does SSH typically run on
22
W3
1.Question 1
What permissions are set for Read, Write and Execute for
Owner and read for group and world 744
2.Question 2
How many total bits make up file permissions that include
Owner, Group, World? 21
3.Question 3
What does the command chmod do?
Changes permissions on objects
4.Question 4
If we change file permissions to 777, what does this mean?
Changes file permissions to read, write, and execute for Owner,
Group, and World
5.Question 5
Discretionary access control should be implemented on files
as well as directories True
6.Question 6
What does vipw do?
Allows modification of users instead of writing to /etc/passwd
7.Question 7
Where is the users configuration file located
/etc/passwd
8.Question 8
What is the command to search for files with no user?
find / -nouser
9.Question 9
What is the command that adds users within Linux
useradd
10.Question 10
What is not one of the functions of useradd command within
Linux
Changes their password
W4
1.Question 1
The follow services should be turned off unless they are used
except:
init
2.Question 2
Should xwindows be used on a server?
Depends on how you are using the server. Sometimes you
need a GUI
3.Question 3
The following can show commands of running processes,
except:
Anacron
4.Question 4
What does pkill do? Choose the best answer
Kills a process
5.Question 5
Why would you use sticky bits?
To allow a user to execute as root without elevating privileges
6.Question 6
What loadable kernel module is the basis for the beginning
firewalls
ipfilter
7.Question 7
UFW and firewalld are generally easier to configure than
iptables
True
8.Question 8
UFW is a way that we can use iptables within ubuntu systems
True
9.Question 9
UFW is enabled via what command?
ufw enable
10.Question 10
Zones within firewalld are like _____ in iptables
Chains
Download