EE-UCLX Exam No. 3 - Dr. Aleksander Malinowski

EE-UCLX-ES Spring 2010 - Exam No. 3 – Instructor: Dr. Malinowski
1 of 4
Name: __________________
SIGN IMMEDIATELY, PLEASE PRINT CLEARLY
EE UCLX Exam No. 3 (100pts.)
General Remarks
This exam is limited notes plus the preapproved Linux command reference booklet. You can have up to a ¼-inchthick pile of notes. Notes must be signed and bound together, for example using an office clip. Notes must not be
exchanged during the exam. No textbooks, computer, calculators or cell phones. Do not use back side without
authorization as it may not be graded. Attach more pages if necessary. Answer briefly and only outline important facts
that are asked.
DL: __ ERR: __ PTS: __ MPTS: __ MGR: __
DL – exam difficulty level (adjustment), ERR – exam errors, PTS – exam points, MPTS – total progress points, MGR – total progress grade.
Question 1 (10pts.)
What is the principle of least privilege? Why is it important for a protection system to adhere to
this principle?
Question 2 (10pts.)
Buffer-overflow attacks can be avoided by adopting a better programming methodology or by
using special hardware support. Explain briefly these two solutions. Do not explain what buffer
overflow is!
Total errors this page: ____
EE-UCLX-ES Spring 2010 - Exam No. 3 – Instructor: Dr. Malinowski
2 of 4
Question 3 (10pts.)
Identify the following environments as either hard or soft real time.
a. Thermostat in a household.
□ Hard
□ Soft
b. Control system for a nuclear power plant.
□ Hard
□ Soft
c. Fuel economy system in an automobile.
□ Hard
□ Soft
d. Landing system in a jet airliner.
□ Hard
□ Soft
Question 4 (10pts.)
What are the various components of interrupt and dispatch latency?
Question 5 (10pts.)
What is the purpose of using a “salt” along with the user-provided password? Where should the
“salt” be stored, and how should it be used?
Total errors this page: ____
EE-UCLX-ES Spring 2010 - Exam No. 3 – Instructor: Dr. Malinowski
3 of 4
Question 6 (10pts.)
Explain how to do the following tasks using console-mode Linux/Unix programs:
a) find the process number for a given program that is currently running
b) for a given program that is currently running under known process number – how to
terminate that program?
Question 7 (10pts.)
In cron table, that is similar to one used in homework/open lab 12 (0xC) :
a) How to run program every five minutes from 12am to 11:55am on every Saturday
morning?
_________
_________
_________
_________
_________
command…
*
*
command…
b) Explain the following schedule:
0,30
*
1-2,5,10
Question 8 (10pts.)
In homework/open lab assignment 11 (or 0xB) that focuses on Debian installation packages:
Did you, and if so then when did you install the package called linda ?
□ No, never
□ Yes, just after doing the following: ________________________
Also please specify the version of Ubuntu used to do the assignment or write “in lab”: ________
Total errors this page: ____
EE-UCLX-ES Spring 2010 - Exam No. 3 – Instructor: Dr. Malinowski
4 of 4
Question 9 (10pts.)
Please explain very briefly what is a symbolic link and where this technology is used in the
homework/open lab assignment 9 - setting up a service that starts/stops automatically?
Question 10 (10pts.)
What are run levels? What the run level numbers 0 through 6 correspond to? (6p.)
Does Ubuntu have run levels? If so, then which one is default? (2p.)
Does ucLinux have run levels? If so, then which one is default? (2p.)
Thank You. Please double check your answers.
Remember to contact the instructor regarding customization of your final homework assignment.
Total errors this page: ____