Chapter 4: Data Management - 10 Questions Flashcards

1
Q

What are the four default top-level folders visible in the Finder?

A

The four default top-level folders visible in the Finder are:

  • Applications, containing applications all local users have access to
  • Library, containing system resources all local users have access to;
  • System, containing necessary system resources
  • Users, containing all the local user home folders.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are six common system resources? What purpose does each resource serve? Where are they located in the file hierarchy?

A

Six common system resources are:

  • Extensions, which attach themselves to the system kernel to provide hardware and peripheral driver support
  • Frameworks, which are shared code libraries that provide additional software resources for both applications and system processes
  • Fonts
  • Preference files, which contain application and system configuration information
  • LaunchAgents and LaunchDaemons, used by launchd to provide services that automatically start when they’re needed or at system startup
  • Logs, which are text files that contain error and progress entries from nearly any application or system service.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are the four system resource domains? What purpose does each domain serve?

A

The four system resource domains are:

  • User, containing applications and system resources specific to each user account
  • Local, containing applications and system resources available to all users on the local Mac
  • Network (optional), containing applications and system resources available to any Mac that has an automated network share
  • System, containing applications and system resources required to provide basic system functionality.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Why does the Finder hide certain folders at the root of the system volume?

A

The Finder hides traditional UNIX resources from average users because they don’t need to access those items. If users do need access to these UNIX items, they can access them from Terminal.

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

What two methods can you use to hide items from the Finder?

A

The Finder doesn’t show items with periods at the beginning of their filename or items with the hidden file flag enabled.

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

What is file system metadata? What are some examples of file system metadata?

A

Metadata is information stored outside a file or folder. It provides additional information about files and folders. Examples include file flags, extended file attributes, and permissions.

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

What are some of the common file flags Lion uses?

A

Common file flags include the locked flag, which locks files from changes, and the hidden flag, which hides the item in the Finder.

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

What does Lion use bundles or packages for?

A

OS X uses bundles and packages to combine complex items into individual folders. Packages have the advantage of appearing as a single item in the Finder, and software developers can combine resources into a single item, preventing users from altering those resources.

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

How does the system identify which application to open when a user double-clicks a file?

A

Files are identified primarily by their filename extension. Launch Services maintains a database of known applications and which file types they can open. When you double-click a file in the Finder, Launch Services tries to find an appropriate match. You can override the default application selection in the Finder.

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

What are some privacy and security concerns with Spotlight?

A

Though Spotlight indexes file and folder permissions, it will allow other users to search the contents of locally attached nonsystem volumes when ownership is ignored on those volumes.

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

What are the differences between zip archives and disk
images?

A

You can create zip archives with the Finder from a specific selection of items. Zip archives are compatible with many operating systems. On the other hand, you use Disk Utility to create disk images and you can create highly flexible archive volumes that contain nearly anything.

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

How does Spotlight use metadata?

A

Spotlight creates index databases of file system metadata so that it can perform normally time-intensive searches nearly instantly.

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

Where does Spotlight store its metadata index databases? How about the Spotlight plug-ins?

A

Spotlight metadata index databases are stored at the root of every volume in a /.Spotlight-V100 folder. However, a Legacy FileVault user’s database is stored in the user’s encrypted home folder. Also, the Mail application maintains its own database in each user’s home folder at ~/Library/Mail/V2/ MailData/Envelope Index. Spotlight plug-ins are in any Library in a folder named Spotlight.

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

What backup destinations does Time Machine support?

A

Time Machine can back up to any Mac OS Extended volume, a network share hosted on Time Capsule, or a network share hosted on an OS X Server computer.

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

How does Time Machine maintain a backup history of the file system?

A

Time Machine starts with a full copy of the file system; then it records any changes to the file system and copies only the changes. It creates a simulation of the full file system using hard links for files that haven’t changed.

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

What types of files are omitted from Time Machine backups?

A

Time Machine always ignores temporary files, Spotlight indexes, items in the Trash, and anything else considered a cache. Time Machine also ignores any files an application has defined as exempt, or any files you have defined as exempt in the Time Machine preferences.

17
Q

Why is Time Machine inefficient at backing up large databases?

A

Time Machine is inefficient at backing up large databases because it must back up the entire database file every time any change, no matter how small, is made to the database.

18
Q

Why might a previously backed-up item no longer be available in Time Machine?

A

An item you previously backed up may not be available if the backup volume is full and Time Machine has deleted older items to make room for newer items.