Week 9: Layer 7 Fundamentals Flashcards

1
Q

Name 2 of the four HTTP safe methods .(Safe means that it does not modify the web server)

A

a. Head - retrieves data from headers
b. Get - retrieves data from page
c. Options - retrieves HTTP methods form server
d. Trace - Echo to detect if any changes are being made in route

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

What makes them safe?

A

Info retrieval does not change the server

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

Why would you use TLS (Transport Layer Security) for communication between two hosts?

A

a. Information is encrypted and secure
b. Prevent eavesdropping and tampering
c. Does checks to make sure that packet has not changed
d. Rides on TCP

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

What protocol and port does NTP use ?

A

a. UDP

b. Port 123

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

What is calculated when NTP syncs with remote server?

A

a. Round trip delay time

b. Off-set

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

Layer 4 protocols to transport to SIP - Session Initiation Protocol or Signaling Protocol

A

a. TCP - for people who know what they are doing
b. UDP - supported by all
c. SCTP

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

Can you list three SIP request methods?

A

a. Register
b. Invite
c. Ack
d. Cancel
e. Bye
f. Options

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

What protocol and port does SMTP use?

A

TCP; Port 25

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

What three command reply sequences comprise a SMTP message?

A

a. Mail
b. Receipt - RCTP
c. Data

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

Why use SNMP?

A

Manage devices on network

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

List 3 of 7 SNMP PDU types

A

a. Can use to push configs to devices - security risk!
b. Get
c. Set
d. Get Next
e. Get Bulk
f. Response
g. Trap
h. Inform

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

Major Enhancement of SNMP V3

A

a. Community string with username and password
b. Remote enhancements
c. Optional encryption

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

What protocol and port for SSH

A

TCP; Port 22

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

Name a method for securely copying files via SSH tunnels?

A

a. SCP - Secure copy Protocol uses SSH to copy files
b. Rsync -
c. SFTP - SSH file transfer
d. FISH -Files transferred of Shell Protocol

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

What protocol and port does telnet use?

A

TCP; Port 23

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

Drawback using telnet

A

Not secure - unencrypted

17
Q

What does AAA stand for?

A

Authentication, Authorization, & Accounting

18
Q

Protocol and ports for FTP

A

a. TCP

b. 20 & 21 - 21 is the port you connect to; 20 sends the data back

19
Q

Why use FTP passive mode- Google this one!!

A

a. FTP passive mode - use when the client is behind firewall

b. Passive makes it so that data is send back on port 21 - allows return traffic

20
Q

Protocol and ports for DHCP

A

UDP; Ports 67 and 68

21
Q

List 2 of 4 phases of DHCP process

A

a. Discover
b. Offer
c. Request
d. Acknowledge

22
Q

What is RTP used for?

A

Voice and audio media - streaming

23
Q

Initial DHCP request sent?

A

Broadcast

24
Q

DNS port and protocol

A

UDP; Port 53

25
Q

What is authoritative name Server?

A

a. Other servers check in with the auth server
b. DNS records have TTL and are cached across the internet
c. Authoratative servers are the source for a zone
d. Public DNS Changes can take hours to deploy across the internet
e. Keep this in mind for cut-over plans

26
Q

DNS is everything - the entire structure of the internet

A

a. There are many applications that depend on DNS

b. Certificate Checks use DNS

27
Q

MEMORIZE COMMON PORTS - Used for ACLs,

A
Machine generated alternative text: Protocols to BlocklUnblock
 1. ICMP - Pings
 a. Echo
 b. Echo Reply
 2. TCP
 a. 21-FTP
 b. 22-SSH
 c. 23-Telnet
 d. 25-SMTP
 e. 53-DNS Server
 f. 80-HTTP
 g. 11O-POP3
 h. 143-IMAP4
 I. 443 - HTTPS
 3. UDP
 a. 53-DNS Client
 b. 69-TFTP
 c. 67 - 68 DHCP
 4. IP
 a. Jl encompassing protocols