Page 1 of 1

On all of your Amazon Elastic Compute Cloud (EC2) instances, your security team configures a host-based firewall to prev

Posted: Thu Jul 21, 2022 9:59 pm
by answerhappygod
On all of your Amazon Elastic Compute Cloud (EC2) instances, your security team configures a host-based firewall to prevent all outbound traffic. Exceptions to each particular criteria must be sought. You cannot use the instance metadata service until you request a new rule.

Which firewall rule should you set to your instances to enable access to instance metadata?

A. Inbound; Protocol tcp; Source [Instance's EIP]; Destination 169.254.169.254
B. Inbound; Protocol tcp; Destination 169.254.169.254; Destination port 80
C. Outbound; Protocol tcp; Destination 169.254.169.254; Destination port 80
D. Outbound; Protocol tcp; Destination 169 .254.169.254; Destination port 443