Topic 101: System Architecture Flashcards

1
Q

Which part of the linux boot sequence is made up of a 512 byte file called boot.img and Contains partition and filesystem data?

A

MBR = Master Boot Record.

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

Which part of the linux boot sequence read and load into RAM the first sector of a larger image called core.img, and will start executing the kernel?

A

GRUB = Grand Unified Bootloader: Executes the Kernel.

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

Which part of the linux boot identifies system hardware?

A

BIOS = Basic/Output System: Identifies system hardware.

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

Which part of the linux boot sequence executes designated run level (via sysvinit, Upstart, or systemd?

A

INIT

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

Which part of the linux boot sequence executes the user login control?

A

RUN LEVEL

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

If your computer is not booting, which is the first place you should look?

A

SYSTEM LOGS

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

Which are the three files you should search for boot-related trouble?

A

dmesg, kernel.log and boot.log.

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

Which directory lives the system logs like dmesg, kernel.log and boot.log?

A

/VAR/LOG/

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

Which command can be used to search for all attached block devices?

A

lsblk

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

The directories /var/ and /etc/ are only accessible by root or either users?

A

ONLY ROOT

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

Which is the name of the group who users are added to have root privileges?

A

SUDO GROUP

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

Which feature allow you to define whether your OS will be available for everyone or just a single admin user, or whether will provide network services or graphic desktop support in older versions that use the older Upstart method?

A

RUN LEVELS

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

Which definition match to the boot parameter 0 ?

A

Halt

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

Which definition match to the boot parameter 1 ?

A

Single user mode

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

Which definition match to the boot parameter 2 ?

A

Multi-user, without NFS

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

Which definition match to the boot parameter 3 ?

A

Full multi-user mode

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

Which definition match to the boot parameter 4 ?

18
Q

Which definition match to the boot parameter 5 ?

19
Q

Which definition match to the boot parameter 6 ?

20
Q

How can you invoke the run levels parameters through the CLI?

A

INIT 6
INIT 5
etc…

21
Q

Ubuntu focuses more on processes or runlevels?

A

Processes.

22
Q

What means the user.target parameter on the systemd?

# This file is part of systemd.
#
# systemd is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2.1 of the License, or
# (at your option) any later version.
[Unit]
Description=Graphical Interface
Documentation=man:systemd.special(7)
Requires=multi-user.target
After=multi-user.target
Conflicts=rescue.target
Wants=display-manager.service
AllowIsolate= yes
A

It will allow multi-user session.

23
Q

Which are the new method the replaces the Upstart?

24
Q

Systemd focuses more on processes or runlevels?

25
Which is the definition of a file system?
A way to organize resources.
26
It is true to say that a pseudo filesystem is made up of files that don't actually exists?
YES
27
When pseudo filesystems are generated?
They are generated dynamically when your computer boots.
28
Which files are contained in the /dev/ directory?
Hardware devices - both virtual and real.
29
Which command displays all recognized physical block drivers?
lsblk -a
30
Which are the contents of the /sys/ directory?
Represents sysfs system and contain links to devices.
31
Which are the contents of the /proc/ directory?
Proc directory contain runtime system information.
32
Which command output data on all the PCI and PCI Express devices attached to your system?
lspci | lspci -xvvv < for more verbose
33
Which is the "Genius" part of Linux? The software core that drives the whole thing and permit real time manipulation?
KERNEL
34
Invoking ______ communication provided by the D-Bus system, should recognize the device and automatically load a kernel module to manage it.
UDEV
35
TRUE or FALSE: Kernell modules connect devices that need to be connected. But there will be time when you`ll need to control modules yourself.
TRUE
36
Which are the patch to create a .rule for device management?
/etc/udev/rules.d/
37
Which command list unloaded modules on kernel?
find /lib/modules/$(uname -r) -type f -iname "*.ko"
38
Which command will list loaded modules on kernel?
sudo modprobe lp
39
Which command will remove the module on kernel?
sudo modprobe -r lp
40
On Linux systems running systemd, the default run level can be found in which directory? a. /etc/systemd/system/inittab b. /lib/systemd/system/default.target c. /etc/systemd/system/default.target d. /etc/init/rc-sysinit.conf
C /etc/systemd/system/default.target
41
Which is the quickest way to display details on your network device? a. lsblk b. lspci c. cat /proc/cpuinfo d. lshw
lspci
42
Which tools are used to watch for new plug-in devices?
udev and D-Bus