🌙 Dark Mode
Reliable IP Address Reachability Checker Quiz
1. What is the purpose of the Bash script in this project?
To check if devices on a network are online and responsive
To create a new network
To encrypt network traffic
2. What command does the script use to check device reachability?
ping
curl
ssh
3. What is the purpose of the `RETRIES` variable in the script?
To specify the number of ping attempts for each IP
To define the timeout for each ping attempt
To store the list of IP addresses
4. What does the `TIMEOUT` variable control in the script?
The maximum time to wait for a ping response
The number of IP addresses to check
The delay between ping attempts
5. How does the script handle intermittent connectivity issues?
By retrying ping attempts multiple times
By ignoring failed ping attempts
By increasing the timeout for each attempt
6. What is the purpose of the `IPLIST` variable in the script?
To store the path to the file containing IP addresses
To define the number of retries
To specify the timeout for ping attempts
7. What happens if an IP address fails all ping attempts?
It is marked as unreachable
The script stops running
The timeout is increased
8. What is the purpose of the `-W` flag in the `ping` command?
To specify the timeout for each ping attempt
To define the number of retries
To increase the packet size
9. What is the purpose of the `break` statement in the script?
To exit the loop if a ping attempt succeeds
To stop the script entirely
To skip the current IP address
10. What is the primary benefit of using this script?
To reliably identify unreachable devices
To encrypt network traffic
To create a new network
Submit Quiz