Interview Flashcards

1
Q

What is cloud computing

A

The computational power which completely resides on the cloud at all times

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

What is the cloud

A

A combination of network, hardware, storage and interface that combines and delivers cloud computing service

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

What are the main feature of cloud services?

A

Managment activities associated with software can and are easily centrilized to a central web service,

The ability to design and develop web applications which are capable of handling multiple clients at the same time

Putting an end to the need of downloading software updates by centralizing and automating the updating process of all software

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

Standard port number for http

A

80

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

Standard port number for https

A

443

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

What is DNS

A

Domain Name System, is a database that maintains the name of the website (URL) and the particular IP address it links to. explian how it works

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

In order to transfer data packets between your computer and the server it is important to have what type of connection?

A

TCP connection

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

What does HTTP means?

A

Hyper Text Transfer Protocol

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

What is HTTP

A

a stateless applicaction layer protocol for communication between distributed systems

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

Difference between IP and TCP

A

Ip obtains the address and TCP guarantees delivery of data to that address

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

How is the strcutre of an URL

A

protocol, host, port, resource path and query

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

How would you troubleshoot a slow website.

A
A. Make Fewer HTTP Requests
Use a Content Delivery Network (CDN)
Add Expires or Cache-Control Header
Gzip Components
Put Stylesheets at Top
Put Scripts at Bottom
Make JavaScript & CSS External
Reduce DNS Lookups
Minify JavaScript & CSS
 Avoid Redirects
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Q2) Explain in as much detail as possible, what happens when we enter an ip address in the browser.

A
  1. You type maps.google.com into the address bar of your browser.
  2. The browser checks the cache for a DNS record to find the corresponding IP address
  3. If the requested URL is not in the cache, ISP’s DNS server initiates a DNS query to find the IP address of the server that hosts maps.google.com.
  4. Browser initiates a TCP connection with the server.
  5. The browser sends an HTTP request to the web server.
  6. The server handles the request and sends back a response.
  7. The server sends out an HTTP response.
  8. The browser displays the HTML content (for HTML responses which is the most common).
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

How do you insert a copyright symbol on a browser page?

A

©

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

What does http 1xx codes mean?

A

Informational messages

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

What does http 2xx codes mean?

A

Sucessful messages

17
Q

What does 202 code means?

A

The request was accepted

18
Q

What does 204 code means?

A

No content

19
Q

What does 205 code means?

A

Indicates to the client to reset its document view

20
Q

What does 206 code means?

A

Indicates that the response only contains partial content

21
Q

What does http 3xx codes mean?

A

Redirection

22
Q

What does 301 code means?

A

Te resource is now located at a new URL

23
Q

What does 303 code means?

A

The resource is temporaly located at a new URL

24
Q

What does 304 code means?

A

The server has determined that the resource has not changed and the client should use its cached copy

25
Q

What does http 4xx codes mean?

A

Client error

26
Q

What does 400 code means?

A

Bad request: the request was malinformed

27
Q

What does code 401 means?

A

Unauthorized: request requires authentication

28
Q

What does code 403 means?

A

Forbidden: server has denied access to the resource

29
Q

What does code 405 means=

A

Method not Allower: Invalid http verb used in the request line

30
Q

What does code 409 means?

A

Conlfict: the server could not complete the request because the client is trying to modify a resource that is newer than the clients timestamp

31
Q

What does code 404 means?

A

Not found

32
Q

What does http 5xx codes mean?

A

Server Error

33
Q

What does code 500 means?

A

Internal server error

34
Q

What does code 501 means?

A

not implemented: the server does not yet support the requested functionality

35
Q

What does code 503 means?

A

service unavailable: this could happen if an internal system on the server has failed or the server is overloaded. Typically, the server won’t even respond and the request will timeout.

36
Q

What is the generic structure of a message in http?

A

message =
*()
CRLF
[]

= Request-Line | Status-Line
= Field-Name ‘:’ Field-Value

37
Q

What type of headers does the http message has

A

general headers, request specific headers, response specific headers and entity headers

38
Q

What does DOM means and what is it?

A

Document Object Model and is a standard that defines the accessing of documents