File Systems: Concepts, Security, and Best Practices

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/76

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

77 Terms

1
New cards

What is a file system?

A file system is a part of the OS that manages and organizes data stored on various storage devices.

2
New cards

What types of storage devices do file systems manage?

File systems manage data on hard disk drives, SSDs, and network storage.

3
New cards

What structure does a file system provide for data organization?

A file system provides a hierarchical structure of files and directories.

4
New cards

What is the purpose of a file system?

The purpose of a file system is to enable users and applications to interact with data systematically.

5
New cards

What is abstraction in the context of file systems?

Abstraction allows applications to access files using logical paths rather than physical disk addresses.

6
New cards

How does file system abstraction simplify application development?

It simplifies application development by allowing developers to use logical paths instead of dealing with physical storage details.

7
New cards

What benefit does file system abstraction provide regarding hardware platforms?

It enhances portability across different hardware platforms.

8
New cards

What are directories (or folders) used for?

Directories (or folders) are containers used to organize files.

9
New cards

What type of structure do directories form?

Directories form a tree-like structure.

10
New cards

What is the purpose of metadata?

Metadata provides context and attributes about files and directories.

11
New cards

What is authentication?

The process of verifying the identity of users attempting to access files or perform file system operations.

12
New cards

What does authentication prevent?

Unauthorized access to sensitive data.

13
New cards

What do file permissions regulate?

Access to files and directories.

14
New cards

What actions can file permissions determine?

Read, write, execute, or delete files.

15
New cards

What do Access Control Lists (ACLs) provide?

Granular control over permissions.

16
New cards

What is the purpose of encryption in file systems?

To safeguard sensitive information stored on disk.

17
New cards

What does built-in encryption in file systems prevent?

Unauthorized access to sensitive information.

18
New cards

What happens if the physical disk is compromised?

Encryption helps to prevent unauthorized access to the data.

19
New cards

Secure Deletion

Ensures that sensitive data is permanently erased from the disk, making it unrecoverable by unauthorized users.

20
New cards

Auditing and Logging

Tracks file access and modifications, helping detect and investigate security breaches or unauthorized activities.

21
New cards

Integrity Checking

Ensures the integrity of stored data by detecting unauthorized modifications or tampering.

22
New cards

Secure authentication mechanisms

Methods used to verify the identity of users accessing the file system.

23
New cards

Strong file permissions and access controls

Rules that determine who can access or modify files and directories.

24
New cards

Encryption for sensitive data

The process of converting data into a coded format to prevent unauthorized access.

25
New cards

Auditing and logging

Tracking and recording file access and modifications for security purposes.

26
New cards

Regular updates and patches

Routine maintenance of file system software to fix vulnerabilities.

27
New cards

Network access limitations

Restricting access to file systems through firewalls, ACLs, and network segmentation.

28
New cards

User education on security awareness

Training users on best practices for security, including password hygiene and recognizing phishing attempts.

29
New cards

FCFS (First Come First Served)

An algorithm that processes requests in the order they arrive, which is fair but inefficient.

30
New cards

What does SSTF stand for?

Shortest Seek Time First

31
New cards

What is the main function of the SSTF algorithm?

It selects the request closest to the current head position.

32
New cards

What is a potential drawback of the SSTF algorithm?

It can lead to starvation.

33
New cards

What is the SCAN algorithm in disk scheduling?

An algorithm that moves the head in one direction servicing requests.

34
New cards

What happens at the end of the disk in the SCAN algorithm?

The algorithm reverses direction.

35
New cards

What does C-SCAN stand for?

Circular SCAN

36
New cards

How does C-SCAN differ from SCAN?

C-SCAN moves the head back to the start after reaching the end.

37
New cards

What is a benefit of using C-SCAN?

It provides more uniform wait times.

38
New cards

What is LOOK in disk scheduling?

A variant of SCAN where the head only goes as far as the last request before reversing.

39
New cards

What is C-LOOK in disk scheduling?

A variant of C-SCAN where the head only goes as far as the last request before reversing.

40
New cards

What do LOOK and C-LOOK aim to avoid?

Unnecessary movement of the disk head.

41
New cards

Registers

Fastest storage located within the CPU, used for immediate data processing.

42
New cards

Cache

Faster than RAM but limited in size (a few MB), storing frequently accessed data to speed up CPU operations.

43
New cards

What does RAM stand for?

Random Access Memory

44
New cards

What type of memory is RAM?

Volatile memory

45
New cards

What is the primary use of RAM?

Temporary storage of data and programs currently in use

46
New cards

What happens to data in RAM when power is off?

Data is lost

47
New cards

ROM storage

Non-volatile storage that retains data even when the power is off.

48
New cards

Hard disk drives

Storage devices that utilize discs and heads to read/write data.

49
New cards

What does SSD stand for?

Solid State Drive

50
New cards

What is a key feature of SSDs regarding data access speed?

Accessing data from anywhere on the SSD is at the same speed.

51
New cards

How do SSDs compare to HDDs in terms of cost?

SSDs are more expensive than HDDs.

52
New cards

CDs, DVDs, and cassette tapes

Media types that are excellent for archiving data.

53
New cards

ROM (Read-Only Memory)

Non-volatile memory used for firmware and boot processes. Data is retained even when power is off.

54
New cards

What technology do Hard Disk Drives (HDDs) use to access data?

Spinning disks and read/write heads

55
New cards

How do Hard Disk Drives (HDDs) compare to SSDs in terms of speed?

Slower than SSDs

56
New cards

Are Hard Disk Drives (HDDs) generally more or less expensive than SSDs?

Cheaper than SSDs

57
New cards

What is a key advantage of Hard Disk Drives (HDDs) regarding storage capacity?

They have larger capacities than SSDs

58
New cards

What are CDs and DVDs classified as?

Optical Storage

59
New cards

What is a key benefit of using optical storage for archiving?

Immutability

60
New cards

What is the cost characteristic of CDs and DVDs?

Low cost

61
New cards

What does WORM stand for in the context of CDs and DVDs?

Write-Once, Read-Many

62
New cards

Tape Storage

Slow but cheap and high-capacity, ideal for long-term archival storage.

63
New cards

Contiguous Allocation

Files occupy contiguous blocks of storage. Simple but leads to fragmentation.

64
New cards

What is Linked Allocation?

Files are stored in non-contiguous blocks, with each block pointing to the next.

65
New cards

What is a benefit of Linked Allocation?

It avoids fragmentation.

66
New cards

What is a drawback of Linked Allocation?

It can be inefficient for random access.

67
New cards

What is indexed allocation in file systems?

Uses an index block to store pointers to all blocks of a file.

68
New cards

What is one advantage of indexed allocation?

Provides fast access to file blocks.

69
New cards

What is a disadvantage of indexed allocation?

Requires additional space for the index block.

70
New cards

How does indexed allocation affect fragmentation?

Reduces fragmentation.

71
New cards

What is multi-level indexing?

A method that extends indexed allocation with multiple levels of index blocks.

72
New cards

What is the benefit of multi-level indexing?

It allows efficient storage and access of large files.

73
New cards

What does Virtual File Systems (VFS) provide?

A standard interface for accessing files.

74
New cards

What types of storage devices can VFS access?

Local disks, network drives, CDs.

75
New cards

What does Limiting Network Access actually do for file systems?

It Restricts network access to file systems using firewalls, ACLs, and network segmentation.

76
New cards

How can Educating Users help for file systems

Provide training on security best practices, including password hygiene and recognizing phishing attempts.

77
New cards

How do Regular Updates help for file systems?

Regularly update and patch file system software to protect against vulnerabilities.