Week 2 - Network Services Flashcards

1
Q

What does a file transfer protocol do? (FTP)

A

Allows you to store huge files and transfer files from one computer to another using the internet

(instead of carrying around a flash drive or using remote copy tools)

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

How is FTP similar to SSH in its use?

A

For FTP a client also has to install an FTP client to access an FTP server and install software on the server

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

What is FTP primarily used for today?

A

To share web content

(like a website host provider will have an FTP connection available to easily copy files to and from your website)

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

What is SFTP?

A

Secure File Transfer Protocol

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

Why is FTP not the greatest option in terms of security?

A

It’s not super secure because it doesn’t handle data encryption

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

What does TFTP stand for?

A

Trivial File Transfer Protocol

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

How is TFTP different from FTP? (2)

A

FTP requires user authentication, TFTP doesn’t (don’t store secure files with TFTP only generic ones)

TFTP is a simpler way to transfer files than using FTP

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

What’s a popular use for TFTP?

A

To host installation files

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

What does PXE/Pixie Boot stand for?

A

Pre-boot execution

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

What does PXE allow you to do?

A

This allows you to boot into a software that’s available over the network

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

What’s a common use case for an organization that wants to install software over a network?

A

Keep OS installation files on a TFTP server so when you perform a network boot you’ll automatically be launched into the installer

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

What does NTP stand for? It’s one of the oldest protocols in use today

A

Network Time Protocol

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

What does NTP do?

A

NTP is used to keep clocks on a machine synchronized to a network

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

What are 3 options you have to setup an NTP server for your fleet?

NTP is an important network service that should be integrated into your fleet

A
  1. can use a local NTP server (your own configurations)
  2. can use a public NTP server
  3. can run your own local NTP server, have that point to a public NTP server
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is Intranet?

A

an internal network inside a company (only accessible if you’re on that company’s network)

like Smalley-Wi-Fi

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

What is a proxy server?

A

Receives the network traffic, relays the info to the company network (acts as a middleman for company privacy)

17
Q

What can proxy servers also be used for besides being an intermediary?

A

can be used to log and monitor internal company network activity

(no Facebook during work! websites are filtered from being accessed)

18
Q

What are 2 reasons why you would need to setup your own DNS servers if your ISP provides a DNS server anyway?

To tell the internet what…., To work on your…

A
  1. To tell the internet what IP address to reach your website (if you’re running a web service)
  2. To work on your server or user machines remotely (connecting to the hostname is easier than using an IP address)
19
Q

What are domain registrars?

A

Companies that provide domain names for purchase

20
Q

What are the 3 steps to setting up DNS for a website?

A
  1. Purchase a domain name from a domain registrar
  2. Store website files on your own web server or cloud host provider
  3. Setup access to location of stored website files by providing IP address to domain registrar that’s hosting DNS for you or setup your own authoritative DNS server for your website
21
Q

Why would we want DNS for our own internal computers?

A

So we can reference a computer by name instead of IP address

22
Q

What does using a host file in networking allow us to do? [DNS]

A

Host files allow us to map IP addresses to host names manually

23
Q

In Linux, our host file is called?

A

etc/hosts

24
Q

Local host is commonly used as a way to….? Linux

A

access a local web server

[the IP address at the top of etc/hosts is the computer’s]

25
Q

A DNS query first checks ….. , then our…..?

A

A DNS query first checks our local host file, then our local DNS servers

(not feasible to have a PC’s hostname on a local host file because to access the computer by hostname you’d have to change every host file on every computer in the fleet)

26
Q

What are the 3 DNS options we can use for internal networks?

A
  1. Use a local host file [dont understand why this is an option?]
  2. Setup a local DNS server
  3. Integrate DNS with a directory service
27
Q

If we properly set up DNS and DHCP server settings, how can they work together?

A

We can specify DNS server locations in our DHCP settings that let the 2 services sync up so when DHCP leases out new IP addresses, DNS updates its IP address mapping automatically (which IP address –> what name)

28
Q

What does the command nslookup do? Linux

A

gives us the name server of a host or domain name

29
Q

How do you ping a website in Linux?

A

ping www.google.com

30
Q

In summary, what are the 4 steps to troubleshoot a website not loading? [Linux]

A
  1. check network connection by pinging an online website
  2. if ok, use nslookup to verify DNS server is giving us the correct web address and copy and paste IP address it shows
  3. not ok, check the IP address that shows up in ping again and paste that IP address
  4. not ok, check local host file (sudo vim /etc/hosts) and delete line that points to fake IP address and save it, restart browser and done