Question 1A teammate says a subnet is public because the instances in it have public IP addresses. What actually makes a subnet public?
Learn it: Subnet · Internet gateway
Quizzes · Service
Level 0 questions on VPC. Read about it first if it's new to you.
Works with: EC2 (7), RDS (6), Lambda (5), DynamoDB (4), ECS + Fargate (3), SQS (2), API Gateway (1), IAM (1), S3 (1), CloudWatch Logs (1)
Questions and answers come in a new order every time, and every choice is explained. Your answers feed your weak spots on the exam page; they don't change your exam score.
Question 1A teammate says a subnet is public because the instances in it have public IP addresses. What actually makes a subnet public?
Learn it: Subnet · Internet gateway
Question 2Only 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?
Learn it: Security group
Question 3A 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?
Learn it: Security group
Question 4A brand-new AWS account wants to launch an EC2 instance right away, without designing a network. Where can it go?
Learn it: VPC (Virtual Private Cloud)
Question 5Todo.io's app servers all sit in one subnet. Which Availability Zones does that subnet cover?
Question 6How many internet gateways can be attached to one VPC?
Learn it: Internet gateway
Question 7Todo.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?
Learn it: Security group
Question 8What does a security group attach to?
Learn it: ENI (Elastic Network Interface) · Security group
Question 9Where should Todo.io place its MySQL database inside the VPC?
Learn it: Subnet · Security group
Question 10Servers in Todo.io's private subnets must download updates from the internet, but must not be reachable from it. Where does the NAT gateway go?
Learn it: NAT gateway
Question 11Where does Todo.io's public API Gateway endpoint run, relative to its VPC?
Learn it: API Gateway · VPC (Virtual Private Cloud)
Question 12Todo.io attaches its Lambda function to the VPC so it can reach the MySQL database in a private subnet. Since then, the function's calls to SQS time out. IAM allows sqs:SendMessage. What fixes it?
Learn it: NAT gateway · Lambda · IAM policy · ENI
Question 13Todo.io stopped and started its web server overnight. Now users can't reach it at the public IP address they had. What happened?
Learn it: Public IP address
Question 14An EC2 instance sits in a private subnet with no NAT gateway. It needs to download a software update from the internet. What happens?
Learn it: NAT gateway · Subnet
Question 15Todo.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?
Learn it: Security group
Question 16What does each Fargate task get in Todo.io's VPC?
Learn it: ECS and Fargate · ENI
Question 17Todo.io's Fargate tasks run in private subnets. Their IAM permissions are correct, but every call they make to SQS times out. What fixes it?
Learn it: NAT gateway · IAM policy
Question 18Todo.io creates a new Lambda function and doesn't attach it to any VPC. Can it call DynamoDB?
Question 19When should Todo.io attach a Lambda function to its VPC?
Learn it: Lambda
Question 20Todo.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?
Learn it: Security group · RDS (Relational Database Service)
Question 21Todo.io is creating a single-AZ RDS database, but its DB subnet group must include subnets in at least two Availability Zones. Why?
Learn it: RDS (Relational Database Service) · Subnet
Question 22Unlike DynamoDB, where does an Amazon RDS database run?
Learn it: RDS (Relational Database Service) · VPC (Virtual Private Cloud)
Question 23Todo.io's app on EC2, in a public subnet, calls DynamoDB. Which way does the request travel?
Learn it: VPC (Virtual Private Cloud) · DynamoDB · Internet gateway
Question 24Todo.io wants traffic from its VPC to DynamoDB to stay off the internet, without paying extra for it. What should it add?
Learn it: VPC (Virtual Private Cloud) · DynamoDB · NAT gateway
Question 25A Lambda function that isn't attached to a VPC writes to DynamoDB. Which security group is involved?
Learn it: DynamoDB · Security group
Question 26Is Amazon S3 inside Todo.io's VPC?
Learn it: VPC (Virtual Private Cloud) · S3
Question 27An EC2 instance in a public subnet sends its log lines to CloudWatch Logs. Which way do they travel?
Learn it: VPC (Virtual Private Cloud) · CloudWatch Logs
Question 28What does "VPC (Virtual Private Cloud)" mean?
Learn it: VPC (Virtual Private Cloud)
Question 29Which term is this? "Your own private network inside an AWS Region."
Learn it: VPC (Virtual Private Cloud)
Question 30Which AWS term is described by this analogy? "A fenced-off private estate inside the city."
Learn it: VPC (Virtual Private Cloud)
Question 31What does "Subnet" mean?
Learn it: Subnet
Question 32Which term is this? "A slice of a VPC's addresses that lives in one Availability Zone."
Learn it: Subnet
Question 33Which AWS term is described by this analogy? "One street on the estate."
Learn it: Subnet
Question 34What does "Internet gateway" mean?
Learn it: Internet gateway
Question 35Which term is this? "The VPC's door to the public internet."
Learn it: Internet gateway
Question 36Which AWS term is described by this analogy? "The estate's front gate."
Learn it: Internet gateway
Question 37What does "Public IP address" mean?
Learn it: Public IP address
Question 38Which term is this? "An address the whole internet can reach."
Learn it: Public IP address
Question 39Which AWS term is described by this analogy? "A street address printed on the outside of the building."
Learn it: Public IP address
Question 40What does "Security group" mean?
Learn it: Security group
Question 41Which term is this? "A firewall attached to a network card, listing what traffic is allowed in and out."
Learn it: Security group
Question 42Which AWS term is described by this analogy? "A bouncer standing at one particular door, holding a guest list."
Learn it: Security group
Question 43What does "ENI (Elastic Network Interface)" mean?
Learn it: ENI (Elastic Network Interface)
Question 44Which term is this? "A virtual network card that gives something an address in a subnet."
Learn it: ENI (Elastic Network Interface)
Question 45Which AWS term is described by this analogy? "A phone line installed in a particular room."
Learn it: ENI (Elastic Network Interface)
Question 46What does "NAT gateway" mean?
Learn it: NAT gateway
Question 47Which term is this? "Lets things in private subnets reach out to the internet, while nothing can reach in."
Learn it: NAT gateway
Question 48Which AWS term is described by this analogy? "A one-way turnstile at the gate. Staff can go out, strangers can't walk in."
Learn it: NAT gateway
Keys: 1–4 choose · Enter check, then next