Docsity

Disk Space Allocation -Systems Administrationt - Old Exam, Exams of Network and System Administration

Toggle sidebar
bg1
Cork Institute of Technology
Bachelor of Science in Computing (EMC) - Award
(NFQ – Level 7)
Summer 2007
Systems Administration
(Time: 3 Hours)
Instructions
Answer FIVE questions.
All questions carry equal marks.
Examiners: Mr. G. McSweeney
Ms. M. Meagher
Ms. A. Brown
Q1. (a) In Linux, what is meant by a run-level? (3 Marks)
(b) What is the usual default run-level? (2 Marks)
(c) Why should run-level 0 or run-level 6 never be the default run-levels? (2 Marks)
(d) In Linux, what file determines run-level configuration? (2 Marks)
(e) Describe how you could change the default run-level. (2 Marks)
(f) Describe how you might enable a script to be run during the boot up time (i.e. before the
login prompt) (5 Marks)
(g) What is the purpose of an independent boot loader? (2 Marks)
(h) Give an example of an independent boot loader. (2 Marks)
Q2. (a) In Linux, what is meant by a hard link and a soft link? (4 Marks)
(b) What are the main differences between a hard link and a soft link? (4 Marks)
(c) In the context of a soft link, what is meant by an orphan link? (2 Marks)
The following is a part of the output of the command ls -lsi
238076 4 -rw-r--r-- 1 jane com3 20 Mar 11 18:31 newFile
(d) Explain the purpose of each item. (10 Marks)
pf3
pf4

Partial preview of the text

Download Disk Space Allocation -Systems Administrationt - Old Exam and more Exams Network and System Administration in PDF only on Docsity!

Cork Institute of Technology

Bachelor of Science in Computing (EMC) - Award

(NFQ – Level 7)

Summer 2007

Systems Administration

(Time: 3 Hours)

Instructions Answer FIVE questions. All questions carry equal marks.

Examiners: Mr. G. McSweeney Ms. M. Meagher Ms. A. Brown

Q1. (a) In Linux, what is meant by a run-level? (3 Marks) (b) What is the usual default run-level? (2 Marks) (c) Why should run-level 0 or run-level 6 never be the default run-levels? (2 Marks) (d) In Linux, what file determines run-level configuration? (2 Marks) (e) Describe how you could change the default run-level. (2 Marks) (f) Describe how you might enable a script to be run during the boot up time (i.e. before the login prompt) (5 Marks) (g) What is the purpose of an independent boot loader? (2 Marks) (h) Give an example of an independent boot loader. (2 Marks)

Q2. (a) In Linux, what is meant by a hard link and a soft link? (4 Marks) (b) What are the main differences between a hard link and a soft link? (4 Marks) (c) In the context of a soft link, what is meant by an orphan link? (2 Marks) The following is a part of the output of the command ls -lsi

238076 4 -rw-r--r-- 1 jane com3 20 Mar 11 18:31 newFile

(d) Explain the purpose of each item. (10 Marks)

Q3. (a) In modern Linux systems, what is the difference between a block and an allocation unit in the context of disk space allocation? (3 Marks) (b) What is the purpose of an information -node? (3 Marks) (c) Explain what is meant by archiving and compressing? (2 Marks) (d) When might it be appropriate to archive and compress files? (2 Marks) (e) In the context of disk space allocation: describe - with the aid of a diagram – the UNIX block addressing scheme. (6 Marks) (f) Explain how the UNIX block addressing scheme caters for both large and small files. (4 Marks)

Q4. (a) Suggest three ways an administrator might create users and groups in a Linux environment. (3 Marks) (b) Describe how a user is authenticated when he logs onto a Linux system. In your answer, comment on password security. (5 Marks) (c) What is the purpose of a shell? (2 Marks) (d) Give examples of two different shells one might find in a Linux environment. ( Marks) (e) How might an administrator change a user’s default shell? (2 Marks) (f) Without using specific commands, describe how an administrator might grant different users access rights to files. In your answer, explain how some users may be granted access rights to a number of different files. (6 Marks)

Q5. (a) In process scheduling, what is meant by a scheduling algorithm? (2 Marks) (b) Shortest Remaining Time is an example of a scheduling algorithm, give another example. (2 Marks) (c) What is a pre-emptive scheduling algorithm? (2 Marks) (d) What is the purpose of the dispatcher? (2 Marks) (e) What is meant by a suspended state? (2 Marks) (f) Give two examples of suspended states. (4 Marks) (g) In Linux, what is the command for monitoring processes? (2 Marks) An example of output of this command (to monitor processes) is as follows:

UID PID PPID STIME TTY TIME CMD jane 15326 15324 10:27:42 pts/5 0:00 sh