Uploaded by Beenen

IS 211 Review Questions

advertisement
IS 211 LINUX ADMINISTRATION – EXAM PREPARATION 2021- SEMESTER ONE (1)
IS 211 Quiz Questions – Exam Preparation
Please go through the quiz questions and be able to answer all the questions in preparation for you End
of Semester Exam
Quiz 1
1. What is the type of License that Linux is release under?
GNU General Public License (GPL) (1 mark)
2. List three (3) types of Linux Distribution (Distros)? (3 marks)
i.
Ubuntu
ii.
Red Hat
iii.
Fedora
3. List down the 3 main components of an Operating System (6 marks)?
i.
Shell
ii.
Kernel
iii.
File System
4. Briefly explain the 3 main components of an Operating System (6 marks)?
i.
Shell- environment that allows a user to interact with the computer.
ii.
File System- organizes and puts the system and its data into order.
iii.
Kernel- manages the operation of the computer.
5. Briefly explain the interaction between the 3 main components of an Operating System with an
aid of a diagram (12 marks)
Quiz 2
1. Linux software generally falls into three (3) categories. List these three (3) categories (3 marks)
i.
Server application
ii.
Desktop applications
iii.
Tools
2. What is the name of the utility that Linux uses to add, remove, and update software? (1 mark)
Package management.
3. List the four (4) cloud deployment models (4 marks)
i.
Private cloud
ii.
Public cloud
iii.
Community cloud
iv.
Hybrid cloud
4. What is the command used to show history of 5 commands being used earlier? (1 mark)
Command= mkdir
5. What is the command that shows long listing of files with additional information about them? (1
mark)
Command= eg. Ls /IS211/Lab2/file1
Ls -l
Quiz 3
1|Page
IS 211 LINUX ADMINISTRATION – EXAM PREPARATION 2021- SEMESTER ONE (1)
1. What is the top level of directory structure in Linux called and is represented by which
character? (2 marks)
Root directory, “/ “
2. What is the symbol that represent the home directory? (1 mark)
(tilde) ~
3. List the two (2) types of Paths and briefly explain them (4 marks)
i.
Absolute path- allows the user to go to the next location of the file.
ii.
Relative path- points to the current location of the file.
4. Write the command that list the file size in a more human readable size. E.g. Megabytes or
gigabytes (1 mark)
Ls -lh
5. List the command for COPY and MOVE used in Linux and briefly explain the difference between
these two (2) commands (4 marks)
i.
Cp- is the command used to copy one file/directory to another directory. It copies one
file without moving, meaning it leaves the original copy behind.
ii.
Mv- is the command used to move one file/directory to another directory without
leaving a copy behind.
Quiz 4
1. List two (2) File archiving methods and briefly explain the difference between these two (2) methods
(4 marks)
i.
File archiving- complies or putting everything together.
ii.
Compression –reduce the size of the file.
2. What is the command use to archiving files and compression of files? (2 marks)
Archiving= Tar filename
Compression=gzip filename
3. What is the difference between head & tail and less & more commands? (4 marks)
In head & tail commands, it gives you the first default 10 lines and the last 10 lines.
In less & more commands, it makes it easier to move around in the file.
4. Write down the first line of code (called shebang) used in writing a script? (2 marks)
#!/bin/bash
5. List three (3) different ways of writing a script (3 marks)
i.
Variables
ii.
Conditional
iii.
Loop
Quiz 5
1. What is the name of the route that hardware signal takes on a motherboard to communicate? (2
marks)
Bus line/Bus
2. Explain the difference between Multiprocessor and Multi-Core Processor? (4 marks)
Multiprocessor is when you have more than one processor and Multicore processor is when you
have processors on a single chip.
2|Page
IS 211 LINUX ADMINISTRATION – EXAM PREPARATION 2021- SEMESTER ONE (1)
3. What is the command used to map processes into a tree hierarchy? (2marks)
ps tree
4. Briefly explain what an IP address is and give an example? (4 marks)
IP address is the internet protocol, a unique number assigned to a host, eg 167.67.17.1
5. Write down the full path to where the Primary IPv4 Configuration File (2 marks)
/etc/sysconfig/network-scripts/ifcfg-eth0
Quiz 6
1. Briefly explain the importance of a User Account (4 marks)
It gives you accessibility to your files on a device.
2. What is the difference between a user account and a Group? (4 marks)
The user account is for a particular user, and a group account is for a group of different users.
Different users can be a part of a group.
3. What is the command used to view group information? (1 marks)
Grep root /etc/group
4. Explain the difference between Setuid permission and Setgid permission? (4 marks)
Setuid permission is when you’re setting a permission for a user, while Setgid permission is
when you’re setting a permission for a group.
5. List 2 types of Links? (2 marks)
i.
ii.
Hard Link
Soft Link
3|Page
Download