Troubleshooting Questions on OS and Networking asked in Cloud based Interview - GeeksforGeeks

15 Feb, 2021
This article has a Top 5 Troubleshooting questions on Operating System and Networking that will help you clear any Cloud-based Interview like AMAZON CLOUD SUPPORT ASSOCIATE AND AMAZON DevOps.
Firstly, what is troubleshooting?
Troubleshooting is basically an art, the art of taking a problem into consideration gathering pieces of information about the problem, and understanding it. Finally, analyzing it using the information and most importantly solving it.
Now, let’s start with some questions...
Troubleshoot System running Slow. The first step to this problem is understanding the reason behind this problem. Possible reasons for this problem could beProcessor related issueDisk related issueNetworking related issueHardware related issue.Checking processor: Checking the memory stat and virtual memory stat gives an idea about which process is taking how much memory.Commands can be used: 1. top  2. free  3. lscpuChecking Disk: Sometimes the disk is full which leads to a system slow and delay in the processing of other processes. Checking disk stat will give the idea about what’s coming in and what’s going out.Commands can be used: 1. df-u  2. du  3. iostat  4. lsofChecking Network: Checking the network will you an idea about which port is listening to what and display the packets that are been transmitted and received.Commands can be used: 1. tcpdump  2. iftop  3. netstat  4. tracerouteChecking Hardware and other things: Checking the hardware for any kind of physical damage and also checking system uptime will give you an idea about how long the system hasn’t shut down which.Commands can be used: 1. iscpu  2. isblk  3. ispci  4. uptimeTroubleshoot Wi-Fi connectivity is slow.Check the speed of the internet. Before jumping to any conclusion, check the speed of the internet and match it with your internet pack.Reboot your Modem and Router. Sometimes, the router gets stuck in a bad state. The problem can be fixed with a reboot.Improve your Wi-Fi Position. It is highly recommended to place your router at a higher place because in some instances thicker walls or some metals may obstruct the signal.Using QoS to fix slow internet. Dividing available bandwidth on your Wi-Fi network between applications.Try changing DNS (Domain Name Server). DNS servers are provided by your ISP. But if they are slow and overloaded, switch DNS (Available DNS options: Google Public DNS & Open DNS)Troubleshoot Device is overheating. There can be two-dimension to this problem. External factors and internal factors.External Factors:Check and clean the fans.Elevate the device for proper ventilation.Keep the device away from heat.Internal Factors:Avoid using an intense process. Prioritize your process.  Command can be used: 1. niceCheck for any kind of hardware-related issues. Commands can be used: 1. iscpu  2. isblk  3. ispci  4. uptime)Troubleshoot Running out of memoryIdentify the process causing the memory usage. Command can be used: 1. topKill or restart the process causing high memory utilization. Command can be used: 1. kill   2.systemctlC. Prioritize the process. Command can be used: 1. nice  2. reniceAdd Swap Space and extend Swap Space.Add memory physically and virtually.Troubleshoot Unable to connect to the internetLook for any physical connection cable-related issues.Check for Router light/ Restart your router.Check whether you are using the correct SSID (router name)Run Windows network troubleshooting if using Windows.Reset TCP/IPCommand can be used: netsh init ip resetFlush DNSCommand can be used: ipconfig/flushdnsRelease/ Reset IP.Command can be used: ipconfig/release ipconfig/renewReinstall network drivers.
Troubleshoot System running Slow. The first step to this problem is understanding the reason behind this problem. Possible reasons for this problem could beProcessor related issueDisk related issueNetworking related issueHardware related issue.Checking processor: Checking the memory stat and virtual memory stat gives an idea about which process is taking how much memory.Commands can be used: 1. top  2. free  3. lscpuChecking Disk: Sometimes the disk is full which leads to a system slow and delay in the processing of other processes. Checking disk stat will give the idea about what’s coming in and what’s going out.Commands can be used: 1. df-u  2. du  3. iostat  4. lsofChecking Network: Checking the network will you an idea about which port is listening to what and display the packets that are been transmitted and received.Commands can be used: 1. tcpdump  2. iftop  3. netstat  4. tracerouteChecking Hardware and other things: Checking the hardware for any kind of physical damage and also checking system uptime will give you an idea about how long the system hasn’t shut down which.Commands can be used: 1. iscpu  2. isblk  3. ispci  4. uptime
Troubleshoot System running Slow. The first step to this problem is understanding the reason behind this problem. Possible reasons for this problem could be
Processor related issueDisk related issueNetworking related issueHardware related issue.
Processor related issue
Disk related issue
Networking related issue
Hardware related issue.
Checking processor: Checking the memory stat and virtual memory stat gives an idea about which process is taking how much memory.Commands can be used: 1. top  2. free  3. lscpu
Checking processor: Checking the memory stat and virtual memory stat gives an idea about which process is taking how much memory.
Commands can be used: 
1. top  2. free  3. lscpu
Checking Disk: Sometimes the disk is full which leads to a system slow and delay in the processing of other processes. Checking disk stat will give the idea about what’s coming in and what’s going out.Commands can be used: 1. df-u  2. du  3. iostat  4. lsof
Checking Disk: Sometimes the disk is full which leads to a system slow and delay in the processing of other processes. Checking disk stat will give the idea about what’s coming in and what’s going out.
Commands can be used: 
1. df-u  2. du  3. iostat  4. lsof
Checking Network: Checking the network will you an idea about which port is listening to what and display the packets that are been transmitted and received.Commands can be used: 1. tcpdump  2. iftop  3. netstat  4. traceroute
Checking Network: Checking the network will you an idea about which port is listening to what and display the packets that are been transmitted and received.
Commands can be used: 
1. tcpdump  2. iftop  3. netstat  4. traceroute
Checking Hardware and other things: Checking the hardware for any kind of physical damage and also checking system uptime will give you an idea about how long the system hasn’t shut down which.Commands can be used: 1. iscpu  2. isblk  3. ispci  4. uptime
Checking Hardware and other things: Checking the hardware for any kind of physical damage and also checking system uptime will give you an idea about how long the system hasn’t shut down which.
Commands can be used: 
1. iscpu  2. isblk  3. ispci  4. uptime
Troubleshoot Wi-Fi connectivity is slow.Check the speed of the internet. Before jumping to any conclusion, check the speed of the internet and match it with your internet pack.Reboot your Modem and Router. Sometimes, the router gets stuck in a bad state. The problem can be fixed with a reboot.Improve your Wi-Fi Position. It is highly recommended to place your router at a higher place because in some instances thicker walls or some metals may obstruct the signal.Using QoS to fix slow internet. Dividing available bandwidth on your Wi-Fi network between applications.Try changing DNS (Domain Name Server). DNS servers are provided by your ISP. But if they are slow and overloaded, switch DNS (Available DNS options: Google Public DNS & Open DNS)
Troubleshoot Wi-Fi connectivity is slow.
Check the speed of the internet. Before jumping to any conclusion, check the speed of the internet and match it with your internet pack.Reboot your Modem and Router. Sometimes, the router gets stuck in a bad state. The problem can be fixed with a reboot.Improve your Wi-Fi Position. It is highly recommended to place your router at a higher place because in some instances thicker walls or some metals may obstruct the signal.Using QoS to fix slow internet. Dividing available bandwidth on your Wi-Fi network between applications.Try changing DNS (Domain Name Server). DNS servers are provided by your ISP. But if they are slow and overloaded, switch DNS (Available DNS options: Google Public DNS & Open DNS)
Check the speed of the internet. Before jumping to any conclusion, check the speed of the internet and match it with your internet pack.
Reboot your Modem and Router. Sometimes, the router gets stuck in a bad state. The problem can be fixed with a reboot.
Improve your Wi-Fi Position. It is highly recommended to place your router at a higher place because in some instances thicker walls or some metals may obstruct the signal.
Using QoS to fix slow internet. Dividing available bandwidth on your Wi-Fi network between applications.
Try changing DNS (Domain Name Server). DNS servers are provided by your ISP. But if they are slow and overloaded, switch DNS (Available DNS options: Google Public DNS & Open DNS)
Troubleshoot Device is overheating. There can be two-dimension to this problem. External factors and internal factors.External Factors:Check and clean the fans.Elevate the device for proper ventilation.Keep the device away from heat.Internal Factors:Avoid using an intense process. Prioritize your process.  Command can be used: 1. niceCheck for any kind of hardware-related issues. Commands can be used: 1. iscpu  2. isblk  3. ispci  4. uptime)
Troubleshoot Device is overheating. There can be two-dimension to this problem. External factors and internal factors.
External Factors:Check and clean the fans.Elevate the device for proper ventilation.Keep the device away from heat.
External Factors:
Check and clean the fans.
Elevate the device for proper ventilation.
Keep the device away from heat.
Internal Factors:Avoid using an intense process. Prioritize your process.  Command can be used: 1. niceCheck for any kind of hardware-related issues. Commands can be used: 1. iscpu  2. isblk  3. ispci  4. uptime)
Internal Factors:
Avoid using an intense process. Prioritize your process.  Command can be used: 1. nice
Avoid using an intense process. Prioritize your process.  
Command can be used: 
1. nice
Check for any kind of hardware-related issues. Commands can be used: 1. iscpu  2. isblk  3. ispci  4. uptime)
Check for any kind of hardware-related issues. 
Commands can be used: 
1. iscpu  2. isblk  3. ispci  4. uptime)
Troubleshoot Running out of memoryIdentify the process causing the memory usage. Command can be used: 1. topKill or restart the process causing high memory utilization. Command can be used: 1. kill   2.systemctlC. Prioritize the process. Command can be used: 1. nice  2. reniceAdd Swap Space and extend Swap Space.Add memory physically and virtually.Troubleshoot Unable to connect to the internetLook for any physical connection cable-related issues.Check for Router light/ Restart your router.Check whether you are using the correct SSID (router name)Run Windows network troubleshooting if using Windows.Reset TCP/IPCommand can be used: netsh init ip resetFlush DNSCommand can be used: ipconfig/flushdnsRelease/ Reset IP.Command can be used: ipconfig/release ipconfig/renewReinstall network drivers.
Troubleshoot Running out of memory
Identify the process causing the memory usage. Command can be used: 1. top
Identify the process causing the memory usage. 
Command can be used: 
1. top
Kill or restart the process causing high memory utilization. Command can be used: 1. kill   2.systemctl
Kill or restart the process causing high memory utilization. 
Command can be used: 
1. kill   2.systemctl
C. Prioritize the process. Command can be used: 1. nice  2. renice
C. Prioritize the process. 
Command can be used: 
1. nice  2. renice
Add Swap Space and extend Swap Space.
Add Swap Space and extend Swap Space.
Add memory physically and virtually.
Add memory physically and virtually.
Troubleshoot Unable to connect to the internet
Troubleshoot Unable to connect to the internet
Look for any physical connection cable-related issues.
Look for any physical connection cable-related issues.
Check for Router light/ Restart your router.
Check for Router light/ Restart your router.
Check whether you are using the correct SSID (router name)
Check whether you are using the correct SSID (router name)
Run Windows network troubleshooting if using Windows.
Run Windows network troubleshooting if using Windows.
Reset TCP/IPCommand can be used: netsh init ip reset
Reset TCP/IP
Command can be used: 
netsh init ip reset
Flush DNSCommand can be used: ipconfig/flushdns
Flush DNS
Command can be used: 
ipconfig/flushdns
Release/ Reset IP.Command can be used: ipconfig/release ipconfig/renew
Release/ Reset IP.
Command can be used: 
ipconfig/release ipconfig/renew
Reinstall network drivers.
Reinstall network drivers.
Thank You!
Computer Networks
Interview Experiences
Operating Systems
Operating Systems
Computer Networks
Writing code in comment?
Please use ide.geeksforgeeks.org,
generate link and share the link here.
RSA Algorithm in Cryptography
Differences between TCP and UDP
TCP Server-Client implementation in C
Data encryption standard (DES) | Set 1
Differences between IPv4 and IPv6
Amazon Interview Questions
Commonly Asked Java Programming Interview Questions | Set 2
Amazon Interview Experience for SDE-1 (Off-Campus)
Amazon AWS Interview Experience for SDE-1
Difference between ANN, CNN and RNN