How The Web Works (THM).2 Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

What is the first step of DNS request?

A

Comp checks local cache

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

What is step 2 of DNS request?

A

If Comp doesn’t have, request to Recursive DNS Server

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

Who provides a recursive DNS Server?

A

ISP
Yourself

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

What is step 3 of DNS request?

A

If recursive DNS server doesn’t have, request sent to root server

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

What is step 4 of DNS request?

A

Root server sends request to right TLD server.

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

What is Step 5 of DNS Request?

A

TLD server finds the authoritative DNS server.

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

What is Step 6 of DNS Request?

A

Authoritative DNS server address is sent back to Recursive DNS server

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

What is Step 7 of DNS Request?

A

DNS Record is cached at DNS Server and given a TTL

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

What is HTTP?

A

HyperText Transfer Protocol

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

What is HTTPS?

A

HyperText Transfer Protocol Secure

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

What is the purpose of HTTP?

A

Rules for communicating website data.

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

What is the purpose of HTTPS?

A

Authenticating and encrypting website data.

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

What is a URL?

A

Uniform Resource Locator

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

What are the components of a URL in order?

A

Scheme-user-host/domain-port-path-query string-fragment

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

What is the Scheme of a URL?

A

what access protocol to use

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

Give examples of URL Schemes

A

HTTP
HTTPS
FTP

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

What is the User component of a URL?

A

username/password (if required)

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

What is the Host component of a URL?

A

the domain name or IP address of the server you want to access

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

What is the Port component of a URL?

A

The port you want to connect to

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

What is the Query String portion of the URL?

A

extra info to access the right page

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

What is the Fragment component of a URL?

A

Location on requested page

22
Q

What are the different HTTP methods?

A

GET Request
POST Request
PUT Request
DELETE Request

23
Q

When an HTTP Server responds, what is on the first line?

A

HTTP Status Code

24
Q

What is an HTTP Status Code 100-199?

A

Information Response

25
Q

What is an HTTP Status Code 200-299?

A

Success

26
Q

What is an HTTP Status Code 300-399?

A

Redirection

27
Q

What is an HTTP Status Code 400-499?

A

Client Errors

28
Q

What is an HTTP Status Code 500-599?

A

Server Errors

29
Q

HTTP Status Code 200?

A

Ok

30
Q

HTTP Status Code 201?

A

Created

31
Q

HTTP Status Code 301?

A

Moved permanently

32
Q

HTTP Status Code 302?

A

Found

33
Q

HTTP Status Code 400?

A

Bad Request

34
Q

HTTP Status Code 401?

A

Unauthorized

35
Q

HTTP Status Code 403?

A

Forbidden

36
Q

HTTP Status Code 405?

A

Method Not Allowed

37
Q

HTTP Status Code 404?

A

Page Not Found

38
Q

HTTP Status Code 500?

A

Internal Service Error

39
Q

HTTP Status Code 503?

A

Service Unavailable

40
Q

What are HTTP headers?

A

Extra data for web server requests

41
Q

What are some common Request Headers?

A

Host (Domain name)
User-Agent
Content-Length
Accept-Encoding
Cookie

42
Q

What is a User-Agent Request Header?

A

Your browser software and version number (for formatting)

43
Q

What is a Accept-Encoding Request Header?

A

The compression methods your browser supports

44
Q

What is a Cookie Request Header?

A

Your data the server should remember

45
Q

What are the Common Response Headers?

A

Set-Cookie
Cache-Control
Content-Type
Content-Encoding

46
Q

What is the Set-Cookie Response Header?

A

Info stored and to be sent to web server on every access

47
Q

What is the Cache-Control Response Header?

A

How long to store response content before next request

48
Q

What is the content-encoding response header?

A

Method of compression by server

49
Q

What are some examples Content-Type Response Headers?

A

HTML
CSS
JavaScript
Images
PDF
Video

50
Q
A