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 ?

A

Unused

18
Q

Which definition match to the boot parameter 5 ?

A

X11

19
Q

Which definition match to the boot parameter 6 ?

A

Reboot

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?

A

Systemd.

24
Q

Systemd focuses more on processes or runlevels?

A

Processes

25
Q

Which is the definition of a file system?

A

A way to organize resources.

26
Q

It is true to say that a pseudo filesystem is made up of files that don’t actually exists?

A

YES

27
Q

When pseudo filesystems are generated?

A

They are generated dynamically when your computer boots.

28
Q

Which files are contained in the /dev/ directory?

A

Hardware devices - both virtual and real.

29
Q

Which command displays all recognized physical block drivers?

A

lsblk -a

30
Q

Which are the contents of the /sys/ directory?

A

Represents sysfs system and contain links to devices.

31
Q

Which are the contents of the /proc/ directory?

A

Proc directory contain runtime system information.

32
Q

Which command output data on all the PCI and PCI Express devices attached to your system?

A

lspci

lspci -xvvv < for more verbose

33
Q

Which is the “Genius” part of Linux? The software core that drives the whole thing and permit real time manipulation?

A

KERNEL

34
Q

Invoking ______ communication provided by the D-Bus system, should recognize the device and automatically load a kernel module to manage it.

A

UDEV

35
Q

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.

A

TRUE

36
Q

Which are the patch to create a .rule for device management?

A

/etc/udev/rules.d/

37
Q

Which command list unloaded modules on kernel?

A

find /lib/modules/$(uname -r) -type f -iname “*.ko”

38
Q

Which command will list loaded modules on kernel?

A

sudo modprobe lp

39
Q

Which command will remove the module on kernel?

A

sudo modprobe -r lp

40
Q

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

A

C /etc/systemd/system/default.target

41
Q

Which is the quickest way to display details on your network device?

a. lsblk
b. lspci
c. cat /proc/cpuinfo
d. lshw

A

lspci

42
Q

Which tools are used to watch for new plug-in devices?

A

udev and D-Bus