Docsity

Operating Systems and Systems Administration, Exams of Network and System Administration

Toggle sidebar
bg1
Cork Institute of Technology
Bachelor of Science in Computing - Award
(NFQ Level 7)
Summer 2006
Systems Administration
(Time: 3 Hours)
Instructions
Answer FIVE questions.
All questions carry equal marks.
Examiners: Mr. G. Mac Sweeney
Ms. M. Meagher
Dr. K. O’Dubhchair
Q1. (a) Linux, UNIX and Windows are all well known operating systems. Name another
operating system. (1 Mark)
(b) SuSE is a Linux distribution. Explain what is meant by a Linux distribution. (2 Marks)
(c) Name two other popular Linux Distributions. (2 Marks)
(d) KDE is a graphical user interface, name another popular Linux GUI. (2 Marks)
(e) What is the purpose of a UNIX shell? (2 Marks)
(f) Name two UNIX shells. (2 Marks)
(g) Suggest some advantages of using UNIX / Linux over other operating systems.
(6 Marks)
(h) Suggest some disadvantages of using UNIX. (3 Marks)
Q2. (a) Describe – using an appropriate diagram - the UNIX block addressing scheme.
(6 Marks)
(b) Using the octal notation, write a command to grant the file newFile the following
permissions: user to read, write + execute, group to read + write and all to read only.
(3 Marks)
(c) First-in First-out is a process scheduling algorithm, name two other scheduling
algorithms. (2 Marks)
(d) For each of the following methods of file organization, suggest an advantage, a
disadvantage and an appropriate example:
Pile (serial)
Sequential
Random (hashed) (9 Marks)
pf3
pf4

Partial preview of the text

Download Operating Systems and Systems Administration and more Exams Network and System Administration in PDF only on Docsity!

Cork Institute of Technology

Bachelor of Science in Computing - Award

(NFQ Level 7)

Summer 2006

Systems Administration

(Time: 3 Hours)

Instructions Answer FIVE questions. All questions carry equal marks.

Examiners: Mr. G. Mac Sweeney Ms. M. Meagher Dr. K. O’Dubhchair

Q1. (a) Linux, UNIX and Windows are all well known operating systems. Name another operating system. (1 Mark) (b) SuSE is a Linux distribution. Explain what is meant by a Linux distribution. (2 Marks) (c) Name two other popular Linux Distributions. (2 Marks) (d) KDE is a graphical user interface, name another popular Linux GUI. (2 Marks) (e) What is the purpose of a UNIX shell? (2 Marks) (f) Name two UNIX shells. (2 Marks) (g) Suggest some advantages of using UNIX / Linux over other operating systems. (6 Marks) (h) Suggest some disadvantages of using UNIX. (3 Marks)

Q2. (a) Describe – using an appropriate diagram - the UNIX block addressing scheme. (6 Marks) (b) Using the octal notation, write a command to grant the file newFile the following permissions: user to read, write + execute, group to read + write and all to read only. (3 Marks) (c) First-in First-out is a process scheduling algorithm, name two other scheduling algorithms. (2 Marks) (d) For each of the following methods of file organization, suggest an advantage, a disadvantage and an appropriate example: Pile (serial) Sequential Random (hashed) (9 Marks)

Q3. (a) Give an example of a Linux directory which should be backed up regularly. Give a reason for your answer. (2 Marks) (b) Give two reasons why a system should be backed up. (1 Mark) (c) Suggest some of the factors that should be considered when storing backup media. (2 Marks) An administrator wishes to backup a specific directory (and any subdirectories it may contain) at regular intervals. The directory is located at /usr/adminStuff and the location for the backup is /media/diskA which is located on a separate medium.

(d) What should the administrator consider when writing this script? (3 Marks) (e) Write a shell script which (when executed) would make this task automatic. (6 Marks) (f) Write a shell script which could retrieve the backup. (6 Marks)

Q4. (a) PATH is a Linux environmental variable, name another. (1 Mark) (b) What is the purpose of PATH? (2 Marks) (c) How might a Linux user make a permanent change to his / her PATH? (2 Marks) (d) Give an example of how a user could define an environmental variable and give an example of where it might be useful. (2 Marks)

UNIX and Linux passwords are authenticated using a one-way encryption algorithm. (e) Give an example of a well known one way encryption algorithm. (2 Marks) (f) Explain why such an algorithm ensures the secrecy of users’ passwords. (4 Marks) (g) Suggest another application for one way encryption algorithms. (1 Mark)

The ssh protocol is regarded as more secure than telnet when communicating over a network. The protocol uses public key cryptography to encrypt data at one end and to decrypt it at the other.

(h) Explain briefly how public key cryptography works. (4 Marks) (i) What is the disadvantage of using single key cryptography for Internet traffic? (2 Marks)

Q7. (a) Why is it possible to have more than one operating system on a hard disk? (2 Marks) (b) What is a boot loader? (2 Marks) (c) Name an independent boot loader. (2 Marks) (d) In Linux, what is meant by run-level? (2 Marks) (e) What is the usual default run-level in Linux systems? (1 Mark) (f) How could you change the default run-level? (1 Mark) (g) Which run-levels should never be set to default in Linux? Give a reason for your answer. (2 Marks)

Consider the following short listing of a small part of a run level directory:

K21fbset K21isdn K21random S01earlysyslog S01fbset S01isdn S01random S02earlykbd

(h) What do the characters K and S imply? (2 Marks) (i) What is the significance of the numbers after K and S? (2 Marks)

Consider the following long listing selection from the same directory: lrwxrwxrwx 1 root root 8 Oct 18 16:20 K21fbset -> ../fbset lrwxrwxrwx 1 root root 7 Oct 18 16:23 K21isdn -> ../isdn lrwxrwxrwx 1 root root 9 Oct 18 16:20 K21random -> ../random lrwxrwxrwx 1 root root 14 Oct 18 16:20 S01earlysyslog -> ../earlysyslog lrwxrwxrwx 1 root root 8 Oct 18 16:19 S01fbset -> ../fbset lrwxrwxrwx 1 root root 7 Oct 18 16:23 S01isdn -> ../isdn lrwxrwxrwx 1 root root 9 Oct 18 16:18 S01random -> ../random lrwxrwxrwx 1 root root 11 Oct 18 16:19 S02earlykbd -> ../earlykbd

(j) What does this tell you about the files in the directory? (2 Marks) (k) What is the purpose of the getty program? (2 Marks)