Quizzes · The core four

Networking

Level 0 questions on Networking. Read the pillar first if it's new to you.

  • 15 questions, from a pool of 52
  • Most have 1 correct answer of 4; some ask for 2 of 5
  • Pass line 80%

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?

Choose one answer

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?

Choose one answer

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?

Choose one answer

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?

Choose one answer

Learn it: VPC (Virtual Private Cloud)

Question 5Todo.io's app servers all sit in one subnet. Which Availability Zones does that subnet cover?

Choose one answer

Learn it: Subnet · Region

Question 6How many internet gateways can be attached to one VPC?

Choose one answer

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?

Choose one answer

Learn it: Security group

Question 8What does a security group attach to?

Choose one answer

Learn it: ENI (Elastic Network Interface) · Security group

Question 9Where should Todo.io place its MySQL database inside the VPC?

Choose one answer

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?

Choose one answer

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?

Choose one answer

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?

Choose one answer

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?

Choose one answer

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?

Choose one answer

Learn it: WebSocket (API Gateway WebSocket API)

Question 15Which routes does every API Gateway WebSocket API have built in?

Choose one answer

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?

Choose one answer

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?

Choose one answer

Learn it: API Gateway · Lambda

Question 18Which of these does API Gateway handle for Todo.io?

Choose one answer

Learn it: API Gateway

Question 19Where does Todo.io's public API Gateway endpoint run, relative to its VPC?

Choose one answer

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?

Choose one answer

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?

Choose two answers

Choose two.

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?

Choose one answer

Learn it: API Gateway · NAT gateway · VPC (Virtual Private Cloud) · Security group · Internet gateway

Question 23What does "Region" mean?

Choose one answer

Learn it: Region

Question 24Which term is this? "A geographic area where AWS runs data centres, like us-east-1 (N. Virginia)."

Choose one answer

Learn it: Region

Question 25Which AWS term is described by this analogy? "A city where AWS has its buildings."

Choose one answer

Learn it: Region

Question 26What does "VPC (Virtual Private Cloud)" mean?

Choose one answer

Learn it: VPC (Virtual Private Cloud)

Question 27Which term is this? "Your own private network inside an AWS Region."

Choose one answer

Learn it: VPC (Virtual Private Cloud)

Question 28Which AWS term is described by this analogy? "A fenced-off private estate inside the city."

Choose one answer

Learn it: VPC (Virtual Private Cloud)

Question 29What does "Subnet" mean?

Choose one answer

Learn it: Subnet

Question 30Which term is this? "A slice of a VPC's addresses that lives in one Availability Zone."

Choose one answer

Learn it: Subnet

Question 31Which AWS term is described by this analogy? "One street on the estate."

Choose one answer

Learn it: Subnet

Question 32What does "Internet gateway" mean?

Choose one answer

Learn it: Internet gateway

Question 33Which term is this? "The VPC's door to the public internet."

Choose one answer

Learn it: Internet gateway

Question 34Which AWS term is described by this analogy? "The estate's front gate."

Choose one answer

Learn it: Internet gateway

Question 35What does "Public IP address" mean?

Choose one answer

Learn it: Public IP address

Question 36Which term is this? "An address the whole internet can reach."

Choose one answer

Learn it: Public IP address

Question 37Which AWS term is described by this analogy? "A street address printed on the outside of the building."

Choose one answer

Learn it: Public IP address

Question 38What does "Security group" mean?

Choose one answer

Learn it: Security group

Question 39Which 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 40Which 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

Question 41What does "ENI (Elastic Network Interface)" mean?

Choose one answer

Learn it: ENI (Elastic Network Interface)

Question 42Which term is this? "A virtual network card that gives something an address in a subnet."

Choose one answer

Learn it: ENI (Elastic Network Interface)

Question 43Which AWS term is described by this analogy? "A phone line installed in a particular room."

Choose one answer

Learn it: ENI (Elastic Network Interface)

Question 44What does "NAT gateway" mean?

Choose one answer

Learn it: NAT gateway

Question 45Which term is this? "Lets things in private subnets reach out to the internet, while nothing can reach in."

Choose one answer

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."

Choose one answer

Learn it: NAT gateway

Question 47What does "API Gateway" mean?

Choose one answer

Learn it: API Gateway

Question 48Which term is this? "A managed HTTPS front door that passes requests to your code."

Choose one answer

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."

Choose one answer

Learn it: API Gateway

Question 50What does "WebSocket (API Gateway WebSocket API)" mean?

Choose one answer

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."

Choose one answer

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."

Choose one answer

Learn it: WebSocket (API Gateway WebSocket API)