| Filesystems / OS |
Automation and Shell basics | Networking | Security | Everything Else |
| 100 | 100 | 100 | 100 | 100 |
| 200 | 200 | 200 | 200 | 200 |
| 300 | 300 | 300 | 300 | 300 |
| 400 | 400 | 400 | 400 | 400 |
One common storage model is
known as DAS. What are the other
two main storage models we discussed?
|
Which of the following is different
from the others?
a) Perl
b) Python
c) Ruby
d) Go
e) Haskell
Why / How?
|
Which of the following files determines
which nameserver should be queried?
a) /etc/nsswitch.conf
b) /etc/domain
c) /etc/hosts
d) /etc/resolv.conf
e) none of the above, it's _____________________________
|
The three conceptual areas in which cryptography
may help provide security.
|
This tool can be used to view the system calls,
signal processing and I/O an executable performs.
|
Which of the following is information NOT stored in the inode of a traditional UNIX filesystem? (a) file name (b) file creation time (c) number of symbolic links pointing to this file (d) user-id of the last person to access the file (e) all of the above are NOT found (f) all of the above ARE found in the inode |
Name three reasons why this command might fail:
$ ls *.c 2>&1 | tee /tmp/out | wc -l
|
Applications using this protocol include
ping(8) and traceroute(8). It is also used for PMTUD.
|
This kind of technique, which allows the attacker
to redirect the victim's traffic, is often prefixed
with either "ARP" or "DNS".
The attacker either needs access to the network or
win a race condition.
|
Describe the stages of a typical boot sequence.
|
Which of the following is FALSE:
(a) No two filesystem partitions may overlap.
(b) The BIOS can only boot a disk from the first 512 bytes.
(c) You can have more than one swap partition.
(d) You can have different filesystem types on different
partitions.
(e) none of the above is false
(f) all of the above is false
|
When does this crontab execute?
23 0-23/2 * * 1-5 /usr/local/bin/hfrob
|
The "/YY" in a netmask XXX.XXX.XXX.XXX/YY notation specifies
a) the number of hosts on this subnet
b) the number of bits in the network portion of the address
c) the number of bits in the host portion of the address
d) the number of subnets this host is part of
e) none of the above
|
Give an example for each of the three main ways of
proving that you are who you say you are.
|
Who can remove the file 'goner'?
$ ls -la
total 6
drwxr-xr-x 2 root wheel 80 Apr 22 14:37 .
drwxr-xr-x 23 root wheel 512 Jan 12 21:32 ..
-rw-rw-r-- 1 jschauma sys 0 Apr 22 14:37 goner
-rw-rw-rw- 1 jschauma wheel 0 Apr 22 14:37 keeper
$ groups jschauma
users wheel
$
|
Explain this behaviour:
$ pwd
/mnt
$ df -h .
Filesystem Size Used Avail %Cap Mounted on
tmpfs 20M 5.5M 15M 27% /mnt
$ echo moo > file
sh: cannot create file: file system full
$ echo moo > dir/file
$ echo $?
0
$ mv dir/file file
$ echo $?
0
$ echo moo > file
$ echo $?
0
$ echo moo > dir/file
sh: cannot create file: file system full
|
What does this script do?
$ cat script
#! /bin/sh
IFS='
'
for pair in $(awk -F: '{ print $4 " " $1 }' \
/etc/passwd | sort -n); do
g=${pair% *}
n=${pair#* }
G=$(sed -n -e "/:${g}:/ s/\(.*\):x:${g}:.*/\1/p" /etc/group)
echo "${n}:${G}"
done
$
|
Which of the following is NOT a valid IPv6 address:
(a) 0::1
(b) ::ffff:7F00:1%lo0
(c) ::ffff:127.0.0.1
(d) 0000:0000:0000:0000:0000:ffff:7f00:0001
(e) all of the above
(d) none of the above
|
Explain briefly the main problem with the concept
of a Certificate Revocation List.
|
The correct regular expression to match an IPv6 address is:
(a) ([a-f0-9:]+){,8}
(b) ((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4]
[0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?\.
(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4]
[0-9]|[01]?[0-9][0-9]?)
(c) \d{,3}\.\d{,3}\d\.{,3}\.\d{,3}
(d) inet_pton(AF_INET6, $ip)
(e) all of the above
(f) none of the above
|