interview prep Flashcards

(40 cards)

1
Q

What command checks if a computer is online?

A

ping [IP or website]

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

What does DNS do?

A

Translates website names into IP addresses.

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

Difference between a switch and a router?

A

Switch connects devices inside a network; Router connects networks to each other or to the internet.

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

How do you see your computer’s IP in Windows?

A

ipconfig /all

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

How do you see your computer’s IP in Linux?

A

ip addr or ifconfig

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

What is the difference between TCP and UDP?

A

TCP is reliable and checks delivery; UDP is faster but doesn’t guarantee delivery.

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

What is a subnet mask?

A

Defines which part of an IP address is network vs host.

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

What is a default gateway?

A

The IP address where your device sends traffic to reach other networks.

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

Command to trace the route packets take to a server?

A

tracert (Windows) or traceroute (Linux)

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

What is a private IP address?

A

An IP used within a local network, not routable on the internet (e.g., 192.168.x.x).

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

What is a domain?

A

A central system that manages users, computers, and security on a network.

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

What is Active Directory (AD)?

A

A directory that stores users, groups, computers, and policies.

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

Command to list users in Windows?

A

net user

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

Command to reset a user password?

A

net user username *

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

Command to list groups?

A

net group

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

What is an OU (Organizational Unit)?

A

A folder in Active Directory to organize users and computers.

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

What is Group Policy?

A

Rules in AD that control users’ or computers’ behavior.

18
Q

If a user cannot log in, what should you check first?

A

Network connection, account status, domain connectivity.

19
Q

What is Kerberos?

A

A Windows protocol for secure authentication.

20
Q

How do you join a computer to a domain?

A

System settings → change computer name/domain → type domain → enter credentials.

21
Q

Command to check which user you are?

22
Q

Command to create a new user?

A

adduser username

23
Q

Command to change a user password?

A

passwd username

24
Q

Command to see files in a directory?

25
Command to change directories?
cd directory
26
Command to view contents of a file?
cat filename or less filename
27
Command to copy a file?
cp source destination
28
Command to move or rename a file?
mv source destination
29
Command to remove a file?
rm filename
30
Command to change file permissions?
chmod 755 filename
31
First step if a user cannot access the internet?
Check physical connections (cables, Wi-Fi, power).
32
How to test connectivity to the internet?
ping 8.8.8.8
33
How to test if DNS is working?
nslookup google.com
34
Where to check logs in Windows?
Event Viewer
35
Where to check logs in Linux?
/var/log/ directory or journalctl
36
How to check if a service is running in Linux?
systemctl status service
37
How to start a service in Linux?
systemctl start service
38
Difference between local login and domain login?
Local login uses only the computer’s accounts; domain login uses AD credentials.
39
How do you check your computer’s network connections?
netstat -an
40
What is a firewall’s purpose?
To block or allow traffic based on rules for security.