Interview Prep/Real-World Interview/Secrets, security & access

How did you handle network security in your project?

IntermediateBehavioralSecrets, security & access
Answer

Good answer looks like → "Private subnets for nodes and databases, public subnets only for load balancers and NAT. Security groups referencing other security groups rather than CIDRs. RDS only accepted connections from the node security group (later from pod security groups for specific services). Default-deny NetworkPolicies in each namespace with explicit allows. VPC endpoints for S3, ECR and Secrets Manager."

Follow-ups to expect → How did you debug a NetworkPolicy blocking traffic? Why VPC endpoints?

Red flags → Databases in public subnets "with a strong password".

All Real-World Interview questions Roadmap: Interview readiness

More on Secrets, security & access