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 · The core four
Level 0 questions on Networking. Read the pillar first if it's new to you.
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 11Todo.io's backend runs on Lambda. Browsers need an HTTPS address to send requests to. What should sit in front of the function?
Learn it: API Gateway
Question 12A buggy client starts sending thousands of requests a second to Todo.io's API. Which API Gateway feature protects the backend?
Learn it: API Gateway
Question 13Todo.io's API Gateway invokes its Lambda function. In Todo.io's setup, which policy says that API Gateway may invoke the function?
Learn it: API Gateway · IAM policy · Lambda
Question 14When a todo changes, Todo.io wants every open browser tab to update at once, without the browser asking again and again. What fits?
Learn it: WebSocket (API Gateway WebSocket API)
Question 15Which routes does every API Gateway WebSocket API have built in?
Learn it: WebSocket (API Gateway WebSocket API)
Question 16Todo.io's Lambda function tries to push a message to a browser by POSTing to the WebSocket API's @connections URL, and gets AccessDenied. What fixes it?
Learn it: WebSocket (API Gateway WebSocket API) · IAM policy
Question 17Todo.io wants an API with no servers to patch or scale. Which combination is the classic serverless pattern?
Learn it: API Gateway · Lambda
Question 18Which of these does API Gateway handle for Todo.io?
Learn it: API Gateway
Question 19Where does Todo.io's public API Gateway endpoint run, relative to its VPC?
Learn it: API Gateway · VPC (Virtual Private Cloud)
Question 20Hundreds of browsers hold WebSocket connections open to Todo.io. How does the backend send a message to one of them?
Learn it: WebSocket (API Gateway WebSocket API)
Question 21Todo.io's Lambda function, not attached to any VPC, swaps its DynamoDB table for an RDS MySQL database in a private subnet. Which two network changes let the function reach the database?
Learn it: Lambda · Subnet · Security group · RDS (Relational Database Service) · NAT gateway
Question 22On EC2, browsers reached Todo.io's app through the internet gateway, at the server's public IP. Todo.io moves the app to a Lambda function. What is the front door now?
Learn it: API Gateway · NAT gateway · VPC (Virtual Private Cloud) · Security group · Internet gateway
Question 23What does "Region" mean?
Learn it: Region
Question 24Which term is this? "A geographic area where AWS runs data centres, like us-east-1 (N. Virginia)."
Learn it: Region
Question 25Which AWS term is described by this analogy? "A city where AWS has its buildings."
Learn it: Region
Question 26What does "VPC (Virtual Private Cloud)" mean?
Learn it: VPC (Virtual Private Cloud)
Question 27Which term is this? "Your own private network inside an AWS Region."
Learn it: VPC (Virtual Private Cloud)
Question 28Which AWS term is described by this analogy? "A fenced-off private estate inside the city."
Learn it: VPC (Virtual Private Cloud)
Question 29What does "Subnet" mean?
Learn it: Subnet
Question 30Which term is this? "A slice of a VPC's addresses that lives in one Availability Zone."
Learn it: Subnet
Question 31Which AWS term is described by this analogy? "One street on the estate."
Learn it: Subnet
Question 32What does "Internet gateway" mean?
Learn it: Internet gateway
Question 33Which term is this? "The VPC's door to the public internet."
Learn it: Internet gateway
Question 34Which AWS term is described by this analogy? "The estate's front gate."
Learn it: Internet gateway
Question 35What does "Public IP address" mean?
Learn it: Public IP address
Question 36Which term is this? "An address the whole internet can reach."
Learn it: Public IP address
Question 37Which AWS term is described by this analogy? "A street address printed on the outside of the building."
Learn it: Public IP address
Question 38What does "Security group" mean?
Learn it: Security group
Question 39Which term is this? "A firewall attached to a network card, listing what traffic is allowed in and out."
Learn it: Security group
Question 40Which AWS term is described by this analogy? "A bouncer standing at one particular door, holding a guest list."
Learn it: Security group
Question 41What does "ENI (Elastic Network Interface)" mean?
Learn it: ENI (Elastic Network Interface)
Question 42Which term is this? "A virtual network card that gives something an address in a subnet."
Learn it: ENI (Elastic Network Interface)
Question 43Which AWS term is described by this analogy? "A phone line installed in a particular room."
Learn it: ENI (Elastic Network Interface)
Question 44What does "NAT gateway" mean?
Learn it: NAT gateway
Question 45Which term is this? "Lets things in private subnets reach out to the internet, while nothing can reach in."
Learn it: NAT gateway
Question 46Which 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
Question 47What does "API Gateway" mean?
Learn it: API Gateway
Question 48Which term is this? "A managed HTTPS front door that passes requests to your code."
Learn it: API Gateway
Question 49Which AWS term is described by this analogy? "A receptionist who takes every visitor's request and phones the right person."
Learn it: API Gateway
Question 50What does "WebSocket (API Gateway WebSocket API)" mean?
Learn it: WebSocket (API Gateway WebSocket API)
Question 51Which term is this? "An API Gateway API that keeps each browser connection open, so your backend can push messages at any time."
Learn it: WebSocket (API Gateway WebSocket API)
Question 52Which AWS term is described by this analogy? "An open phone line instead of sending letters back and forth."
Learn it: WebSocket (API Gateway WebSocket API)
Keys: 1–5 choose · Enter check, then next