interview HW Flashcards

1
Q

What is RAID?

A

Redundant Array of Independent Disks, is a storage technology that combines multiple physical disks into a single logical unit to improve data redundancy, performance, or both

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

What are some raid levels? What are their configurations?

A

RAID 0: Stripes data across multiple disks for increased performance, but offers no data redundancy.
RAID 1: Mirrors data across multiple disks for redundancy, providing fault tolerance but no performance improvement.
RAID 5: Stripes data across multiple disks with distributed parity for both performance and data redundancy.
RAID 10: Combines mirroring & striping for both redundancy and performance.

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

What are the minimum components we need to have installed for a machine to POST?

A

DIMM, CPU, MOBO, PSU

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

What is the MBR and where is it located?

A

The MBR (Master Boot Record) is a small piece of code located at the 1st sector of boot drive. It contains the boot loader and partition table information needed to boot the OS on the device. supports up to 4 primary partitions , 2 tb max

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

What is GPT?

A

GPT (GUID Partition Table, newer than MBR, supports up to 128 primary partitions, supports modern UEFI-based systems, more redundancy, supports bigger drive size

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

What are some common linux directories?

A

/boot: Contains boot loader files, kernel images, and other files required for the system to boot.
/home: Contains user home directories, where users store their personal files and settings.
/tmp: Contains temporary files created by programs and applications. Files in this directory are typically deleted upon system reboot.
/snap: Contains mounted snap packages

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

What are the Linux run levels? (0,1,2,3,4,5,6)

A

The common run levels in Linux are:

Runlevel 0: Halt/Shut down the system. The system is halted, and it is safe to power off the computer.

Runlevel 1: Single user mode. The system boots into a single-user mode with minimal services running, used for system maintenance or repair tasks.

Runlevel 2: boots to Multi-user mode without networking enabled.

Runlevel 3: Multi-user mode with networking enabled

Runlevel 4: Undefined. Customizable Config. RunLevel 5: Multi-user mode with networking and graphical user interface enabled
Runlevel 6: Reboot the system. The system is rebooted, initiating the boot process again.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Dream gaming PC Build?

A

CPU:AMD Ryzen 9 5950X
GPU: NVIDIA GeForce RTX 3090-ray tracing
RAM: 128GB DDR5 RAM
SSD:4TB Gen4 NVMe SSD
MOBO: VRM design, PCIe 4.0 support, connectivity options for future expansion
PSU: 1,000 watt titanium rated PSU
Cooling: custom liquid cooling loop, gpu & cpu water blocks
Monitor: high refresh rate, 4K monitor

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

You have a machine that posts but doesn’t boot. How would you troubleshoot this?

A

look for errors during boot on screen(ipxe looping?) (stuck at American megatrends screen?), boot to repair disk check for corrupt parts, iso test

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

Your friend has a computer that doesn’t boot up. Walk me through what your troubleshooting process would be.

A

iso test, drop to min config, float test good parts, check bios settings

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

How do you install an application on Linux?

A

depends on package manager
sudo apt-get install [package_name] (Ubuntu)
sudo dnf install [package_name] (Red Hat)

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

What are some common commands used in Linux, and what do they do?

A

chmod: Changes file permissions.
sudo: Executes a command with superuser privileges.
ls: Lists directory contents.
grep: Searches for patterns in files.

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

What is man? What does it do?

A

a command-line tool to open manual pages (documentation) for various commands, programs, and utilities installed on the system?

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

How do you add a user? What about a group?

A

sudo useradd [username]
sudo groupadd [groupname]

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

when I press the power button, tell me everything you’d expect to happen until I get a login screen?

A

POST, (tests hardware)
BIOS/UEFI (initialize hardware, locates bootloader,
BOOTLOADER EXECUTION (GRUB or systemd-boot loads the Linux kernel into memory, may give menu to for boot/kernel selection
OS Kernel Initialization (Kernel modules are loaded to support hardware devices and features)
User Space Initialization (Essential system services, such as networking, logging, and time synchronization, are initialized, graphical display manager is started
Graphical Environment:
(if GUI, display manager loads the desktop environment, graphical login prompt is displayed

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

A computer needs an OS installed but has no CD drive and you are not able to use a flash drive. How would you install a new operating system?

A

change boot order in BIOS settings and find netboot/pxe server

17
Q

You see that your logs are filled with CPU1 high temperature alerts. What next?

A

check thermal paste, check bios settings, check thermal monitor, check heatsink, check fans, float test cpu1 in cpu0 socket

18
Q

What are the benefits of using Hyper-V/virtual machines?

A

allow for a greater degree of scalability, reduced hardware costs, maximize hardware exploitation,

19
Q

How do you delete files in linux?

A

rm <filename></filename>

20
Q

How do you create a blank file?

A

touch command followed by (filename)

21
Q

How would you mount a new hard drive?

A

1)identify using fdisk -l
2) sudo mount (new disk device) (directory you want to mount it to)

22
Q

How do you check available disk space?

A

“df” command

23
Q

How to check available memory?

A

htop interface or “free” command

24
Q

What does Chmod +w do?

A

Change user permissions

25
Q

What does chmod 751 do?

A

sets file permissions so the owner has full permissions, the group has read and execute permissions, and others have execute permission only

26
Q

In Windows, how would you identify which piece of hardware might cause an intermittent problem?

A

Task Manager, event viewer for logs, config group policy hardware monitoring

27
Q

I have a piece of software that errors out with a segmentation fault when I run it. How would you find the root cause and fix this?

A

Check system memory limits, Check for updates or reinstall, run software through a debugger

28
Q

What do you do if during boot you see ‘Unable to assemble array half the disks are missing.’ on the screen in a machine running software RAID.

A

Update your RAID controller, try to recover your disks, lower partition size & rebuild RAID

29
Q

You have an intermittent fault that every now and then reboots the machine, but most of the time the computer works, what are some of the possible problems?

A

faulty PSU, faulty PSU connections, CPU temp, OS update without warning, corrupt OS

30
Q

You have a machine that is running below its usual speed/capacity. What are some of the possible problems that could be causing this?

A

low RAM availability, old hardware/ cpu, network congestion, viruses, lacking system updates

31
Q

How would you troubleshoot a computer that you just started that won’t connect to the network?

A

Check device status, network settings, Verify DHCP server status, check network cables, check NIC,

32
Q

I have a running Linux/Windows machine, and a new 8TB hard drive. I want you to install the disk and what file system types are available?

A

NTFS, exFAT, ext4, btrfs

33
Q

If I’m setting up computers for a school, what are some things I can do to lock down windows to prevent students from manipulating settings?

A

Set user administrative levels low

34
Q

SSD VS HDD

A

HDD- older tech, more prone to magnetic failure, cheaper per gb, slower data access & transfer
SSD- faster data access & transfer, smaller form factor, tend to be more reliable, more expensive

35
Q

How would you create a file that only one of your coworkers and yourself can edit?

A

chmod, add new group and add user to that group, set group policy

36
Q

How would you prevent devices from joining the network that don’t meet some security criteria? For example: How could you prevent laptops without current virus definitions from joining the network?

A

Set servers to verify current client settings prior to joining network (firewall software), lock-down network access to registered devices