URLs, IP Addresses, and DNS Flashcards

1
Q

Four layers ewan

A
  1. Application Layer
  2. Transport Layer
  3. Internet Layer
  4. Network Access Layer
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

URI

A

Uniform Resource Identifier

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q
  • A ____ is a sequence of characters that identifies an
    abstract or physical resource.
  • Identifies a resource either by location or name.
A

URI

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

URN

A

Uniform Resource Name

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q
  • ____ identify a resource using a name.
  • This name has to be unique across a namespace.
A

URNs

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

URL

A

Uniform Resource Locator

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q
  • ____ are the most common way of identifying resources on the web.
  • Identifies a resource using its location.
A

URLs

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q
  • The web identifies resources by ________.
  • URLs may refer to more than 1 resource over time.
A

location

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

At minimum, URLs need a 1) ________ and 2) ________.

A
  1. Protocol
  2. Domain Name
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

https://www.google.com/
https:// -> 1) ________
www.google.com/ -> 2) ________

A
  1. Protocol
  2. Domain
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
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
12
Q
  • The name of your website
  • (costs about ₱500 - ₱2000 / year)
A

Domain Name

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

Domain Name can be further broken down into:

A

Subdomains and top-level domain

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

https://classroom.google.com/u/0/h
What is the top-level domain here?

A

com

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

https://classroom.google.com/u/0/h
What is the subdomain here?

A

classroom

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

https://www.google.com/u/0/h
What is the subdomain here?

A

www

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q
  • ________ usually designate a specific area of your site.
  • A common one is blog.somedomain.com
A

Subdomains

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

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

A

Path

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

http://www.somewebsite.com/index.html
What is the path here?

A

/index.html

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

https://www.youtube.com/watch?v=dQw4w9WgXcQ
What is the path here?

A

/watch

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q
  • Commonly found in the URL of dynamic web pages.
  • Preceded by the ? symbol.
A

Query

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

https://sais.up.edu.ph/psp/ps/?cmd=login
What is the query here?

A

?cmd=login

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q
  • ________ make up the query string.
  • ________ are key-value pairs separated by the ‘&’ symbol.
A

Parameters

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

https://sais.up.edu.ph/psp/ps/?cmd=login
What is the parameter here?

25
Q

cmd=login
Which is the key and which is the value?

A

Key: cmd
Value: login

26
Q

https://twitter.com/search?q=android&src=typd
What are the parameters here?

A

q=android
src=typd

27
Q
  • An optional part of URLs preceded by a :
  • It’s usually not explicitly included in the URL.
28
Q
  • The ____ is a type of software connection point.
  • Usually denotes a specific type of process or service.
29
Q

Give examples of common default ports

A
  • 21 File Transfer
  • 25 Simple Mail Transfer
  • 80 HTTP
  • 443 HTTPS (HTTP with TLS)
30
Q
  • Services stick to their ________ ports.
  • It’s common practice to avoid ports of well-known apps if you are deploying your own apps.
A

conventional

31
Q
  • The ________ is an internal reference to part of a page.
  • Sometimes called ‘named anchor’.
  • Marked by a # symbol.
32
Q
  • The __ provides an unreliable, connectionless delivery system used by machines in a network to communicate
  • __ is responsible for addressing within a network, encapsulating data into datagrams, and routing datagrams from source to destination.
A

Internet Protocol (IP)

33
Q
  • ___ is built on top of IP.
  • It provides a reliable, connection-oriented communication system.
34
Q

2 major versions of IP in use

35
Q
  • IP addresses are numerical addresses assigned to machines in a network.
  • They must be ________ within a particular namespace.
36
Q

True or False

In the global list of public IP addresses, there are no two machines which are assigned the same public IP addresses.

37
Q

In smaller scopes (e.g. local networks), the IP address is unique within the scope, but may share an IP address with a machine in a ________ scope.

38
Q

True or False

  • For example, your PC has a local IP address, which is unique to your home network.
  • However, your neighbor’s local network may also have a machine with the same IP address.
39
Q

Are composed of four 8-bit numbers

A

IPv4 addresses

40
Q

IPv4 has 2^32 ~ ________ combinations and ran out in 2011

A

4.3 billion

41
Q

Are composed of eight 4-digit hexadecimal numbers

A

IPv6 addresses

42
Q

IPv6 has ________ combinations
~3.4 x 10^38 combinations

43
Q
  • All machines connected to a network have an ________.
  • When we’re viewing a webpage, we’re requesting resources from a particular ________.
A

IP address

44
Q

The hierarchical naming system for resources on the Web.

A

The Domain Name System (DNS)

45
Q
  • ________ is the process of retrieving the IP address associated with a domain name.
  • google.com → 172.217.163.238
A

Domain Name Resolution

46
Q

________________ keep the DNS records.

A

Domain Name System Servers (DNS Servers)

47
Q

________ are maps of domain names to IP addresses.

A

DNS records

48
Q

The ________ is a program that is a component of a browser, OS, or other network programs.
It connects to DNS Servers to request records using the DNS protocol.

A

DNS Client

49
Q

________________ store the master copies of the DNS records.

A

Authoritative DNS Servers

50
Q

________ cache commonly requested records. If they don’t have it, they make requests to other DNS servers.

A

Recursive DNS Servers

51
Q

You need to pay a lease to a DNS registrar to add your domain name and associated IP address to the ________.

A

DNS registry

52
Q

ICANN

A

Internet Corporation for Assigned Names and Numbers

53
Q

________ is a nonprofit organization responsible for coordination and maintenance of databases related to Internet namespaces.

54
Q

The ________________ is a department under ICANN that coordinates the DNS Root, IP addressing, and other IP resources

A

Internet Assigned Numbers Authority (IANA)

55
Q
  • TLDs (Top-Level Domains) are governed by ICANN.
  • They are the ________ of a domain name and are usually descriptive of the site.
A

last segment

56
Q

2 Types of TLDs

A
  • Generic TLD
  • Country Code TLD
57
Q

Anyone can register most ________ with little restriction. They are the most common of the TLDs.

A

Generic TLDs

58
Q

TLDs restricted to a country or any dependent territory identified with a country code.

A

Country Code TLD