The Internet Flashcards

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

What is the difference between an intranet and an extranet?

A

An intranet is used for communication within an organisation, high security

An extranet allows some connections outside of the organisation, but is not available to the public

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

What is a Network Address Translation table?

A

A table used to match the private IP addressed on a network with public IP addresses

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

How do you determine if two computers are on the same subnet?

A

AND subnet mask with computer A’s IP
AND subnet mask with computer B’s IP
compare results (network IDs)
If they are the same, they are on the same subnet

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

What the Dynamic Host Configuration Protocol (+ purpose)?

A

A protocol for assigning dynamic IP addresses to devices on a network, so that unused IP’s can be put back into the IP pool to allow more devices to connect to the network

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

What is a Regional Internet Registry, IANA and NRO?

A

An organisation that controls and assigns Internet addresses in a region which they are provided by The Internet Assigned Numbers Authority (IANA). The 5 RIRs combined to form the Number Resource Organization

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

What is the difference between a router and a gateway?

A

A router connects two or more computer networks

A gateway connects two or more computer networks using different protocols

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

How does a gateway deal with packets using different protocols?

A

Strips the header of each packets and replaces it with a new one

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

How does packet switching work?

A

Split a message into packets, each with a destination address and a sequence number. Dispatch the packets though the internet with a router, with each subsequent router forwarding them. Reassemble packets when they reach their destination.

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

Explain the two techniques used by a firewall to examine incoming data

A

Packet Filtering -
Examine the headers of packets, including port, destination etc.

Stateful Inspection -
Examine the actual data of packets to check for malicious code

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

Explain the steps in sending and receiving a message using asymmetric encryption + how a digital signature is created and verified

A

Sender -
Digest calculated with hash algorithm
Encrypt digest with senders private key, this is the digital signature
Append digital signature to message
Encrypt with receiver’s public key

Receiver -
Decrypt message with receiver’s private key
Decrypt digital signature with sender’s public key
Rehash message to get digest
If the calculated digest and the received digest are the same, the message is authentic

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

What is the difference between a virus and a worm?

A

A virus needs human action to spread, a worm does not

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

What is the difference between a trojan and a worm?

A

A trojan does not self replicate

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

What does the application layer of the TCP/IP stack do (+ protocol example)?

A

Selects the appropriate protocol for communication and interact with the user (HTTP, FTP, POP3, IMAP, SMTP)

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

What does the transport layer of the TCP/IP stack do (+ protocol example)?

A

Establishes end to end communication, error control, packet switching, choosing port number (TCP, UDP)

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

What does the network layer of the TCP/IP stack do (+ protocol example)?

A

Supplies IP addresses for source and destination, packet routing (IP)

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

What does the link layer of the TCP/IP stack do (+ protocol example)?

A

Controls hardware responsible for interaction with transmission medium(MAC )

17
Q

What are some features of a MAC address?

A

It is in hexadecimal and determined on manufacture

18
Q

Difference between TCP and UDP

A

TCP requires prior establishing of data paths before transmission, UDP does not care whether or not packets reach their destination (used for streaming).

19
Q

Why is HTTPS used instead of HTTP?

A

HTTPS is used for secure transactions such as on banking websites

20
Q

What is an API?

A

A set of protocols with determine how 2 applications can interact with each other

21
Q

What is a WebSocket?

A

A set of rules that creates a persistent connection between 2 computers over a network to enable real time collaboration

22
Q

What functions should a database or content management API have?

A

Create, Read, Update and Delete

23
Q

What is REST (+ REST API)?

A

Allows JavaScript to talk to a server using HTTP. REST APIs are run on a server and called by JavaScript code in a browser

24
Q

Differences between JSON and XML

A

JSON syntax is easier to read
JSON has smaller file size
XML has more features

XML has to be parsed using an XML parser, JSON can be parsed in JavaScript

25
Q

How does REST enable CRUD to be mapped to database functions using SQL?

A

GET - SELECT
POST - INSERT
DELETE - DELETE
PUT - UPDATE