The effect of the sudo iptables --policy INPUT DROP command is that it gives room for system administrators to handle incoming and outgoing traffic.
The iptables -P INPUT DROP is known to be an -P switch that places the default policy on any given chain.
When the default policy on the INPUT chain changes to DROP., it implies that an incoming packet did not match one set of the rules and as such, it will have to be dropped.
Learn more about computing resources from
https://brainly.com/question/14596532
#SPJ2