Module 1 - 04-2 Flashcards

The operating system at work

1
Q

What is the job of an OS?

A

To help other computer programs run efficiently.

The OS does this by taking care of all the messy details related to controlling, the computer’s hardware

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

Explain the process of turning on a computer

A
  • When you press the power button, you’re interacting with the hardware.
  • This boots the computer and brings up the operating system.
  • Booting the computer means that a special microchip called a BIOS is activated. On many computers built after 2007, the chip was replaced by the UEFI. Both BIOS and UEFI contain booting instructions that are responsible for loading a special program called the bootloader.
  • Then, the bootloader is responsible for starting the operating system. Just like that, your computer is on.

Vulnerabilities can occur in something like a booting process.
Often, the BIOS is not scanned by the antivirus software, so it can be vulnerable to malware infection.

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

What doe CPU stand for?

A

Central Processing Unit (CPU)

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

How do applications and hardware communicate?

  • Operating systems regularly monitor applications and hardware to determine if any common information should be shared between them.
  • Applications and hardware communicate directly, and the operating system interprets this communication to translate it to the user.
  • Applications send requests to the operating system, and the operating system directs those requests to the hardware.
  • Applications send requests directly to the hardware, and the hardware sends back a response through the operating system.
A

Applications send requests to the operating system, and the operating system directs those requests to the hardware.

Applications send requests to the operating system, and the operating system directs those requests to the hardware. The hardware also sends information back to the operating system, and the operating system sends it back to applications.

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

What does BIOS stand for?

A

Basic Input/Output System (BIOS)

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

Define BIOS

A

A microchip that contains loading instructions for the computer and is prevalent in older systems

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

What does UEFI stand for?

A

Unified Extensible Firmware Interface (UEFI)

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

Define UEFI

A

A microchip that contains loading instructions for the computer and replaces BIOS on more modern systems

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

What are the functions of the BIOS and UEFI?

A

The BIOS and UEFI chips both perform the same function for booting the computer

UEFI provides enhanced security features

The BIOS or UEFI microchips contain a variety of loading instructions for the computer to follow.
For example, one of the loading instructions is to verify the health of the computer’s hardware.

The last instruction from the BIOS or UEFI activates the bootloader.
The bootloader is A software program that boots the operating system.
Once the operating system has finished booting, your computer is ready for use.

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

Define Bootloader

A

A software program that boots the operating system

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

How many processes are there in completing a task on a computer?

A

Four (4)

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

What components are part of the four-part process of completing a task on a computer?

A
  • User
  • Application
  • Operating System
  • Hardware
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is the first (1st) part of the process of completing a task on a computer?

A

User

The user initiates the process by having something they want to accomplish on the computer

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

What is the second (2nd) part of the process of completing a task on a computer?

A

Application

The application is the software program that users interact with to complete a task

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

What is the third (3rd) part of the process of completing a task on a computer?

A

Operating System

The operating system receives the user’s request from the application.
It’s the operating system’s job to interpret the request and direct its flow.
In order to complete the task, the operating system sends it on to applicable components of the hardware.

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

What is the fourth (4th) part of the process of completing a task on a computer?

A

Hardware

The hardware is where all the processing is done to complete the tasks initiated by the user.
After the work is done by the hardware, it sends the output back through the operating system to the application so that it can display the results to the user.

17
Q

What are the steps involved in booting a computer?

A

Step 1: The user powers on the computer.

Step 2: BIOS or UEFI loads the bootloader.

Step 3: The bootloader program loads the OS.

18
Q

What are the steps involved in saving a file?

A

Step 1: User opens a word processing application and types a document.

Step 2: When the user saves the document, the application communicates with the OS.

Step 3: OS saves the file to a hardware component called the hard drive.

Step 4: Hard drive confirms file was saved, communicates this to OS. OS indicates this within the application.

19
Q

What is another task that the OS is responsible for?

A

It is responsible for managing the resources of the system (resource allocation).
This is a big task that requires a lot of balance to make sure all the resources of the computer are used efficiently.
Think of this like the concept of energy.
Energy is needed to complete different tasks.
Some tasks need more energy, while others require less.
A computer’s OS also needs to make sure that it has enough energy to function correctly for certain tasks.
Running an antivirus scan on your computer will use more energy than using the calculator application.

As an analyst, it’s helpful to know where a system’s resources are used. Understanding usage of resources can help you respond to an incident and troubleshoot applications in the system.

20
Q

Why is it necessary for the OS to handle resource and memory management?

  • To increase the capacity of the computer system so more applications can be run
  • To most efficiently respond to cybersecurity incidents
  • To ensure the limited capacity of the computer system is used where it is needed most
  • To track the computer system’s activity and provide users with memory and task management information
A

To ensure the limited capacity of the computer system is used where it is needed most

The OS handles resource and memory management to ensure the limited capacity of the computer system is used where it is needed most.

21
Q

What does the Task Manager do?

A

It will list all of the tasks that are being processed, along with their memory and CPU usage

22
Q

What does VM stand for?

A

Virtual Machine (VM)

23
Q

Define VM

A

A virtual version of a physical computer.

Virtual machines are one example of virtualization.

24
Q

Define Virtualization

A

The process of using software to create virtual representations of various physical machines.

25
Q

Define Virtual

A

The term “virtual” refers to machines that don’t exist physically, but operate like they do because their software simulates physical hardware.

Virtual systems don’t use dedicated physical hardware.
This means that a single virtual machine has a virtual CPU, virtual storage, and other virtual hardware.
Virtual systems are just code.

You can run multiple virtual machines using the physical hardware of a single computer.
This involves dividing the resources of the host computer to be shared across all physical and virtual components.

26
Q

What does RAM stand for?

A

Random Access Memory (RAM)

27
Q

Define RAM

A

A hardware component used for short-term memory

28
Q

Explain the Benefits of Virtual Machines regarding Security

A

One benefit is that virtualization can provide an isolated environment, or a sandbox, on the physical host machine.
When a computer has multiple virtual machines, these virtual machines are “guests” of the computer.
They are isolated from the host computer and other guest virtual machines.
This provides a layer of security, because virtual machines can be kept separate from the other systems.
A security professional could also intentionally place malware on a virtual machine to examine it in a more secure environment.

Note: Although using virtual machines is useful when investigating potentially infected machines or running malware in a constrained environment, there are still some risks.
For example, a malicious program can escape virtualization and access the host machine. This is why you should never completely trust virtualized systems.

29
Q

Explain the Benefits of Virtual Machines regarding Efficiency

A

Using virtual machines can also be an efficient and convenient way to perform security tasks.
You can open multiple virtual machines at once and switch easily between them.
This allows you to streamline security tasks, such as testing and exploring various applications.
Many virtual machines can be hosted on the same physical machine.
That way, separate physical machines aren’t needed to perform certain tasks.

30
Q

How are Virtual Machines Managed

A

Virtual machines can be managed with a software called a hypervisor.
Hypervisors help users manage multiple virtual machines and connect the virtual and physical hardware.
Hypervisors also help with allocating the shared resources of the physical host machine to one or more virtual machines.

One hypervisor that is useful for you to be familiar with is the Kernel-based Virtual Machine (KVM).
KVM is An open-source hypervisor that is supported by most major Linux distributions.
It is built into the Linux kernel, which means it can be used to create virtual machines on any machine running a Linux operating system without the need for additional software.

31
Q

What does KVM stand for?

A

Kernel-based Virtual Machine (KVM)

32
Q

Define KVM

A

An open-source hypervisor that is supported by most major Linux distributions

33
Q

What are other forms of virtualization?

A

In addition to virtual machines, there are other forms of virtualization.
Some of these virtualization technologies do not use operating systems.

For example, multiple virtual servers can be created from a single physical server.
Virtual networks can also be created to more efficiently use the hardware of a physical network.

34
Q

What is the job of a computer’s operating system?

  • Turn on the computer
  • Allow users to specify tasks
  • Help other computer programs run efficiently
  • Load the bootloader
A

Help other computer programs run efficiently

The job of a computer operating system is to help make other computer programs run efficiently. It does this by managing the details related to controlling computer hardware

35
Q

In order to carry out tasks on a computer, users directly interact with _____.

  • the BIOS
  • applications
  • task managers
  • the CPU
A

applications

Users interact with applications in order to carry out tasks on a computer. Applications are programs that perform a specific task.

36
Q

The management of a computer’s resources and memory is handled by an application.

True
False

A

False

The management of a computer’s resources and memory is handled by its operating system. The operating system ensures the limited capacity of the computer system is used where it’s needed most.

37
Q

Which of the following processes are part of starting an operating system? Select all that apply.

  • The bootloader starts the operating system.
  • Either the BIOS or UEFI microchip is activated when a user turns on a computer.
  • The bootloader immediately launches when a user turns on a computer.
  • The BIOS or UEFI microchip loads the bootloader.
A
  • The bootloader starts the operating system.
  • Either the BIOS or UEFI microchip is activated when a user turns on a computer.
  • The BIOS or UEFI microchip loads the bootloader.

Either the BIOS or UEFI microchip is activated when a user turns on a computer. The BIOS or UEFI microchip loads the bootloader, and the bootloader starts the operating system.