5.6 Flashcards

1
Q

What is the sequence of events from the time a system is powered on until the OS kernel is loaded memory space and begins executing?

A

Boot process

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

What is the set of instructions embedded onto a ROM, PROM, or EEPROM that tells the device how to communicate with other hardware and software?

A

Firmware

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

What is the format that a new hard drive come in?

A

Low-level format

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

Groups consecutive sectors together and prepares the hard drive for storing a file system.

A

Partitioning

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

Groups sectors into addressable clusters used by a file system for storing and retrieving disk data.

A

High-level format

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

The partition is referred to as a ____ _____ after being assigned a label.

A

Disk Volume

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

What are the steps to the boot process in Legacy Systems?

A
  1. ) Computer powers on
  2. ) Microprocessor receives power good signal and wakes the CPU
  3. ) BIOS code is loaded into memory and begins executing.
  4. ) BIOS reads CMOS RAM chip
  5. ) Determines if boot is hot or cold boot\
  6. ) BIOS builds a device tree to locate bootable media and search for a Volume Boot Sector.
  7. ) If VBS is not found it searches for MBR
  8. ) Loads the MBR and executes first stage boot loader.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What type of boost occurs when the computer is initially powered on?

A

Cold boot

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

What type of boot occurs when the OS is restarted without an interrupt to power

A

Warm boot

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

Created when a hard disk is partitioned and contains a partition table to identify the location of all created partitions.

A

Master Boot Record (MBR)

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

Marks the end of the sector and serves as a validation check for the MBR.

A

Boot signature

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

What hex value must the boot signature contain?

A

AA55 or 55AA.

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

The boot signature can help a user determine what?

A

Big endian (AA55) or little endian (55AA)

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

The MBR contains a 64-byte partitions table located at byte offsets (___ through ____).

A

446 through 509 (0x1BE to 0x1FD)

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

What are the different fields of the MBR and the locations of each?

A
  • State of Partition (Offset 0)
  • Head where the partition starts (Offset 1)
  • Sector and cylinder where the partition starts (Offset 2)
  • Type of Partition (Offset 4)
  • Head where the partition ends. (Offset 5)
  • Sector and cylinder where the partition ends. (Offset 6)
  • Distance, in sectors, from the partition sector to the first sector of the partition. (Offset 8)
  • Number of sectors in the partition. (Offset 12)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What are the partition types and hex values for them?

A
  • FAT 12 (0x01)
  • FAT 16 (0x0e)
  • FAT 32 (0x0c)
  • Linux Native (0x83)
  • Linux Swap (0x82)
  • BSD/386 (0xA5)
  • Extended (0x05)
  • NTFS (0x07)
  • Unknown (0xde)
  • GPT disk (0xee)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

What is the maximum supported partition size of the MBR?

A

2 TB

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

What is the Second stage boot loader for Windows XP and earlier?

A

NTLDR

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

What is the Second Stage Boot Loader for Windows Vista and later?

A

BOOTMGR

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

What is the Second Stage Boot Loader for Linux?

A

LILO/GRUB

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

Short version of boot process.

A
  1. ) BIOS (Real Mode)
  2. ) MBR (Real Mode)
  3. ) BOOT (Real Mode)
  4. ) Kernel (Real Mode)
  5. ) Kernel (Protected Mode)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

Mode where full access to physical memory is available.

A

Real Mode

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

Mode where access to memory is controlled.

A

Protected Mode

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

An improved method of booting due to its highly secure way of carrying out the boot process and checking the integrity of drivers and OS boot loaders using verification and initialization of digitally signed code.

A

Unified Extensible Firmware Interface (UEFI)

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

A special partition called the _______ stores files required to be launched by the firmware in UEFI.

A

UEFI System Partition

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

Type of boot where unsigned OS boot loaders or firmware drivers are not able to load.

A

Secure Boot

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

Advantages of UEFI over BIOS.

A
  • Ability to boot from larger disks with a GPT
  • Supports 32-bit or 64-bit processor mode
  • Works with MBR or GPT partitioning schemes
  • CPU-independent architecture and rivers
  • Secure Boot
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
28
Q

A disk-partitioning standard that uses logical block addressing (LBA).

A

Globally Unique Identifier (GUID) Partition Table (GPT)

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

How many sectors are reserved for the partition entry?

A

32, 512-byte sectors

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

What is the Model GPT Scheme (LB Levels)?

A
  • LBA 0 Protective MBR
  • LBA 1 Primary GPT Header
  • LBA 2-33 Partition entries
  • LBA 34 Start of Partitions
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
31
Q

What defines the usable blocks on the disk and the number and size of the partition entries that make up the partition table?

A

GPT header

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

How does GPT provide redundancy?

A

GPT writes the GPT header and partition table at the beginning and end of the disk.

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

What are the six phases of the UEFI boot process?

A
  1. ) Security (SEC)
  2. ) Pre-EFI Initialized (PEI)
  3. ) Driver Execution Environment (DXE)
  4. ) Boot Device Selection (BDS)
  5. ) Transient System Load (TSL)
  6. ) Run Time (RT)
34
Q

UEFI boot phase where the firmware is initialized.

A

Security (SEC)

35
Q

UEFI boot phase where low-level hardware is initialized.

A

Pre-EFI Initialization (PEI)

36
Q

UEFI boot phase where UEFI drivers are loaded and executed.

A

Driver Execution Environment (DXE)

37
Q

UEFI boot phase where a GPT or MBR determination is made based on boot configuration.

A

Boot Device Selection (BDS)

38
Q

UEFI boot phase where depending on the Boot Device selected in the BDS phase, the firmware boots an OS loader or the UEFI Shell or an UEFI application.

A

Transient System Load (TSL)

39
Q

UEFI boot phase where the UEFI program is cleared from memory and released to the OS.

A

Run Time (RT)

40
Q

What defines the way data is named, stored, organized, and accessed on a disk volume.

A

File system

41
Q

What are the five layers of a file system?

A
  1. ) Physical Layer
  2. ) File System Layer
  3. ) Data Layer
  4. ) Metadata Layer
  5. ) Filename Layer
42
Q

Layer of the file system that contains data that describes the file system structural details such as file allocation unit sizes, structure offsets, and mounting information.

A

File System Layer

43
Q

Layer of the file system that pertains to the type of the media containing the file system.

A

Physical Layer

44
Q

Layer of the file system that sores where the actually file and directory data

A

Data Layer

45
Q

Flag where a file is actively using the block/clusters

A

Allocated

46
Q

Flag where the block/cluster is not being used by a file.

A

Unallocated

47
Q

What is a data structure that uses a bit for each block/cluster to flag it as either allocated or unallocated?

A

A bitmap

48
Q

Occurs when files are stored in sequential block/cluster addresses.

A

Contiguous file allocation

49
Q

Occurs when data is stored in non-sequential block/cluster addresses.

A

Non-contiguous file allocation

50
Q

The process of locating data using pointers.

A

Linked allocation

51
Q

Each file has an index that contains location pointers for each piece of the file.

A

Indexed allocation

52
Q

Layer that contains data that describes a file.

A

Metadata Layer

53
Q

Layer that is how the user interfaces with the file system and contains data that assigns a name to each file.

A

Filename Layer

54
Q

Provides an OS with access to the entire instruction set of the CPU.

A

Kernel Mode

55
Q

What may the Kernel be responsible for?

A
  • Process Management
  • Memory Management
  • Device Management
  • File System Management
  • System Call Control
  • Thread Scheduling
  • Interrupt and Exception Handling
  • Synchronization with CPU(s)
56
Q

How does a program gain access to the Kernel?

A

Through System Calls and Handles

57
Q

What are 4 general design components common to all three types of kernels?

A
  • Applications
  • Application Programming Interface (API)
  • Kernel
  • Hardware Abstraction
58
Q

What are user mode programs providing OS interface and functionality?

A

Applications

59
Q

What is a documented interface for requesting protected OS services and is the library of functions use to invoke system calls?

A

Application Programming Interface (API)

60
Q

What is the program consisting of core OS functions designed specifically for interacting with various hardware components such as CPU scheduling, interrupt and exception handling, and CPU synchronization?

A

Kernel

61
Q

What is the architecture dependent code used by the kernel to interact with different hardware architectures?

A

Hardware Abstraction Layer

62
Q

Linux Specific OS Layer

A
  • GNU C Libraries (glibc)
  • System Call Interface
  • Architecture-dependent Code
63
Q

Linux OS component that contains callable functions used to invoke system calls

A

GNU C Libraries (glibc) Layer

64
Q

Linux OS component that converts a system call to the requested kernel service.

A

System Call Interface Layer

65
Q

Linux OS component that serves as the processor and platform-specific code for the given architecture.

A

Architecture-dependent Code Layer

66
Q

Windows Specific OS Layers

A
  • Subsystem
  • Native API
  • Executive
  • HAL
67
Q

Windows OS component that contains callable functions that are located in a suite of libraries called Dynamic Link Libraries (DLLs) and are used to provide an exposed documented interface for requesting protected OS services.

A

Subsystem Layer

68
Q

Windows OS component that translates the request int the actual system call.

A

Native API Layer

69
Q

Windows OS component that contains higher-level capabilities, such as access control, process management, memory management, and I/O management.

A

Executive Layer

70
Q

The layer of code in the Windows OS that isolates the kernel and device drivers from hardware specifics.

A

Hardware Abstraction Layer (HAL)

71
Q

Android Specific OS components

A
  • Linux Kernel
  • Libraries
  • Application Framework
  • Applications
72
Q

Android OS component that is used in place of HAL and provides memory management, process management, a security model, networking, and a lot of core OS infrastructure.

A

Linux Kernel Layer

73
Q

Android OS component that contains the Android Runtime.

A

Libraries Layer

74
Q

A procedure of developing applications on an Android platform written in Java using tools and API libraries provided by Android Software Development Kit (SDK)

A

Application Framework Layer

75
Q

iOS Specific Layers

A
  • Device Drivers
  • Core OS
  • Core Services
  • Media
  • Cocoa Touch
  • Applications
76
Q

Consists of the Mach kernel environment, device drivers, BSD library functions, and other low-level components. (iOS)

A

Device Drivers Layer

77
Q

Defines programming interfaces related to hardware and networking. (iOS)

A

Core OS Layer

78
Q

A set of Mac OS X and iOS API’s. (iOS)

A

Core Services Layer

79
Q

Incorporates technologies used to play, record, and edit audiovisual media and for rendering and animating 2D and 3D graphics. (iOS)

A

Media Layer

80
Q

Includes a technology framework for building an application’s user interface. (iOS)

A

Cocoa Touch Layer

81
Q

Apple and third-party developed and approved applications. (iOS)

A

Applications Layer