Chapter 1 : Client Server Architecture and Web Hosting Flashcards

1
Q

What does Client/Server Model describes?

A
  1. The relationship between 2 computer programs - the client, make a service request from another program, the server , which fulfills the request
  • It is deployed on a network
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

List out types of Servers ( 5 )

A
  1. Web Servers
  2. Application Servers
  3. File Server
  4. Terminal Server
  5. Main Servers
  • Basic architecture remains the same
  • While purposes is somewhat different
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What will client face when device takes more time to access from server?

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

What is the relationship type of Client server?

A
  1. Asymmetic Relationship
  • Client predominately makes requests, server makes replies
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the relationship type of Peer-to-peer?

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

What is Three-tier Client / Server?

A
  1. Client access to both application logic and shared data through server
  • Like Customer -> Waiter -> Chef relationship
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is an example of a client-server environment?

A
  1. The Internet
  • Web browser is a client program that request services from a web server
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is a server?

A
  1. Another computer on the internet that processes clients requests
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What environment that client-server environment is replaced?

A
  1. Mainframe based environment ( Peer-to-peer Model )
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

List out 3 nodes for some network

A
  1. Client ( User Interface )
  2. Application Servers ( Software engine that delivers applications to client computer or devices and process data for the clients )
  3. Database servers ( Store data for the application server )
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is the configuration for client , application servers and database servers?

A
  1. Three-tier Architecture
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is the characteristics of a server ? ( 3 )

A
  1. Passive ( Slave )
  2. Waits for Requests
  3. Upon receipt of requests, processes them and then serves replies
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is the characteristics of a client? ( 3 )

A
  1. Active ( Master )
  2. Sends Requests
  3. Waits for and Receives Server Replies
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

List out the advantages of client server model ( 9 )

A
  1. Better security ( Data stored in servers )
  2. Control ability ( Control access to make sure only let permitted users access and change data )
  3. More flexible than P2P paradigm for updating the data
  4. Already many matured technologies designed for client-server
  5. Model which ensures security .
  6. User-friendliness of the interface and ease of use
  7. Any element of a client-server network can be easily upgraded
  8. Coupled with wireless technologies is possible
  9. Centralized - makes data management controllable
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is the disadvantages of client serer model? ( 3 )

A
  1. Traffic Congestion
  2. When a large number of clients send requests to the same server at the same time, it might cause a lot of troubles for the server
  3. When the server is down, clients request cannot be fulfilled
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Why P2P network request can always be fulfilled?

A
  1. Due to resources are usually located on nodes all over the network
  • Even one / more nodes depart or abandon the downloading, other nodes can still finish the request
17
Q

What is the advantage of an n-tier architecture? ( 2 )

A
  1. Seperates out the processing that occurs to better balance the load on the different servers
  2. More scalable
18
Q

What are the disadvantages of n-tier architectures? ( 2 )

A
  1. Puts more load on the network
  2. More difficult to program and test software than in 2 - tier architecture because more devices have to communicate to complete a user’s transaction
19
Q

Describe web hosting

A
  1. Type of internet hosting service that allows individuals and organizations to make their website accessible via the World Wide Web
  • Companies that provide space on server owned or leased for use by clients, as well as providing internet connectivity, typically in a data center
20
Q

What determine criteria of Free vs Paid Web Hosting ? ( 5 )

A
  1. Uniqueness
  2. Reliability
  3. Search Engine Ranking
  4. Bandwidth & Storage
  5. Support & Assistance
21
Q

What is the criteria for free web hosting?

A
  1. Uniqueness
    • Provide domain name that has their company name in the URL
  2. Reliability
    • Do not offer same uptime like paid web hosting
  3. Search Engine Rankings
    • Frowned upon by search engines and contribute to lower search engine rankings
  4. Bandwidth & Storage
    • Provide limited bandwidth and storage space
  5. Support & Assistance
    • Do not provide immediate support in case of any technical glitches
22
Q

What is the criteria for paid web hosting?

A
  1. Uniqueness
    • Provide personalized domain name for unique identity for businesses online
  2. Reliability
    • Guarantee 99 percent uptime
  3. Search Engine Rankings
    • Higher search engine rankings and better online visibility
  4. Bandwidth & Storage
    • Give the freedom for bueinesses to choose from a variety of packages, with different bandwidth and storage space
  5. Support & Assistance
    • 24/7 technical support via phone, email. or chat, promising peace of mind even during a crisis
23
Q

List out the factors in choosing for web hosting ( 7 )

A
  1. Operating System​
  2. Scripting languages​
  3. Databases​
  4. Single / Multiple domain support​
  5. Price​
  6. Space​
  7. Bandwidth
24
Q

What are the size for small or medium webiste?

A
  1. Between 10MB to 100MB
  • HTML files are small ( < 1KB ), the bigger size come from images, button , banner , etc.
25
Q

What factors should developer configure when web hosting? ( 2 )

A
  1. How much disk space?
  2. The need and the content of the website
26
Q

A small or medium website will consume how many data transfer per month? ( Monthly Traffic )

A
  1. 1 - 5 GB of Data
  • Calculate
    Average Page Size ( MB ) x Number of Expected Page View per month

Average Page Size = 30 KB
50000 Pages View per Month

Bandwidth = 0.03 MB x 50,000
= 1. 5 GB

27
Q

List out 2 web hosting technology

A
  1. Windows Hosting
  2. Unix
28
Q

What web hosting technology is the first ( original ) web server operating system, and it was known as reliable, stable?

A
  1. Unix
  • It is often less expensive than Windows
29
Q

What operating system that Windows Hosting runs on?

A
  1. Windows Operating System
30
Q

Why developer should choose Windows Hosting than Unix ?

A
  1. If they plan to use any other Misrosoft Software for their server
  • Hosting of web services that runs on the Unix operating system
31
Q

Why client server model provide better security than peer-to-peer servers?

A
  1. All data are stored at the servers
32
Q

Why client server model provide control ability than peer-to-peer servers?

A
  1. The server can control access to make sure only let permitted users access and change data