Q91
Q91 A user is unable to update their package list using yum.
What could be the problem?
The user does not have sudo privileges
The repository list is incorrect
The package manager is not installed
The system is not connected to the internet
Q92
Q92 Which command is used to display system resource usage in real-time?
ps
top
df
du
Q93
Q93 What does the vmstat command do in Linux?
Displays virtual memory statistics
Displays disk usage
Displays network statistics
Displays process status
Q94
Q94 Which command is used to display a detailed report of CPU usage?
mpstat
iostat
sar
uptime
Q95
Q95 What is the purpose of the iostat command?
To report CPU utilization and I/O statistics
To display network statistics
To show system uptime
To monitor memory usage
Q96
Q96 How do you display the memory usage in a human-readable format using the free command?
free -h
free -m
free -g
free -b
Q97
Q97 How do you check the disk usage of a directory named /home/user using the du command?
du -sh /home/user
du -h /home/user
du -c /home/user
du -a /home/user
Q98
Q98 How do you display the last 100 lines of a system log file named /var/log/syslog using the tail command?
tail -100 /var/log/syslog
tail -n 100 /var/log/syslog
tail --lines=100 /var/log/syslog
tail /var/log/syslog
Q99
Q99 A user reports high CPU usage on their system.
Which command can help identify the process causing this issue?
top
free
df
ps
Q100
Q100 A system is experiencing high load average values.
What could be a likely cause?
Insufficient RAM
High I/O wait time
Low disk space
Network congestion
Q101
Q101 A user reports that their system is running out of memory.
Which command can help identify memory usage by processes?
top
free
ps aux --sort=-%mem
vmstat
Q102
Q102 Which command is used to display the IP address of a Linux system?
ifconfig
ping
traceroute
netstat
Q103
Q103 What is the purpose of the ping command in Linux?
To check disk usage
To check network connectivity
To list open ports
To configure network interfaces
Q104
Q104 Which command is used to display the routing table in Linux?
route
netstat
ping
ifconfig
Q105
Q105 What is the function of the traceroute command?
To display the path packets take to reach a network host
To monitor network traffic
To display active network connections
To check disk usage
Q106
Q106 How do you display all active network connections using the netstat command?
netstat -a
netstat -r
netstat -i
netstat -s
Q107
Q107 How do you find the IP address of the hostname "example.com" using the nslookup command?
nslookup example.com
nslookup -type=A example.com
nslookup -type=MX example.com
nslookup -type=NS example.com
Q108
Q108 How do you display network interface statistics using the ifconfig command?
ifconfig -s
ifconfig -a
ifconfig -v
ifconfig -r
Q109
Q109 A user reports that they cannot reach a website.
Which command can help determine if the network connection is working?
ifconfig
ping
route
netstat
Q110
Q110 A user cannot resolve the hostname "example.com".
Which command can help diagnose this issue?
ping
traceroute
nslookup
netstat
Q111
Q111 Which command is used to add a new user in Linux?
useradd
usermod
userdel
groupadd
Q112
Q112 What is the purpose of the passwd command?
To create a new user
To delete a user
To change a user's password
To modify user information
Q113
Q113 Which file contains user account information in Linux?
/etc/passwd
/etc/shadow
/etc/group
/etc/userinfo
Q114
Q114 What does the usermod -aG command do?
Adds a user to a group
Modifies user account information
Deletes a user
Locks a user account
Q115
Q115 How do you delete a user named "john" and remove their home directory?
userdel john
userdel -r john
userdel -d john
userdel -f john
Q116
Q116 How do you change the primary group of a user named "alice" to "developers"?
usermod -g developers alice
usermod -G developers alice
groupmod -g developers alice
usermod -aG developers alice
Q117
Q117 A user reports that they cannot change their password.
Which command can help resolve this issue?
useradd
passwd
usermod
groupadd
Q118
Q118 A user is unable to login to their account.
Which file should be checked for locked accounts?
/etc/passwd
/etc/shadow
/etc/group
/etc/login.defs
Q119
Q119 Which command is used to display disk usage in a human-readable format?
du -h
df -h
lsblk
fdisk -l
Q120
Q120 What is the purpose of the fsck command?
To check and repair file systems
To format a disk
To create partitions
To display disk usage