CPSC4240 Midterm 2

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/76

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 4:14 AM on 11/13/25
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

77 Terms

1
New cards

What is the kernel?

the modular main component of the OS that provides an interface between hardware and processes

2
New cards

What is a monolithic kernel?

a type of kernel in which all modules run in the kernel space

3
New cards

What is a microkernel?

runs minimum resources possible; has a small kernel space and a large user space

4
New cards

What type of kernel is a Linux kernel?

monolithic

5
New cards

What does "uname -r" display?

the kernel release version

6
New cards

What makes up kernel version names?

MAJOR.MINOR.PATCH

7
New cards

When is the MAJOR incremented on the kernel version?

when you make incompatible API changes

8
New cards

When is the MINOR incremented on the kernel version?

when you add functionality in a backwards compatible manner

9
New cards

When is the PATCH incremented on the kernel version?

when you make backwards compatible bug fixes

10
New cards

What does BSOD stand for?

blue screen of death (windows)

11
New cards

What is a device driver?

software that talks to the devices/software that handles controllers for attached hardware

acts as an interface between OS and devices

12
New cards

Is the device driver part of the kernel or independent of it?

independent of it in terms of development

13
New cards

Is the device driver part of the user space or kernel space?

kernel space

14
New cards

What directory do devices live in?

/dev

15
New cards

Where can you find a list of character and block devices?

/proc/devices

16
New cards

Where can you find files that expose device details?

/sys/devices

17
New cards

What are hotpluggable devices?

devices that can be physically added or removed without a reboot

18
New cards

What are coldpluggable devices?

devices that when physically added or removed, require a reboot

19
New cards

What is udev?

a function of systemd that acts as a device manager that automatically detects hardware devices

20
New cards

What are the "major numbers" associated with a device?

ids the driver with which the file is associated (type of device)

21
New cards

What are the "minor numbers" associated with a device?

ids an instance of a given device type (unit number)

22
New cards

What are pseudo-devices?

phantom device drivers that control no actual device

23
New cards

If we list what's in the /dev directory, what do we see?

list of pseudo devices, the hard drive and partitions

24
New cards

What are examples of pseudo devices?

/dev/null, /dev/zero, /dev/urandom

25
New cards

What does /dev/null do?

black hole that discards everything written to it, produces no output

26
New cards

What does /dev/zero do?

accepts and discards input, output is continuous zero bytes

27
New cards

What does /dev/urandom do?

pseudo-random number generator

28
New cards

What does this command do and when do you need to use it? "mknod filename type major minor"

creates a device file because sometimes you have to

29
New cards

What are the four types of kernel failures?

soft lockup, hard lockup, panics, linux "oops"

30
New cards

What is nvme?

non-volatile memory express is a storage protocol for SSDs

31
New cards

What is a block device driver?

read or written one block at a time

32
New cards

What is a character device driver?

read or written one byte at a time

33
New cards

What is an example of a block device?

SATA drive

34
New cards

What is an example of a character device?

/dev/tty (terminal device), /dev/null

35
New cards

What is a soft link?

a symbolic link that acts as a shortcut as it points to a filename and does not contain data on the file

36
New cards

What is a hard link?

a direct reference to an inode that contains a copy of the original file

37
New cards

What's the difference between soft and hard links?

hard links are a direct link, whereas soft links have an extra layer of reference

38
New cards

What is an inode?

a data structure that describes a filesystem object as it contains the metadata of a file

39
New cards

How does the file permissions tell you if there's a link?

there will be an "l" at the beginning of the permissions string

40
New cards

What kind of link does the file permission string tell you about?

it only tells you if there's a soft link, will not appear for hard links

41
New cards

Who assigns the inode numbers?

the kernel

42
New cards

How do you display the inode number?

ls -l

43
New cards

What does ls -t do?

shows files in order of timestamp

44
New cards

How do you create a softlink?

ln -s somefile_name softlink_name

45
New cards

How do you create a hard link?

ln somefile_name hardlink_name

46
New cards

What happens when you mount something over your files?

it hides your files, but does not delete them

47
New cards

Can you see your files again after unmounting what's covering them, or are they gone?

yes

48
New cards

What directories can you mount on?

mnt, cdrom

49
New cards

What is stuxnet?

a computer virus that was used to target a Iranian nuclear facility

50
New cards

What is a zero day exploit?

a security flaw that is exploited that was previously unknown

51
New cards

Who is responsible for the security of the organization?

system admin

52
New cards

What is the weakest link in the system and why?

humans because of their emotions, can be easily exploited, and can be predictable and lazy

53
New cards

What does it mean to have defense and depth security?

multiple levels of security that you have to overcome

54
New cards

What is an attack surface?

anything that you can find out about someone's system without actually hacking in

55
New cards

What is operation security?

not letting anyone know what you're doing

56
New cards

What is a grey man?

a type of security that doesn't let you know it's there (utilizes the concept of hiding in plain sight)

57
New cards

What does USA PATRIOT Act stand for?

The Uniting and Strengthening America by Providing Appropriate Tools Required to Intercept and Obstruct Terrorism Act of 2001

58
New cards

What does the USA PATRIOT Act do?

allows for the government to expand their surveillance to prevent terrorism (also expanded the definition of terrorism)

59
New cards

When did Edward Snowden whistleblowing happen?

2015

60
New cards

What is the CIA triad of cybersecurity?

confidentiality, integrity, and accessibility

61
New cards

What is biometrics?

using your personal biological data as an identifier because it's almost always unique to you (exception = twins)

62
New cards

What are some examples of biometrics?

eye scan, finger print

63
New cards

What is cryptography?

allows people to communicate secretly even on unsecure channels

64
New cards

What is symmetric cryptography?

sender and receiver share a common key to encrypt and decrypt

65
New cards

What is asymmetric cryptography?

shared public key and secret private key

66
New cards

What is stegonography?

the method of hiding data in another media type so that the very existence of the data is concealed

67
New cards

What type of security is steganography?

security through obscurity

68
New cards

What are the components of steganography?

carrier, payload, stegomedium

69
New cards

Who rotates logs?

cron

70
New cards

What are some facts about SATA drives?

71
New cards

What kind of device can be added and removed that require a reboot?

coldpluggable

72
New cards

What kind of device can be added and removed without a reboot?

hotpluggable

73
New cards

What are phantom device drivers called?

pseudo device drivers

74
New cards

What do phantom device drivers control?

they don't control actual devices

75
New cards

What command allows you to list all hard drive partitions?

lsblk

76
New cards

What is kernel panic?

kernel enters and unknown state and then panics, which leaded to a reboot or error message

77
New cards

What are the three categories of crimes involving computers?

computer-assisted, computer targeted, and computer incidental

Explore top flashcards

flashcards
Cô Yến 5/12/2024
22
Updated 480d ago
0.0(0)
flashcards
EXAM 2 - part 6
22
Updated 250d ago
0.0(0)
flashcards
Einheit 1 Freunde
75
Updated 229d ago
0.0(0)
flashcards
Biology Honors Evolution
51
Updated 1096d ago
0.0(0)
flashcards
Matiekos egzas
73
Updated 819d ago
0.0(0)
flashcards
Livy 2.10 Vocab
20
Updated 1215d ago
0.0(0)
flashcards
Cô Yến 5/12/2024
22
Updated 480d ago
0.0(0)
flashcards
EXAM 2 - part 6
22
Updated 250d ago
0.0(0)
flashcards
Einheit 1 Freunde
75
Updated 229d ago
0.0(0)
flashcards
Biology Honors Evolution
51
Updated 1096d ago
0.0(0)
flashcards
Matiekos egzas
73
Updated 819d ago
0.0(0)
flashcards
Livy 2.10 Vocab
20
Updated 1215d ago
0.0(0)