Quiz 10 Flashcards

1
Q

What does the principle of economy of mechanism states?

Security mechanisms should have limited monetary cost

Security should only be deployed if absolutely necessary

Security mechanisms should be as simple as possible (as long as they get the job done)

This principle does not exist

A

Security mechanisms should be as simple as possible (as long as they get the job done)

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

What are the security-related goals typically considered in OS design?

A

Integrity, Availability, Confidentiality

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

What does the principle of least privilege states?

An OS should only define two users, and administrator and a regular user

No file in storage should be executable

A user password should not be longer than 16 characters

A process should only receive the minimum privileges necessary to perform its actions

A

A process should only receive the minimum privileges necessary to perform its actions

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

An OS may decide if a process is allowed to perform a certain action based on a security policy

A

True

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

Match authentication concepts to their definition

____
A computing entity performing a request for access on behalf of another party

____
A party (typically a human) that can request access to resources

  1. Principal
  2. Agent
A

__2__
A computing entity performing a request for access on behalf of another party

__1__
A party (typically a human) that can request access to resources

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

Passwords are examples of authentication based on “what you are”

True
False
A

False

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

The “non-repudation” property means that if someone performs an action, they cannot deny that that action was performed

(True or False)

A

True

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

What is a false positive in the context of biometric authentication?

Determining that the user fingerprint has changed

Needlessly requiring 2-factor authentication

Refusing to let the right user into the system

Letting the wrong user into the system

A

Letting the wrong user into the system

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

Which I/O approach is more common in modern hardware peripherals?

Virtual address translation

Memory-mapped I/O

I/O using dedicated hardware instructions

Scheduled I/O

A

Memory-mapped I/O

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

What’s the role of a driver?

Enable the OS to interface with an hardware peripheral

Enable an hardware peripheral to communicate with the user

Enable user-space processes to interface with the OS

Enable user-space processes to interface with an hardware peripheral

A

Enable the OS to interface with an hardware peripheral

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

in and out X86 instructions allow to perform input/output using a dedicated I/O address space. (True or False)

A

True

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

The majority of code in modern OS’es is found in device drivers

True
False
A

True

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

Interrupt-based I/O is always preferable to polling-based I/O

True
False
A

False

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

Match the I/O strategy with the correct description

____
Repeatedly check whether I/O events have occurred

____
Asynchronously get notified when I/O events occur

  1. Polling-based I/O
  2. Interrupt-driven I/O
A

__1__
Repeatedly check whether I/O events have occurred

__2__
Asynchronously get notified when I/O events occur

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

Select all facts that apply to DMA

DMA is only used for GPUs

DMA allows I/O data to be moved between devices and memory with limited CPU involvement

DMA stands for Direct Mapping Access

DMA requires a dedicated controller

A

DMA allows I/O data to be moved between devices and memory with limited CPU involvement

DMA requires a dedicated controller

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