2 - Design Flashcards

1
Q

realiability + metric

A

The notion of reliability refers to the ability of a system to offer a continuous service (without
failures) under specific stated conditions during a specified period of time.

Metric: Mean Time Between Failures (MTBF)

MTBF = sum(start_down_time - start_uptime)/number_failures

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

Design faults are _________

A

permanent

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

Simulation of the design of a program can be used to eliminate all requirements
faults.

A

False, because 1) no method can eliminate all the faults in a program, 2) missing
requirements cannot be detected, and 3) usually it is not possible to explore all the states of a
program by simulation.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q
Voting systems (e.g. triple modular redundancy) can be used to tolerate transient
faults but not permanent faults.
A

We focus on permanent faults part of the statement.
True, if the fault occurs in software. All the replicas will present the same (design) fault,
therefore redundancy would not help.
False, in the case of hardware, as long as long as the fault is not present in all the replicas.

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

A method for fault forecasting is to build in adaptive load control in the design of
the system.

A

True, switching load from one server to another (as in the case of the Google mail server)
would need identification of current/future load and adaptation to it.

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

Explain whether production defects in microchips are an example of faults, errors or
failures.

A

The production defects in a microchip can be a failure and a fault in two different contexts:
 Failure of the production line of the microchips.
 Fault of an incorrectly delivered service that uses these microchips.
Nevertheless they cannot be an error, because they are not the symptom of a problem.

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

Describe the relation between “degraded mode” and “system failure”. You may use an
example to explain whether these terms are synonyms or have differences.

A

System failure implies that the main functionality of a system is lost, e.g. the engine of
a car breaks and the car cannot transport anyone.
Instead, degraded mode implies that only a subset of the system functionality is
available or that it is available with reduced performance, e.g. a cellular network that
because of congestion only allows to send SMSs, but not to establish a call.
Therefore, system failure is the worst scenario, since the service is not provided at all
after the failure, while in degraded mode the system still provides part of the services.

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

Explain the notion of graceful degradation and give one example of it in a real application
setting.

A

Graceful degradation is the capability of a system to offer a reduced service or
performance in case of failure of some of its components.
An example can be a communications network that has some of its links down and it
still can offer the service, but with a reduced bandwidth available and higher latency,
e.g. Internet.

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

Redundancy in hardware through triple modular redundancy does not increase the
response time of an application compared to a non-replicated solution.

A

True, if the time spent for voting over the results is negligible.

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

TCP employs redundancy in data when a message is retransmitted to achieve
reliable communication.

A

False, TCP includes a checksum to detect errors, but not to correct them.

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

TCP employs redundancy in time when a message is retransmitted to achieve
reliable communication.

A

True, TCP retransmits segments of data that has been lost or corrupted.

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