cueFlash

Glossary of LPIC 101 Exam Questions

Start Studying! Add Cards ↓

Created by welcome47

What option is used with the useradd command to specify the user\'s home directory?

A. -d
B. -h
C. -u
D. -a




A. -d
What switch is used with the usermod command to change a user\'s secondary groups?

A. -U
B. -group
C. –d
D. -G




D. -G
Do changes to the inittab file require a reboot in order to take effect?

A. Yes
B. No


B. No
You want to repeat the last command you entered. How would you do this?

A. #
B. !!
C. #l
D. ##




B. !!
What option can be used with the shutdown command to cancel a pending shutdown?

A. shutdown -x
B. shutdown -c
C. shutdown -u
D. shutdown -n






B. shutdown -c
Which of the following are required in the /etc/passwd file when creating a user account? (Choose
all that apply)

A. Login name
B. Userid
C. Default group
D. Password age
E. Minimum password length










A, B, C - Login name, Userid, Default group
What run level represents basic multi-user?

A. 2
B. 0
C. 1
D. 5






A. 2
What command be used to find the systems previous run level?
A. level
B. runlevel
C. rlevel previous
D. show level previous





B. runlevel
What syslog.conf facility represents user authentication processes?
A. auth
B. proc
C. user
D. login





A. auth
What syslog.conf facility represents the cron daemon?
A. crond
B. daemon
C. cron
D. crontab





C. cron
Which of the following syslog identifiers represents the highest priority?
A. Notice
B. Warning
C. Error
D. Critical





D. Critical
Which of the following switches can be used with the tar command to find out the difference
between two tar files?
A. -c
B. -v
C. -d
D. -t






C. -d
You want to add files to a previously created tar file. You want to replace existing files with newer
files, how can you do this?
A. Use the append command
B. Use the tar command with the -t switch
C. Use the add command
D. Use the tar comm




D. Use the tar command with the -u switch
What syslog.conf facility represents kernel processes?
A. user
B. proc
C. daemon
D. kern





D. kern
You want to view a listing of previously entered commands. What command would you use?
A. hist
B. histfile
C. showbuff
D. history





D. history
You want to uninstall lilo. Which of the following would you do to accomplish this?
A. lilo -u
B. remove lilo
C. uninstall lilo
D. lilo -r





A. lilo -u
Linux is a(n) _________ operating system, meaning the source code is freely available.
A. Open sourced
B. User licensed
C. Closed source
D. Open binary





A. Open sourced
DNS provides ________ to IP address mappings.
A. NETBIOS name
B. Host name
C. MAC address




B. Host name
You want there to be 3 grace days after a password expires before an account becomes
disabled. How would you do this?
A. Use the useradd command with the -f switch
B. Check the delay option in user admin
C. Edit the user\'s user.conf file
D




A. Use the useradd command with the -f switch
You had a contractor come into your company. You originally set his account to expire after thirty
days. You now need to change this. How can you do this?
A. usermod -e
B. usermod -a
C. usermod -x
D. usermod -d






A. usermod -e
You want to have the process /etc/myprocess run when the system enters run level 3.
Which of the following inittab entries would accomplish this?
A. 5:3:once:/etc/myprocess
B. 3:4:once:/etc/myprocess
C. once:3:4:/etc/myprocess
D. once:5:3:/




A. 5:3:once:/etc/myprocess
What option can be used with the shutdown command to send a warning message alerting users
that the system will be shut down?
A. shutdown -k
B. shutdown -w
C. shutdown -a
D. shutdown -c






A. shutdown -k
Which of the following syslog.conf entries would cause kernel error messages to be sent to the
system console?
A. kern warning console
B. kern.error console
C. kern.warning /dev/console
D. kern error console






C. kern.warning /dev/console
What run level represents multi-user?
A. 3
B. 0
C. 1
D. 5





A. 3
What syslog.conf facility represents miscellaneous daemons?
A. misc
B. proc
C. kern
D. daemon





D. daemon
What syslog.conf facility represents Unix to Unix copy?
A. ucp
B. copy
C. uucp
D. uuc



C. uucp
Which of the following syslog identifiers represents the highest priority?
A. Info
B. Warning
C. Notice




B. Warning
You want to add information to a previously created tar file. How would you do this?
A. Use the tar command with the -a switch
B. Use the append command
C. Use the add command
D. Use the tar command with the -r switch





C. Use the add command
What syslog.conf facility represents user processes?
A. auth
B. proc
C. user
D. u





C. user
What command can be used to print out system boot messages?
A. bootm
B. bmsg
C. messages
D. dmesg





D. dmesg
You want to set a 30 second delay before your system boots to the default kernel.
Which of the following command lines would do this?
A. lilo -t 30
B. lilo -d 30
C. lilo delay 30
D. lilo 30






B. lilo -d 30
What command can be used to show all variables?
A. set
B. varlist
C. show var
D. show





A. set
What option is used with the useradd command to specify the user\'s user id?
A. -u
B. -s
C. -ui
D. -id





A. -u
You are adding a new user. You want to create the user\'s home directory only if the directory
does not exist. Which of the following would accomplish this?
A. useradd -m
B. useradd -h -y
C. useradd -u
D. useradd -h






A. useradd -m
Which of the following can be used to switch your system to run level 1?
A. init 1
B. inittab 1
C. rlevel 1
D. level 1





A. init 1
What run level represents administration mode?
A. 0
B. 1
C. 6
D. 5





B. 1
What file does init processes use as its control file?
A. /etc/inittab
B. /etc/proc
C. /etc/init
D. /etc/initproc





A. /etc/inittab
What syslog.conf facility is used to create timestamps in log files?
A. mark
B. stamp
C. time
D. tstamp





A. mark
Which of the following commands can be used to create a tar archive file in verbose mode?
A. tar -v
B. tar -cvf
C. tar -c
D. tar -vf





B. tar -cvf
What is the name of the configuration file used by the syslog daemon?
A. syslog.conf
B. syslogd
C. slog.conf
D. system.conf





A. syslog.conf
What lilo.conf parameter will cause the root file system to be mounted read only?
A. No-write
B. Read
C. No-right
D. Read-only





D. Read-only
What option is used with the useradd command to specify the user\'s login shell?
A. -s
B. -l
C. -u
D. -sh





A. -s
Which of the following can be used to change a user\'s home directory?
A. usermod -d
B. usermod -h
C. usermod -u
D. usermod -c





A. usermod -d

Add Cards

You must Login or Register to add cards