Application Layer - CH 2 (EXAM 1) Flashcards

1
Q

What is the application layer?

A

software enabling users to interact with the network and accomplish tasks

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

What are the 4 components (logic) of the layer?

A

presentation, application, data access, data storage

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

What is host-based architecture?

A

server that is server-based

server has all 4 logics

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

What are the advantages of host-based architecture?

A

simple, single point of control

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

What are the disadvantages of host-based architecture?

A

host (server) can be a bottleneck

upgrades are expensive

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

What is client-based architecture?

A

client contains presentation, application, and data access logic

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

What are the advantages of client-based architecture

A

hardware and applications are less expensive

simple architecture

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

What are the disadvantages of client-based architecture?

A

data must travel back and forth between client and server

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

What are the 2 types of client-server architecture?

A

thin and thick client

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

What is a thick client?

A

client has presentation and application logic

server has data access and data storage

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

What is a thin client?

A

client has presentation logic

server has application, data access, and data storage

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

What are the advantages of client-server architecture?

A

more efficient because of distributed processing

allows hardware and software from vendors to speak together

less bandwith

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

What are the disadvantages of client-server architecture?

A

challenges in configuring different hardware and software from different vendors

middleware required (sometimes)

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

What is middleware?

A

software acts as a middleman by sitting between client and server applications

manages message transfers

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

What are the advantages of client-server architecture?

A

load balancing, more scalable

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

What are the disadvantages of client-server architecture?

A

each tier increases network load

more complex to develop applications

17
Q

What is peer-to-peer architecture?

A

no middleware

all devices act as client and server (4 logics in each)

18
Q

What are the advantages of peer-to-peer architecture?

A

resilient to failure
data stored anywhere on network
distributes bandwith requirements

19
Q

What are the disadvantages of peer-to-peer architecture?

A

security and finding data

20
Q

What is cloud computing?

A

enabling access to computing services over the network

models define who manages each application function and software/hardware

21
Q

What are the 3 types of cloud computing models?

A

SaaS
PaaS
IaaS

22
Q

What is SaaS?

A

all app components and hardware/software are outsourced

ex: salesforce

23
Q

What is PaaS?

A

app and data logic managed internally

ex: Azure

24
Q

What is IaaS?

A

all hardware is OUTSOURCED

25
Q

What criteria should be followed when choosing architecture?

A

infrastructure (server client and circuit costs), dev costs (software), scalability (growing or decreasing)

26
Q

What are the email protocols?

A

mail transfer agent (MTA)
mail server software (postfix)

mail user agent (MUA)
mail client software (outlook, gmail)

SMTP
sending messages to a MTA

IMAP /POP
used by a MUA to retrieve messages from MTA

ASCII
standard to encode characters

27
Q

What are the steps of sending an email?

A

message sent through 2 tier thick client

sending client -> senders mail server (SMTP)

seners mail server -> reveivers mail server (SMTP)

message in receivers mail server (mailbox)

receiving client -> receivers mail server (IMAP / POP)

receivers mail server -> receiving client (IMAP / POP)

28
Q

Email in an SMTP packet

A

header and body

plain text, NO attachments

29
Q

What is MIME?

A

supports attachments and non ASCII characters

30
Q

Other app layer protocols

A
FTP
SSH
IRC
XMPP
DNS