SysArchitec & InstallPack Flashcards

To pass part 1 of exam

1
Q

Which file in the /proc filesystem lists parameters passed from the bootloader to the kernel?
(Specify the file name only without any path.)

A

cmdline, /proc/cmdline

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q
What information can the lspci command display about the system hardware? (Choose THREE
correct answers.)
A.
Device IRQ settings
B.
PCI bus speed
C.
System battery type
D.
Device vendor identification
E.
Ethernet MAC address
A

Device IRQ settings
PCI bus speed
Device vendor identification

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q
Which of the following commands brings a system running SysV init into a state in which it is safe
to perform maintenance tasks? (Choose TWO correct answers.)
A.
shutdown -R 1 now
B.
shutdown -single now
C.
init 1
D.
telinit 1
E.
runlevel 1
A

init 1

telinit 1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q
What is the first program that is usually started, at boot time, by the Linux kernel when using SysV
init?
A.
/lib/init.so
B.
/sbin/init
C.
/etc/rc.d/rcinit
D.
/proc/sys/kernel/init
E.
/boot/init
A

/sbin/init

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Which command will display messages from the kernel that were output during the normal boot
sequence?

A

dmesg, /bin/dmesg

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Which of the following commands will write a message to the terminals of all logged in users?

A.
bcast
B.
mesg
C.
print
D.
wall
E.
yell
A

yell

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Which of the following kernel parameters instructs the kernel to suppress most boot messages?

A.
silent
B.
verbose=0
C.
nomesg
D.
quiet
A

quiet

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Which of the following options for the kernel’s command line changes the systemd boot target to
rescue.target instead of the default target?

A.
systemd.target=rescue.target
B.
systemd.runlevel=rescue.target
C.
systemd.service=rescue.target
D.
systemd.default=rescue.target
E.
systemd.unit=rescue.target
A

systemd.unit=rescue.target

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Which SysV init configuration file should be modified to disable the ctrl-alt-delete key combination?

A.
/etc/keys
B.
/proc/keys
C.
/etc/inittab
D.
/proc/inittab
E.
/etc/reboot
A

/etc/inittab

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q
During a system boot cycle, what program is executed after the BIOS completes its tasks?
A.
The bootloader
B.
The inetd program
C.
The init program
D.
The kernel
A

The bootloader

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Which run levels should never be declared as the default run level when using SysV init? (Choose
TWO correct answers.)

A.
0
B.
1
C.
3
D.
5
E.
6
A

0

6

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Which of the following statements is correct when talking about /proc/?
A.
All changes to files in /proc/ are stored in /etc/proc.d/ and restored on reboot.
B.
All files within /proc/ are read-only and their contents cannot be changed.
C.
All changes to files in /proc/ are immediately recognized by the kernel.
D.
All files within /proc/ are only readable by the root user.

A

All changes to files in /proc/ are immediately recognized by the kernel.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What of the following statements are true regarding /dev/ when using udev? (Choose TWO correct
answers.)
A.
Entries for all possible devices get created on boot even if those devices are not connected.
B.
Additional rules for udev can be created by adding them to /etc/udev/rules.d/.
C.
When using udev, it is not possible to create block or character devices in /dev/ using mknod.
D.
The /dev/ directory is a filesystem of type tmpfs and is mounted by udev during system startup.
E.
The content of /dev/ is stored in /etc/udev/dev and is restored during system startup.

A

B.
Additional rules for udev can be created by adding them to /etc/udev/rules.d/.
C.
When using udev, it is not possible to create block or character devices in /dev/ using mknod.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Which of the following information is stored within the BIOS? (Choose TWO correct answers.)

A.
Boot device order
B.
Linux kernel version
C.
Timezone
D.
Hardware configuration
E.
The system's hostname
A

Boot device order

Hardware configuration

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Which of the following commands reboots the system when using SysV init? (Choose TWO
correct answers.)

A.
shutdown -r now
B.
shutdown -r "rebooting"
C.
telinit 6
D.
telinit 0
E.
shutdown -k now "rebooting"
A

shutdown -r now

telinit 6

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q
Which of the following are init systems used within Linux systems? (Choose THREE correct answers.)
A.
startd
B.
systemd
C.
Upstart
D.
SysInit
E.
SysV init
A

systemd
Upstart
SysV init

17
Q

Which of the following environment variables overrides or extends the list of directories holding
shared libraries?

A.
LD_LOAD_PATH
B.
LD_LIB_PATH
C.
LD_LIBRARY_PATH
D.
LD_SHARE_PATH
E.
LD_RUN_PATH
A

LD_LIBRARY_PATH

18
Q

Which world-writable directory should be placed on a separate partition in order to prevent users
from being able to fill up the / filesystem? (Specify the full path to the directory.)

A

/tmp, tmp, /var/tmp, /tmp/, /var/tmp/

19
Q
Which RPM command will output the name of the package which supplied the file /etc/exports?
A.
rpm -F /etc/exports
B.
rpm -qf /etc/exports
C.
rpm -Kl /etc/exports
D.
rpm -qp /etc/exports
E.
rpm -qi /etc/exports
A

rpm -qf /etc/exports

20
Q

In which directory must definition files be placed to add additional repositories to yum?

A

/etc/yum.repos.d, /etc/yum.repos.d/, yum.repos.d, yum.repos.d/

21
Q

What is the name of the main configuration file for GNU GRUB? (Specify the file name only
without any path.)

A

menu.lst, grub.conf, grub.cfg

22
Q

When removing a package, which of the following dpkg options will completely remove the files
including configuration files?

A.
--clean
B.
--delete
C.
--purge
D.
–remove
A

–purge

23
Q

Which file should be edited to select the network locations from which Debian installation package
files are loaded?

A.
/etc/dpkg/dpkg.cfg
B.
/etc/apt/apt.conf
C.
/etc/apt/apt.conf.d
D.
/etc/apt/sources.list
E.
/etc/dpkg/dselect.cfg
A

/etc/apt/apt.conf.d

24
Q

Which option to the yum command will update the entire system? (Specify ONLY the option name
without any additional parameters.)

A

update, upgrade

25
Q

Which command will disable swapping on a device? (Specify ONLY the command without any
path or parameters.)

A

swapoff, /sbin/swapoff

26
Q

Which Debian package management tool asks the configuration questions for a specific already
installed package just as if the package were being installed for the first time? (Specify ONLY the
command without any path or parameters.)

A

dpkg-reconfigure

27
Q

Which of the following commands overwrites the bootloader located on /dev/sda without
overwriting the partition table or any data following it?

A.
dd if=/dev/zero of=/dev/sda bs=512
B.
dd if=/dev/zero of=/dev/sda bs=512 count=1
C.
dd if=/dev/zero of=/dev/sda bs=440 count=1
D.
dd if=/dev/zero of=/dev/sda bs=440
A

dd if=/dev/zero of=/dev/sda bs=440 count=1

28
Q
After modifying GNU GRUB's configuration file, which command must be run for the changes to take effect?
A.
kill -HUP $(pidof grub)
B.
grub-install
C.
grub
D.
No action is required
A

No action is required

29
Q

Which of the following commands is used to update the list of available packages when using dpkg based package management?

A.
apt-get update
B.
apt-get upgrade
C.
apt-cache update
D.
apt-get refresh
E.
apt-cache upgrade
A

apt-get update

30
Q

Which of the following commands lists the dependencies of a given dpkg package?

A.
apt-cache depends-on package
B.
apt-cache dependencies package
C.
apt-cache depends package
D.
apt-cache requires package
A

apt-cache depends package

31
Q

Which of the following options is used in a GRUB Legacy configuration file to define the amount of time that the GRUB menu will be shown to the user?

A.
hidemenu
B.
splash
C.
timeout
D.
showmenu
A

timeout

32
Q

What can the Logical Volume Manager (LVM) be used for? (Choose THREE correct answers.)
A.
To create RAID 9 arrays.
B.
To dynamically change the size of logical volumes.
C.
To encrypt logical volumes.
D.
To create snapshots.
E.
To dynamically create or delete logical volumes.

A

To dynamically change the size of logical volumes.
To create snapshots.
To dynamically create or delete logical volumes.

33
Q
Which of the following commands updates the linker cache of shared libraries?
A.
mkcache
B.
soconfig
C.
mkldconfig
D.
lddconfig
E.
ldconfig
A

ldconfig

34
Q
Which of the following commands lists all currently installed packages when using RPM package management?
A.
yum --query --all
B.
yum --list --installed
C.
rpm --query --all
D.
rpm --list --installed
A

rpm –query –all

35
Q
Which of the following commands can be used to download the RPM package kernel without installing it?
A.
yum download --no-install kernel
B.
yumdownloader kernel
C.
rpm --download --package kernel
D.
rpmdownload kernel
A

yumdownloader kernel

36
Q
When using rpm --verify to check files created during the installation of RPM packages, which of
the following information is taken into consideration? (Choose THREE correct answers.)
A.
Timestamps
B.
MD5 checksums
C.
Inodes
D.
File sizes
E.
GnuPG signatures
A

Timestamps
MD5 checksums
File sizes

37
Q

Which of the following is correct when talking about mount points?
A.
Every existing directory can be used as a mount point.
B.
Only empty directories can be used as a mount point.
C.
Directories need to have the SetUID flag set to be used as a mount point.
D.
Files within a directory are deleted when the directory is used as a mount point.

A

Every existing directory can be used as a mount point.

38
Q
Which function key is used to start Safe Mode in Windows NT?
A.
F10
B.
F8
C.
F6
D.
Windows NT does not support Safe Mode
A

Windows NT does not support Safe Mode