Bird
0
0

An instance has a security group allowing outbound traffic on port 53 (DNS). What happens when the instance sends a DNS query?

medium📝 Predict Output Q5 of 15
AWS - Security Groups and Network ACLs
An instance has a security group allowing outbound traffic on port 53 (DNS). What happens when the instance sends a DNS query?
AThe response inbound traffic is allowed automatically due to stateful behavior
BThe response inbound traffic is blocked unless inbound rules allow port 53
COutbound rules must allow ephemeral ports for response
DDNS queries require both inbound and outbound port 53 open
Step-by-Step Solution
Solution:
  1. Step 1: Identify outbound rule effect

    Outbound port 53 is allowed, so DNS queries can be sent out.
  2. Step 2: Apply stateful behavior for inbound response

    Return inbound traffic for the query response is allowed automatically.
  3. Final Answer:

    Response inbound traffic is allowed automatically due to stateful behavior -> Option A
  4. Quick Check:

    Outbound allowed = return inbound auto-allowed [OK]
Quick Trick: Outbound allowed means return inbound traffic auto-allowed [OK]
Common Mistakes:
MISTAKES
  • Requiring inbound port 53 open for response
  • Confusing inbound and outbound rules
  • Thinking ephemeral ports must be opened manually

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes