URLs, IP Addresses, and DNS Flashcards

1
Q

Layers of Web Connection

A

Application Layer
Transport Layer
Internet Layer
Network Access Layer

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

Application Layer

A

DNS Protocol and HTTP,HTTPS

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

Transport Layer

A

UDP, TCP

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

Internet Layer

A

Internet Protocol

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

Network Access Layer

A

Network Access

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

is a sequence of characters that identifies an abstract or physical resource.

A

Uniform Resource Identifier (URI)

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

Identifies a resource either by location or name.

A

Uniform Resource Identifier (URI)

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

identify a resource using a name.

A

Uniform Resource Name (URN)

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

TRUE or FALSE:

Names used by the URN could have duplicates in the same name space

A

FALSE. name has to be unique across a namespace.

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

are the most common way of identifying resources on the web.

A

Uniform Resource Locator

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

Uniform Resource Locator identifies a resource using its _____________.

A

location

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

The web identifies resources by _____________.

A

location (uses URL)

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

TRUE or FALSE:

URLs can only refer to 1 resource .

A

FALSE. URLs may refer to more than 1 resource over time.

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

At minimum, URLs need a _______ and ___________________.

A

Protocol, Domain Name

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

Provide the Protocol and Domain for this URL

https://www.google.com/

A

Protocol - https://
Domain - www.google.com/

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

Declares how the browser should communicate with the server.

A

Protocol

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

Other examples of network protocols other than http://

A

smtp://

smb://

ftp://

mongodb://

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

The name of your website

A

Domain Name

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

Domain name could be further broken down into _________ and _____________

A

Subdomains, Top-Level Domain (TLD)

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

Provide the Subdomains and TLD in this URL:

https://classroom.google.com/u/0/h

A

subdomain: classroom
tld: com

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

Refers to a file, resource, or directory in the server.

22
Q

What is the path in this URL:

http://sarai.ph/about-us

23
Q

What is the path in this URL:

https://sais.up.edu.ph/psp/ps/?cmd=login

24
Q

Commonly found in the URL of dynamic webpages. Preceded by the ? symbol.

25
Q

What is the query in this URL?

https://twitter.com/search?q=android&src=typd

A

?q=android&src=typd

26
Q

________________ make up the query string.

A

Parameters

27
Q

Parameters are ___________ separated by the ‘___’ symbol.

A

key-value pairs, &

28
Q

Give the parameter/s in this URL:

https://twitter.com/search?q=android&src=typd

A

q=android,
src=typd

29
Q

TRUE or FALSE:

Ports are optional

30
Q

Ports are preceded by a _

A

: (mykolon)

31
Q

It’s usually not explicitly included in the URL.

32
Q

is a type of software connection point.

33
Q

Usually denotes a specific type of process or service.

34
Q

Some common default ports:

A

21 File Transfer

25 Simple Mail Transfer

80 HTTP

443 HTTPS (HTTP with TLS)

35
Q

Port number for HTTP

36
Q

Port Number for HTTPS

37
Q

TRUE or FALSE:

It’s common practice to avoid ports of well-known apps if you are deploying your own apps.

38
Q

What is the port for this URL (if there’s any):

https://classroom.google.com/u/0/h

A

:443 (HTTPS)

39
Q

The __________ is an internal reference to part of a page.

40
Q

Sometimes called ‘named anchor’.

41
Q

Fragments are marked by a _ symbol

42
Q

Identify:

  1. Domain
  2. Port
  3. Query
  4. Fragment

https://www.youtube.com/watch?v=dQw4w9WgXcQ

A

Domain: www.youtube.com
Port: 443
Query: ?v=dQw4w9WgXcQ
Fragment: None

43
Q

provides an unreliable, connectionless
delivery system used by machines in a network to communicate

A

Internet Protocol (IP)

44
Q

is responsible for addressing within a network, encapsulating data into datagrams, and routing
datagrams from source to destination.

A

Internet Protocol (IP)

45
Q

is built on top of IP.

46
Q

It provides a reliable, connection-oriented communication system.

A

Transmission Control Protocol (TCP)

47
Q

2 major versions of IP in use:

48
Q

are numerical addresses assigned to
machines in a network. Must be unique within a particular namespace.

A

IP Addresses

49
Q

In the ________________________, there are no two machines which are assigned the same public IP addresses.

A

global list of public IP addresses

50
Q

IPv4 addresses are composed of _____________________

A

4 8-bit numbers