Cringe Flashcards

(143 cards)

1
Q

What is the definition of Distributed Systems

A

A distributed system is a collection of autonomous computing
elements that appears to its users as a single coherent system.

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

What are some characteristic Features of Distributed Systems

A
  • Autonomous computing elements, also referred to as nodes, be
    they hardware devices or software processes.
  • Single coherent system: users or applications perceive a single
    system ⇒ nodes need to collaborate.
  • Its easily expandable, Adding new computers is hidden from users
  • It has continuous availability, Failures in one component can be covered by other components
  • It is supported by middleware
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are some features of Distributed Systems

A
  • No shared memory – message-based communication
  • Each runs its own local OS
  • Heterogeneity
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What does a distributed system look like?

A
  • The distributed system “looks like” a single computer rather than a
    collection of separate computers. It Hide internal organization, communication details and Provides a uniform interface
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What Goals does Distributed Systems want to accomplish

A
  • Availability (support sharing of resources)
  • Distribution transparency
  • Openness
  • Scalability
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is Goal 1 of Distributed Systems (Resource Availability) Entail?

A
  • Support user access to remote resources (printers, data files, web pages, CPU cycles) and the fair sharing of the resources
  • Economics of sharing expensive resources
  • Performance enhancement – due to multiple processors; also due to ease of collaboration and info exchange – access to remote services
  • Resource sharing introduces security problems.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is Goal 2 of Distributed Systems (Distribution Transparency) Entail?

A
  • Software hides some of the details of the distribution of system resources. This makes the system more user friendly
  • A distributed system that appears to its users & applications to be a single computer system is said to be transparent. This means that Users & apps should be able to access remote resources in the same way they access local resources.
  • Transparency has several dimensions.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are the different types of distribution transparency?

A
  • Access: Hide differences in data representation and how an object is accessed
  • Location: Hide where an object is located
  • Relocation: Hide that an object may be moved to another location while in use
  • Migration: Hide that an object may move to another location
  • Replication: Hide that an object is replicated
  • Concurrency: Hide that an object may be shared by several independent users
  • Failure: Hide the failure and recovery of an object
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is Goal 3 of Distributed Systems (Openness) Entail?

A
  • Be able to interact with services from other open systems, irrespective of the underlying environment:
  • Interface Definition/Description Languages (IDL): used to describe the interfaces between software components, usually in a distributed system
  • Interoperability: the ability of two different systems or applications to work together
  • Portability: an application designed to run on one distributed system can run on another system that implements the same interface.
  • Extensibility: Easy to add new components, features
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is Goal 4 of Distributed Systems (Scalability) Entail?

A
  • Dimensions that may scale with respect to size
  • Dimensions that may scale With respect to geographical distribution
  • Dimensions that may scale With respect to the number of administrative organizations spanned
  • A scalable system still performs well as it scales up along any of the three dimensions.
  • Scale-up vs Scale-out
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What are pitfalls in relation to the development of distributed systems?

A
  • Many distributed systems are needlessly complex caused by mistakes that required patching later on. Many false assumptions are often made.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What are the many false assumptions made when developing distributed Systems

A
  • The network is reliable
  • The network is secure
  • The network is homogeneous
  • The topology does not change
  • Latency is zero
  • Bandwidth is infinite
  • Transport cost is zero
  • There is one administrator
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What are the three types of distributed Systems?

A
  • High performance distributed computing systems (HPDC)
  • Distributed information systems (DIS)
  • Distributed systems for pervasive computing (Pervasive)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is HDPC in relation to Parallel Computing

A
  • High-performance distributed computing started with parallel computing.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is HDPC in relation to Cluster computing

A
  • Essentially a group of high-end systems connected through a LAN
  • Homogeneous: same OS, near-identical hardware
  • Single managing node
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is HDPC in relation to Grid computing

A

The next step: lots of nodes from everywhere. These are Heterogeneous, Dispersed across several organizations, Can easily span a wide-area network. Remember, To allow for collaborations, grids generally use virtual organizations. In essence, this is a grouping of users (or better: their IDs) that will allow for authorization on resource allocation.

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

What is HDPC in relation to cloud computing?

A

Its resource utilisation is: Elasticity, with dynamic resource provisioning. Furthermore its cost efficient as you pay for the servers using PAYG (pay as you go). These servers would be things like AWS or Microsoft Azure.

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

What is the situation, basic approach and next step of Distributed Information Systems when integrating applications

A
  • Situation: Organizations confronted with many networked applications, but achieving interoperability was painful.
  • Basic approach:
  • A networked application is one that runs on a server making its services available to remote clients. Simple integration: clients combine requests for (different) applications; send that off; collect responses, and present a coherent result to the user.
  • RPC (functions)
  • RMI (Objects)
  • MOM (Publish/Subscribe)
  • Next Step: Allow direct application-to-application communication, leading to Enterprise Application Integration.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

What could an example be of a Distributed Information System: Enterprise Application Integration of Nested Transactions

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

How would you integrate applications in a Distributed Information System?

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

What is a Distributed Pervasive System?

A

A Distributed Pervasive System is a network of interconnected devices or nodes, often mobile or embedded in the environment, that seamlessly provide services and exchange information without requiring explicit user commands, thereby integrating computing into the user’s everyday activities and environment. They naturally blend into the user’s environment.
They also have three overlapping subtypes. These are:
- Ubiquitous computing systems: pervasive and continuously present, i.e., there is a continuous interaction between system and user.
- Mobile computing systems: pervasive, but emphasis is on the fact that devices are inherently mobile
- Sensor (and actuator) networks: pervasive, with emphasis on the actual (collaborative)sensing and actuation of the environment.

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

What are the core elements of a ubiquitous computing system?

A
  1. (Distribution) Devices are networked, distributed, and accessible in a transparent manner
  2. (Interaction) Interaction between users and devices is highly unobtrusive
  3. (Context awareness) The system is aware of a user’s context in order to optimize interaction
  4. (Autonomy) Devices operate autonomously without human intervention, and are thus highly self-managed
  5. (Intelligence) The system as a whole can handle a wide range of dynamic actions and interactions
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

What are the distinctive features of a mobile computing system?

A
  • A myriad of different mobile devices (smartphones, tablets, GPS devices, remote controls, active badges.
  • Mobile implies that a device’s location is expected to change over time ⇒change of local services, reachability, etc. Keyword: discovery.
  • Communication may become more difficult: no stable route, but also perhaps no guaranteed connectivity ⇒ disruption-tolerant
    networking.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

What are the characeristics of a sensor network?

A
  • The nodes to which sensors are attached are: Many (10s - 1000s) and they are Simple (small memory/compute/communication capacity) Often battery-powered (or even battery-less).
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
What are the three types of System models?
- Physical models: consider the types of computers and devices that constitute a system and their interconnectivity, without details of specific technologies. - Architectural models: describe a system in terms of the computational and communication tasks performed by its computational elements; the computational elements being individual computers or aggregates of them supported by appropriate network interconnections. Client-server and peer-to-peer are two of the most commonly used forms of architectural model for distributed systems. - Fundamental models take an abstract perspective in order to describe solutions to individual issues faced by most distributed systems.
26
How do physical models work?
27
How do Architectural Models work?
They work under the framework WWHP. This stands for: - Who: who is communicating? - How: How to communicate? - What: What are the roles and responsibilities? - Placement: How the processes are mapped to physical infrastructure?
28
What is Architectural Models - who?
29
What is Architectural Models - how?
30
What is Architectural Models - What?
31
What is Architectural Models - Placement?
32
What is architectural styles?
A style is formulated in terms of (replaceable) components with well-defined interfaces the way that components are connected to each other the data exchanged between components. It is also formulated in terms of how these components and connectors are jointly configured into a system.
33
What is a connector?
A mechanism that mediates communication, coordination, or cooperation among components. For Example: facilities for (remote) procedure call, messaging, or streaming.
34
What does layered Architecture look like?
35
What does Software and hardware service layers in distributed systems look like?
36
What do Two-tier and three-tier architectures look like?
37
What is two-party communication?
This is communication between two parties, usually between a server and a client.
38
What is application layering?
39
What is an example of application layering
40
What is the problem and Solution for using legacy to build middleware?
* Problem: - The interfaces offered by a legacy component are most likely not suitable for all applications * Solution: A wrapper or adapter offers an interface acceptable to a client application. Its functions are transformed into those available at the component.
41
What is the problem and Solution for using legacy to build middleware?
* Problem: - The interfaces offered by a legacy component are most likely not suitable for all applications * Solution: A wrapper or adapter offers an interface acceptable to a client application. Its functions are transformed into those available at the component.
42
How do you organise wrappers?
43
What is the problem with Developing adaptable middleware
Middleware contains solutions that are good for most applications ⇒ you may Developing adaptable middleware want to adapt its behaviour for specific applications.
44
What are the Centralized system architectures
45
What are some Multi-tiered centralized system
46
What are the Alternative organizations
47
What is Structured P2P?
48
What is Unstructured P2P?
49
What is Flooding versus random walk
50
What is Super-peer networks? These are also called Organzied P2P
51
What is Edge-server architecture?
52
What is Collaboration In terms of The BitTorrent case
53
What are the 3 fundamental models?
54
What does the basic networking model look like?
55
What are the Low- Level Layers?
56
What is the transport layer?
57
What is the Middleware Protocols
58
what does An adapted layering scheme look like?
59
What is Message-oriented middleware?
60
What is Basic RPC operation
61
What is RPC: Parameter passing
62
What is Asynchronous RPCs
63
What is Multicast RPC
64
What is Client-to-server binding (DCE)
65
What is Message-oriented middleware
66
What is a general model
67
What is a Message broker
68
What does the general architecture look like for a Message broker
69
What is an Identifier
70
What is Broadcasting
71
What is Forwarding pointers
72
What is Hierarchical Location Services (HLS)
73
What is HLS: Tree organization
74
What is HLS: Lookup operation
75
What is a Name space
76
What is a Name resolution
77
What is synchronisation
78
What is coordination
79
What is the Impact of Clock Synchronization
80
What is the Atomic Time System
81
What is UTC
82
How do Clocks in a Distributed System work?
83
What does a Perfect network look like?
84
What does a Synchronous network look like
85
What is the Berkeley algorithm?
86
What is Logical Time?
87
What is Mutual exclusion
88
What is Permission-based, centralized mutual exclusion?
89
What is Mutual exclusion: Token ring algorithm
90
What is Election algorithms
91
What is Election by bullying
92
What is Election in a ring
93
What does Graph-based Leader Election look like?
94
What is Dependability - ARMS
95
Explain Reliability versus availability
96
What are the THREE TYPES OF FAULTS
97
What are the types of failures
98
What is Dependability versus security
99
What is Halting failures
100
What is Redundancy for failure masking
101
What is Process resilience
102
What is Consensus under arbitrary failure semantics
103
What is a flooding based algorithm
104
What is Paxos?
Paxos is realistic, very difficult to implement, and very complex. Solution - Never execute an operation before it is clear that It has never been learned.
105
What is a distributed file system?
106
What is DFS: Architecture
107
What are Mechanisms for DFS
108
What is Mounting
109
What is caching?
110
What are the two types of virtulisation types?
- Full virtualization: No OS source modification - Para-virtualization: “slight” OS source modification
111
What is Full virtualization
112
What is Paravirtualization
113
What are the Hypervisor types
114
What is Type-1 Hypervisor: Xen
115
What is Type-2 Hypervisor: KVM
116
What is QEMU
117
What is QEMU
118
What is Container virtualization
119
What are Linux Containers
120
What are Docker containers
121
What are the specifications of Server/VM migration
122
How to Migrate a VM
123
What are the Virtualization challenges
124
What are the Types of cluster
125
What is Parallel programming
126
What is Cluster middleware
127
What are the Characteristics/benefits of cluster middleware
128
What is A Grid
129
What are the Types of Grid
130
Data centres (DCs): what is a server?
131
What are DCs: compact servers
132
What are the DC Components
133
Why Move to Cloud Computing?
134
How does cloud computing address economies of scale, Data centre consolidation, Improved utilisation, Improved cost efficiency
135
What are the Cloud (representative) service types
136
What is cloud stack
137
What are the Cloud stack and service types
138
What are the Cloud deployment models
139
What is RCS
140
What is availability and security in the public cloud?
141
Availability in the public cloud: why is it so important?
142
What is Perimeter-based Security
143
What is Zero-trust Security