In the interview, I was asked to design and create AWS infrastructure using Terraform. I explained how to configure the AWS provider, create a VPC with public/private subnets, Internet Gateway, and route tables. I also described provisioning EC2 instances, setting up security groups, and configuring an Application Load Balancer.
Additionally, I discussed using variables, modules, and remote backend (S3 with DynamoDB) for state management. The interviewer also asked about the Terraform workflow (init, plan, apply, destroy) and best practices for managing environments.
Overall, it was a practical discussion focused on Infrastructure as Code and real-world AWS deployment scenarios.