Describe Protocol Uses and Port Numbers Flashcards

1
Q

What protocol(s) do we use when asking for a website?

A

HTTP or HTTPs

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

At the application layer, protocols are known by name, but at the transport layer, what are they known by?

A

Their associated port numbers.

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

What is the port number for HTTPs?

A

Port number 443

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

True or False? HTTP runs on port 80.

A

True

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

Regarding HTTPs, what is used to provide the encryption for it?

A

SSL (Secure Socket Layer) and TLS (Transport Layer Security)

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

Are SSL and TLS effectively the same thing?

A

Yes

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

What particular type of file are we transferring when we use HTTP/HTTPs?

A

HTML Documents

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

Regarding file transfers outside of HTML, what protocols would be used and what are their port numbers?

A

FTP (File Transfer Protocol) - Port(s) 20/21
SFTP (Secure File Transfer Protocol) - Port 22
TFTP (Trivial File Transfer Protocol) - Port 69

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

What is a Microsoft proprietary protocol used for file transfer?

A

SMB (Server Message Block) - Port 445

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

What three protocols are used to transfer emails and what ports do they run on?

A

POP3 (Post Office Protocol v3) - Port(s) 110/995

IMAP (Internet Message Access Protocol) - Port(s) 143/993

SMTP (Simple Mail Transfer Protocol) - Port(s) 25/465

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

True or false? POP3 and IMAP are used for sending email from a client to a server.

A

False, they are used for retrieving emails from a server to a client.

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

Nowadays, do we need to configure the protocols ourselves, or are they done automatically?

A

They are done automatically by email applications such as Gmail and Outlook.

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

What is LDAP used for?

A

It’s used for storing passwords and usernames on a server along with the files and other things, rather than locally on the said workstation.

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

What port does LDAP run on?

A

Port 389

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

True or False? LDAPs uses port 366.

A

False, it uses port 636.

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

Give a step-by-step process as to what would happen with LDAP being used on a server.

A

1) A username and password are entered on the clients PC.

2) LDAP checks the database to see if the credentials are authentic or not.

3) If the credentials are authentic, the server will send back a token of authenticity, allowing the client to access other files.

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

What is Dynamic Host Configuration Protocol (DHCP) responsible for?

A

Giving your workstation an IP Address when accessing a network for the first time.

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

Fill in the blanks:

IP runs at the ……… layer, therefore …… must run on the same layer.

A

network, DHCP

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

When sending a discover message, the DHCP server responds by giving an offer message. List the contents of it.

A

IP Address
Subnet Mask
Default Gateway
DNS Server

20
Q

DHCP uses which two port numbers?

A

67 and 68

21
Q

What does DNS stand for and what does it do? Give an example.

A

DNS stands for Domain Name System, and it translates a URL like google.com into an IP address to be able to transfer network information.

22
Q

What port does DNS run on?

A

Port 53

23
Q

There is a new way of transporting DNS information, explain briefly what it is.

A

It is known as DoH (DNS over HTTPS), so it uses HTTPs to transfer DNS data, and will use port 443, as that is the same port number as HTTPS.

24
Q

What utility on command prompt can be used to examine DNS?

A

NSlookup

25
Q

What is NTP used for?

A

NTP is used for synchronising clocks to a government atomic clock, depending on the region of the device.

26
Q

Event logs rely on NTP to do what?

A

To give a precise update on the event.

27
Q

What does NTP uses to accommodate different time zones?

A

Coordinated Universal Time (UTC)

28
Q

Which city does the prime meridian through, just east of London?

A

Greenwitch, England, UK

29
Q

Which city does the prime meridian through, just east of London?

A

Greenwich, England, UK

30
Q

When it is midnight in Greenwich, England, what time is it in terms of UTC?

A

0000 UTC

31
Q

Karachi is 5 hours ahead of the time in Greenwich. What time would it be in UTC when it is 17:00, assuming there is daylight savings?

A

UTC 2200

32
Q

What port number does NTP use?

A

389

33
Q

What two protocols are used for managing network devices over the command line, and what port numbers do they run on?

A

Telnet - Port 23
Secure Shell (SSH) - Port 22

34
Q

True or False? SSH is an unencrypted version of Telnet.

A

False, Telnet is an unencrypted version of SSH.

35
Q

What does the device that is being connected to via SSH become?

A

The server

36
Q

What does SMNP stand for, and what does it do?

A

Simple Network Management Protocol, and it is used to report about events that happen on a device configured to report to an SMNP server.

37
Q

When an SNMP server asks for all the information of a device with an SNMP number (MIBs), what is the message known as?

A

Walk the Tree message

38
Q

What does MIB stand for?

A

Management Information Base

39
Q

Give a brief explanation as to what an SNMP trap is.

A

An SNMP trap is when a device sends a message about an event that happened on a said device.

40
Q

What port numbers does SNMP run on?

A

161/162

41
Q

What is syslog?

A

Syslog is a utility that logs events on devices configured to a syslog server associated with that device. Note: There can be more than one device configured on a Syslog server.

42
Q

True or False? Syslog runs on port number 514.

A

True

43
Q

Fill in the blanks:

RDP stands for ………. ………….. ………….., and we may need to use it if we need to connect to a device remotely. We type in the necessary …………., and then we get sent a ……………… of the GUI (Graphical User …………….)

A

Remote Desktop Protocol, credentials, screenshot, Interface

44
Q

What port number does RDP run on?

A

Port 3389

45
Q

What protocol allows us to set up a Voice over IP phone call, or a video call between two parties?

A

H.323

46
Q

What port number does H.323 run on?

A

1720

47
Q

What does SIP stand for, what port number does it use, and what do we use it for?

A

SIP stands for Session Initiation Protocol, and we use it to transfer our voice over a VoIP phone to a voice gateway, which allows us to make calls to the rest of the network. It uses ports 5060 and 5061.