All jobs / Backend developer / Deployment Basics

Backend developer interview question · 0–1 years

A security group allows inbound port 443. Do you also need an outbound rule for the responses?

The strongest answer

No — security groups are stateful, so return traffic for an allowed connection is permitted automatically; a network ACL, by contrast, is stateless and would need both directions

Why it works

Right. Stateful means the response follows the request; NACLs are where both directions are written.

What a good answer covers

Answers that fall short

Who gets asked this

More Deployment Basics questions