SUBJECTS
|
BROWSE
|
CAREER CENTER
|
POPULAR
|
JOIN
|
LOGIN
Business Skills
|
Soft Skills
|
Basic Literacy
|
Certifications
About
|
Help
|
Privacy
|
Terms
|
Email
Search
Test your basic knowledge |
Unix Operating System
Start Test
Study First
Subject
:
it-skills
Instructions:
Answer 50 questions in 15 minutes.
If you are not ready to take this test, you can
study here
.
Match each statement with the correct term.
Don't refresh. All questions and answers are randomly picked and ordered every time you load a test.
This is a study tool. The 3 wrong answers for each question are randomly chosen from answers to other questions. So, you might find at times the answers obvious, but you will see it re-enforces your understanding as you take the test each time.
1. 4 Kernel Layer Functions: Process creation and termination - ________- file/disk access services - terminal handling services
I/O services
/etc/xinetd.d
showmount -e <ip address>
Hardware Interface Modules
2. System Calls: fork() - creates a child process - wait() - exit() - __________ - execl() - execlp() - execv() - execvp()
kill (sig -pid)
/sbin/service
start /sbin/init process
User Layer
3. Command to view your swap partition
Schema
newgroup
df -k
truss
4. When a user process executes a system call and begins executing kernel code
System Call
sched PID of '0' -
User to Kernel Transition Process
Directory File
5. Command used to view RPC services and their appropriate ports
Run-level Field
Memory Management Unit (MMU)
rpcinfo -p
System Call Interface
6. Default Run Level for Linux
5 - Multi-user Mode
truss
uname()
start /sbin/init process
7. Command used to switch to a new group before creating a file that would be used by a different current group - similar to 'su'
fdisk -l
CIFS
newgroup
5 - Multi-user Mode
8. The core of the operating system that is loaded into memory at system boot; it manages the hardware and performs system services
/etc/services
Kernel
usermod
Apache Document Root
9. Programs similar to GINA in Windows that provides the login prompt
getty and ttymon
bash
/proc/sys
telinit -q
10. Three Steps of Kernel Phase: Create a user process - __________ - and starts other processes by reading /etc/inittab
Network File System (NFS)
start /sbin/init process
Boot Programs Phase
telinit -q
11. Similar to -k; shows block size for each mounted file system
df -v
mmap()
free
Ordinary File
12. For Samba - it provides name resolution and service announcement
newgroup
Apache Document Root
nmbd
useradd -D
13. These are found within the kernel layer at the level closest to the hardware
groupadd
Hardware Interface Modules
truss
newgroup
14. This Layer contains the system call interface and handles the mapping between user request and device driver actions - as well as converting user system calls to kernel service calls
CIFS
Kernel Layer
lo0
Restricted Shell
15. Where master copies of the startup scripts resides
mmap()
/etc/init.d
Boot Programs Phase
File System Structures
16. Where the actual HTML web pages reside - stored in /var/apache/htdocs
Apache Document Root
/etc/services
usermod
Apache Error Log
17. Software interrupt that's processed immediately that's generated by a currently running process
Trap
df -v
/etc/services
mount -F nfs hostname:directory / <mount point>
18. File that specifies machines to use for name resolution
sysctl -w
Boot Programs Phase
/etc/resolv.conf
Logical Device Name
19. Two Forms of Apache: __________ and Source (source code)
who -r
df -h
Init Phase
Binary (already built/compiled)
20. In Solaris - the daemon required to use NFS
df -k
Apache Document Root
/etc/inid/nfs.client
init and telinit
21. Secondary boot program that locates and load the basic kernel
ufsboot
Process scheduling
newgroup
Interrupt handlers
22. When a user process executes a system call and begins executing kernel code
Ext* File System
User to Kernel Transition Process
Loadable Kernel Modules (LKM)
Logical Device Name
23. Command that displays the amount of free and used memory
ufsboot
Apache Error Log
uname()
free
24. This Layer consists of user processes that are running - including Shells - UNIX commands - utility programs - and user application programs
Hard Link - with syntax
sysdef
sched PID of '0' -
User Layer
25. User space (outer ring) - the area in memory where user processes run and Kernel space (inner ring) - where kernel services are provided via kernel processes
Ext*
showmount -e <ip address>
UNIX "Rings of Protection"
Hardware Layer
26. Command used to change parameters normally set with useradd
usermod
Device File
sysdef
Shell
27. Three Main Areas of ________________: Server Root - Document Root - Default Error Log
Apache Directory Structure
Kernel Phase
getty and ttymon
System Call Interface
28. The web server widely used in the public domain that was based off of a UNIX Web server
Superblock
sysdef
ps -elf
Apache
29. File type that does not contain any "data" - but has attributes associated with it
/etc/inid/nfs.client
Device File
Network Information Service Plus (NIS+)
dmesg
30. Command that can easily change timestamps on *Nix systems
User Layer
Network Information Service Plus (NIS+)
useradd -D
touch -m/-a
31. Four Fields of /etc/inittab: Label Name - __________ - Action - Command
Init Phase
File System
Run-level Field
Device File
32. Terminal (CTRL+C) - Administrator ("kill") - Kernel (divide by zero)
Library Function
Three Types of Signals
newgroup
/etc/group
33. Two Servers in openldap-servers: /usr/sbin/slapd and ________
/usr/sbin/slurpd
/etc/services
/etc/group
Hardware Layer
34. Device Information Command that displays system diagnostic messages and a list of attached devices
Memory Management Unit (MMU)
df -h
UNIX "Rings of Protection"
dmesg
35. File where group memberships are established - inluding group names - encrypted password - GID - and users in each group
/etc/group
Run-level Field
Library Function
5 - Multi-user Mode
36. Command used to print UID and GID
Inode
/etc/hosts
id
/etc/passwd
37. Command in Solaris that lists the modules that are currently loaded
modinfo
Samba
Ext* File System
Hardware Interface Modules
38. An ASCII text representation of LDAP entries that files used for importing data to an LDAP server must be in
3 - Multi-User Mode
Group Descriptor Table
LDAP Data Interchange Format (LDIF)
SUID/SGID
39. Default termination signal
I/O services
I/O services
SIGTERM 15
Hardware Address Translation (HAT)
40. User space (outer ring) - the area in memory where user processes run and Kernel space (inner ring) - where kernel services are provided via kernel processes
Apache Server Root
Berkeley Internet Name Daemon (BIND)
UNIX "Rings of Protection"
Restricted Shell
41. located 1024 bytes from the start of the file system and is 1024 bytes in size
Data Block
Superblock
Kernel Layer
telinit -q
42. Phase with a sole function of loading the secondary boot program - ufsboot - and executing it
Boot Programs Phase
Binary
/etc/group
Ordinary File
43. Hangup - restarts a daemon
SIGHUP 1
3 - Multi-User Mode
Shell
/etc/xinetd.d
44. Command used to create a new group
Apache Directory Structure
groupadd
df -v
SIGTERM 15
45. 'K' and 'S' in rc scripts: K is Kill - S is _______
usermod
/etc/nsswitch.conf
Spawned
Boot Programs Phase
46. File that contains information on the user's password and data - including encrypted password - min/max days of password change - inactivity timeframe - etc
Hardware Interface Modules
smbd
/etc/shadow
System call
47. Four Ext* _________: Modify - Access - Change - Delete
File Timestamps
telinit -q
Three Types of Signals
/sbin/service
48. LDAP package that contains the servers and other utilities necessary to configure and run the LDAP server
/etc/resolv.conf
openldap-servers
UNIX "Rings of Protection"
SIGKILL 9
49. Commands that reveals all *nix file systems - including disk space usage and their logical mount points
PATH=$PATH:/xxx/xxx/bin
df -k
SIGKILL 9
/etc/inetd.conf
50. Command in Linux that shows the status of loadable kernel modules that are currently loaded
lsmod
Network Information Service Plus (NIS+)
PATH=$PATH:/xxx/xxx/bin
Device Names