A cloud administrator is configuring a security group for a new production web server in the cloud environment. The server needs to be accessible from the internet to serve HTTP and HTTPS traffic. To maintain a strong security posture, which of the following rules should the administrator implement to control the ingress and egress traffic effectively?
Allow inbound on port 80 and 443 from any source. Allow outbound on ports 80, 443, and 25 to any destination.
Block all inbound traffic to ports 80 and 443 to prevent potential attacks and restrict outbound traffic to internal network addresses only.
Allow inbound on port 80 and 443 from any source. Restrict outbound to ports 80, 443, and 53 to known update and DNS service addresses.
Allow all inbound and outbound traffic to ensure uninterrupted web server operation and connectivity.