Question 1 Only Todo.io's app servers may connect to the MySQL database on port 3306. The app servers come and go during the day, so their private IP addresses keep changing. How should the database's security group allow them in?
Choose one answer Learn it: Security group
Question 2 A security group on Todo.io's app server allows inbound HTTPS (TCP 443) from anywhere. Someone deletes all of its outbound rules. What happens to the replies the server sends to users' HTTPS requests?
Choose one answer Learn it: Security group
Question 3 Todo.io wants to block one abusive IP address from reaching its web server, while still allowing everyone else. Can it add that block to the server's security group?
Choose one answer Learn it: Security group
Question 4 What does a security group attach to?
Choose one answer Learn it: ENI (Elastic Network Interface) · Security group
Question 5 Where should Todo.io place its MySQL database inside the VPC?
Choose one answer In a private subnet, with a security group that only lets the app servers in. Correct. With no route to the internet gateway, nothing on the internet can even try to connect. The security group then narrows it to the app. In a public subnet, with a public IP, so the app can find it. Not this one. The app reaches it by private IP. A public IP only adds exposure. In a public subnet with no security group. Not this one. Every network interface has a security group, and a database should never face the internet. Outside the VPC, on the internet. Not this one. RDS databases always run inside a VPC.
Learn it: Subnet · Security group
Question 6 Todo.io's web server is in a public subnet and has a public IP, but users get a timeout on HTTPS (port 443). What should be checked first?
Choose one answer That the instance's security group allows inbound TCP 443. Correct. Security groups deny everything that isn't allowed. A missing inbound rule shows up as a timeout. That there is a NAT gateway. Not this one. NAT is for calling out from private subnets, not for being reached. That there is an outbound rule for the replies. Not this one. Security groups are stateful; replies are allowed automatically. That the instance is in a private subnet. Not this one. A private subnet would make it unreachable from the internet.
Learn it: Security group
Question 7 Todo.io's app can't connect to its RDS MySQL database: the connection times out. The password is correct. What is the most likely cause?
Choose one answer The database's security group doesn't allow inbound TCP 3306 from the app. Correct. A silent timeout is what a security group does with traffic it doesn't allow. The app's IAM role lacks permission to run SQL. Not this one. Connections to MySQL on RDS use a database username and password, and a wrong one is refused, not timed out. CloudTrail is blocking the connection. Not this one. CloudTrail only records; it never blocks. The database needs a public IP. Not this one. The app is in the same VPC and uses the private IP.
Learn it: Security group · RDS (Relational Database Service)
Question 8 A Lambda function that isn't attached to a VPC writes to DynamoDB. Which security group is involved?
Choose one answer None. With no VPC there are no security groups, and DynamoDB has none either; IAM decides. Correct. Security groups only exist on network interfaces in a VPC. The VPC's default security group. Not this one. The function isn't in the VPC. The DynamoDB table's security group. Not this one. Tables have no security groups. The NAT gateway's security group. Not this one. There is no NAT gateway on this path, and NAT gateways don't take security groups.
Learn it: DynamoDB · Security group
Question 9 What does "Security group" mean?
Choose one answer Learn it: Security group
Question 10 Which term is this? "A firewall attached to a network card, listing what traffic is allowed in and out."
Choose one answer Learn it: Security group
Question 11 Which AWS term is described by this analogy? "A bouncer standing at one particular door, holding a guest list."
Choose one answer Learn it: Security group