Question 1 Todo.io may only run in us-east-1 and eu-west-1, in every account, now and in future accounts. What enforces that?
Choose one answer An SCP attached to the organization's root, at the top of the tree, that denies requests outside those two Regions. Correct. A preventive guardrail at the top of the tree covers every member account, including ones created later. (As always, SCPs skip the management account.) Global services such as IAM are left out of a Region rule. An IAM policy on every user and role that only allows those Regions. Not this one. Anyone who can edit IAM policies can remove it, and every new user or role needs it added. An AWS Config rule that flags resources in other Regions. Not this one. Config reports after the fact. The requirement says it may only run there. Deleting the default VPC in every other Region. Not this one. Many services don't need a VPC at all, and anyone can create a new VPC.
Learn it: SCP (service control policy) · Controls (guardrails) · Region
Question 2 Todo.io created an IAM role while the console was set to us-east-1. Can an app running in eu-west-1 use the role?
Choose one answer Yes. IAM is global, so roles aren't tied to a Region. Correct. A few services, IAM among them, are global. Most others, like RDS, are regional. No. The role only exists in us-east-1. Not this one. That's true of most services, but not of IAM. Only after the role is copied to eu-west-1. Not this one. There is nothing to copy; the same role works in every Region. Only if the app signs in through IAM Identity Center. Not this one. Apps use roles directly. Identity Center is for people.
Learn it: IAM (Identity and Access Management) · Region
Question 3 Todo.io's app servers all sit in one subnet. Which Availability Zones does that subnet cover?
Choose one answer Learn it: Subnet · Region
Question 4 A teammate created Todo.io's RDS database while the console was set to eu-west-1. The app runs in us-east-1 and can't find the database. Why?
Choose one answer Learn it: Region · Set up AWS: Wrong Region
Question 5 Todo.io created its Todos table in us-east-1. An app in eu-west-1 calls DynamoDB in eu-west-1 and gets ResourceNotFoundException. Why?
Choose one answer Tables are regional: Todos only exists in us-east-1. Correct. Call the us-east-1 endpoint, or copy the data across Regions (later levels). IAM blocks calls between Regions. Not this one. IAM is global, and this is "not found", not "denied". DynamoDB tables only exist in us-east-1. Not this one. You can create tables in any Region; this one was created in us-east-1. The table is still copying to eu-west-1. Not this one. Nothing is copied between Regions unless you set it up.
Learn it: Region · DynamoDB
Question 6 Todo.io looks in CloudTrail Event history in us-east-1 for a call made in eu-west-1, and can't find it. Why?
Choose one answer Event history is kept per Region; switch the console to eu-west-1 to see it. Correct. A multi-Region trail collects every Region in one place. Calls made in eu-west-1 aren't recorded. Not this one. They are recorded, in eu-west-1. Event history only records global services. Not this one. It records management events from regional services too. Events are deleted after one day. Not this one. Event history keeps 90 days.
Learn it: CloudTrail · Region
Question 7 Todo.io turned on AWS Config in us-east-1 only. Resources in eu-west-1 aren't being recorded. Why?
Choose one answer Config records per Region; it has to be turned on in every Region Todo.io uses. Correct. Control Tower does this for you in the Regions it governs. Config is global, so this must be a bug. Not this one. Config is regional. Config doesn't work in eu-west-1. Not this one. It works in every commercial Region. Config needs CloudTrail to be on first. Not this one. They are separate services.
Learn it: AWS Config · Region
Question 8 What does "Region" mean?
Choose one answer Learn it: Region
Question 9 Which term is this? "A geographic area where AWS runs data centres, like us-east-1 (N. Virginia)."
Choose one answer Learn it: Region
Question 10 Which AWS term is described by this analogy? "A city where AWS has its buildings."
Choose one answer Learn it: Region
Question 11 A 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 12 Where does Todo.io's public API Gateway endpoint run, relative to its VPC?
Choose one answer Outside the VPC, as a managed AWS service with its own public endpoint. Correct. Like DynamoDB and SQS, it is a public AWS service. It doesn't need your subnets or a NAT gateway. Inside one of the VPC's public subnets. Not this one. API Gateway doesn't run in your subnets. Inside a private subnet, reached through a NAT gateway. Not this one. NAT is for things inside the VPC calling out, not for a public front door. On an EC2 instance that Todo.io launches. Not this one. It is fully managed; there is no instance to launch.
Learn it: API Gateway · VPC (Virtual Private Cloud)
Question 13 Unlike DynamoDB, where does an Amazon RDS database run?
Choose one answer Inside your VPC, in your subnets, with security groups deciding who can connect. Correct. DynamoDB is reached through a public AWS endpoint instead. Outside the VPC, behind a public AWS endpoint. Not this one. That describes DynamoDB. Only in your own data centre. Not this one. RDS runs in AWS. Inside the Lambda function that uses it. Not this one. Databases run on their own; functions connect to them.
Learn it: RDS (Relational Database Service) · VPC (Virtual Private Cloud)
Question 14 Todo.io's app on EC2, in a public subnet, calls DynamoDB. Which way does the request travel?
Choose one answer Out through the internet gateway to DynamoDB's public AWS endpoint. Correct. DynamoDB isn't inside your VPC. A gateway endpoint (Level 1) can keep this traffic off the internet. Straight to the table inside the VPC. Not this one. Tables don't live in your VPC. Through the RDS database. Not this one. RDS and DynamoDB are unrelated. Through an SQS queue. Not this one. Queues pass messages between your own components.
Learn it: VPC (Virtual Private Cloud) · DynamoDB · Internet gateway
Question 15 Todo.io wants traffic from its VPC to DynamoDB to stay off the internet, without paying extra for it. What should it add?
Choose one answer A VPC gateway endpoint for DynamoDB. Correct. Gateway endpoints (for DynamoDB and S3) add a route to the service that never leaves AWS, and cost nothing. A NAT gateway. Not this one. A NAT gateway costs per hour and per GB, and the traffic still goes out to the public endpoint. A public IP on every instance. Not this one. That puts more traffic on the internet, not less. Move the table into the VPC. Not this one. DynamoDB tables can't be placed in a VPC.
Learn it: VPC (Virtual Private Cloud) · DynamoDB · NAT gateway
Question 16 Is Amazon S3 inside Todo.io's VPC?
Choose one answer No. S3 is a public AWS service; traffic reaches it through the internet gateway, a NAT gateway or a gateway endpoint. Correct. Like DynamoDB and SQS, S3 sits outside every customer VPC. Yes. Each subnet has its own copy of every bucket. Not this one. Buckets live in a Region, not in subnets. Only in private subnets. Not this one. S3 isn't in any of your subnets. Only Lambda can reach S3. Not this one. Anything with permission and a network path can.
Learn it: VPC (Virtual Private Cloud) · S3
Question 17 An EC2 instance in a public subnet sends its log lines to CloudWatch Logs. Which way do they travel?
Choose one answer Out through the internet gateway to CloudWatch Logs' public AWS endpoint. Correct. Like SQS and DynamoDB, CloudWatch Logs is a public AWS service, not something inside the VPC. They stay inside the VPC; CloudWatch Logs runs in every subnet. Not this one. It runs outside every customer VPC. Through the RDS database. Not this one. Logs don't pass through databases. Through an SQS queue. Not this one. The agent sends straight to CloudWatch Logs.
Learn it: VPC (Virtual Private Cloud) · CloudWatch Logs
Question 18 On 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 19 Todo.io needs SQL reports with joins, so it moves its todos from DynamoDB to RDS MySQL. DynamoDB lived outside the VPC. Where does the new database go?
Choose one answer Inside the VPC, in private subnets, with a security group that only lets the app in. Correct. RDS runs inside your VPC, unlike DynamoDB. Databases go in private subnets with no route to the internet. Outside the VPC, like DynamoDB: RDS is a public AWS service too. Not this one. RDS runs inside your VPC, in your subnets. That's one of the biggest differences from DynamoDB. In a public subnet, so the app can reach it over the internet. Not this one. A database should never have a route to the internet. The app reaches it inside the VPC. Outside the VPC, reached through a free gateway endpoint. Not this one. Gateway endpoints exist only for S3 and DynamoDB, and RDS lives inside the VPC anyway.
Learn it: RDS (Relational Database Service) · Subnet · VPC (Virtual Private Cloud)
Question 20 Todo.io moves "update the monthly stats" out of its API function and into a worker, with an SQS queue between them. What should the API function's execution role gain?
Choose one answer sqs:SendMessage on that queue's ARN.Correct. Sending is an AWS API call approved by IAM. Least privilege: only the action the job needs, only on the queue it uses. sqs:* on *, so it keeps working if more queues are added.Not this one. That allows every SQS action on every queue in the account. Least privilege means the one action on the one queue. Nothing: open port 443 on the queue's security group instead. Not this one. SQS is a public AWS service outside your VPC, with no security group. IAM decides who may send. Nothing: an account's functions may send to its queues by default. Not this one. A function can do only what its execution role allows. Without the permission, SendMessage fails with AccessDenied.
Learn it: SQS (Simple Queue Service) · Lambda · IAM policy · VPC (Virtual Private Cloud)
Question 21 What does "VPC (Virtual Private Cloud)" mean?
Choose one answer Learn it: VPC (Virtual Private Cloud)
Question 22 Which term is this? "Your own private network inside an AWS Region."
Choose one answer Learn it: VPC (Virtual Private Cloud)
Question 23 Which 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 24 A 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 25 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 26 An EC2 instance sits in a private subnet with no NAT gateway. It needs to download a software update from the internet. What happens?
Choose one answer Learn it: NAT gateway · Subnet
Question 27 Todo.io is creating a single-AZ RDS database, but its DB subnet group must include subnets in at least two Availability Zones. Why?
Choose one answer So a standby in another Availability Zone can be added later without rebuilding. Correct. RDS insists on two AZs up front, even if you only use one today. Because the data is split across both AZs. Not this one. A single-AZ database keeps its data in one AZ. Because it is cheaper. Not this one. The subnet group costs nothing either way. So the database gets a public IP. Not this one. Public access is a separate setting, and a bad idea here.
Learn it: RDS (Relational Database Service) · Subnet
Question 28 Todo.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 29 What does "Subnet" mean?
Choose one answer Learn it: Subnet
Question 30 Which term is this? "A slice of a VPC's addresses that lives in one Availability Zone."
Choose one answer Learn it: Subnet
Question 31 Which AWS term is described by this analogy? "One street on the estate."
Choose one answer Learn it: Subnet
Question 32 How many internet gateways can be attached to one VPC?
Choose one answer Learn it: Internet gateway
Question 33 What does "Internet gateway" mean?
Choose one answer Learn it: Internet gateway
Question 34 Which term is this? "The VPC's door to the public internet."
Choose one answer Learn it: Internet gateway
Question 35 Which AWS term is described by this analogy? "The estate's front gate."
Choose one answer Learn it: Internet gateway
Question 36 Todo.io stopped and started its web server overnight. Now users can't reach it at the public IP address they had. What happened?
Choose one answer Learn it: Public IP address
Question 37 What does "Public IP address" mean?
Choose one answer Learn it: Public IP address
Question 38 Which term is this? "An address the whole internet can reach."
Choose one answer Learn it: Public IP address
Question 39 Which 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 40 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 41 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 42 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 43 What does a security group attach to?
Choose one answer Learn it: ENI (Elastic Network Interface) · Security group
Question 44 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 45 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 46 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 47 What does "Security group" mean?
Choose one answer Learn it: Security group
Question 48 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 49 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
Question 50 Todo.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?
Choose one answer Learn it: NAT gateway · Lambda · IAM policy · ENI
Question 51 What does each Fargate task get in Todo.io's VPC?
Choose one answer Learn it: ECS and Fargate · ENI
Question 52 What does "ENI (Elastic Network Interface)" mean?
Choose one answer Learn it: ENI (Elastic Network Interface)
Question 53 Which 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 54 Which 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 55 Servers 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 56 Todo.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?
Choose one answer A NAT gateway in a public subnet, with the private subnets routing 0.0.0.0/0 to it. Correct. SQS is a public AWS service. From a private subnet, traffic needs a way out. (VPC endpoints are another fix, in a later level.) An outbound rule in the task's security group. Not this one. Security groups allow outbound traffic by default; the problem is the missing route. A public IP on each task, left in the private subnet. Not this one. A public IP is useless without a route to the internet gateway. More permissions on the task role. Not this one. A permission problem returns AccessDenied, not a timeout.
Learn it: NAT gateway · IAM policy
Question 57 What does "NAT gateway" mean?
Choose one answer Learn it: NAT gateway
Question 58 Which 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 59 Which 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 60 Todo.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 61 A buggy client starts sending thousands of requests a second to Todo.io's API. Which API Gateway feature protects the backend?
Choose one answer Throttling: a rate limit that rejects excess requests before they reach the backend. Correct. Extra requests get HTTP 429 (Too Many Requests) and never reach Lambda or the database. Logging every request to CloudTrail. Not this one. CloudTrail records AWS API calls; it doesn't stop anything. A WebSocket API. Not this one. That keeps connections open; it doesn't limit how many requests arrive. A longer Lambda timeout. Not this one. That makes each request last longer, which is worse under a flood.
Learn it: API Gateway
Question 62 Todo.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 A resource-based policy on the function. Correct. It lives on the function and names the caller (apigateway.amazonaws.com): who may use this resource. The function's execution role. Not this one. The execution role says what the function may do, not who may call it. An SCP on the account. Not this one. SCPs only cap permissions; they never grant them. A security group on the function. Not this one. Security groups filter network traffic. Invoking a function is an AWS API call, decided by IAM.
Learn it: API Gateway · IAM policy · Lambda
Question 63 Todo.io wants an API with no servers to patch or scale. Which combination is the classic serverless pattern?
Choose one answer API Gateway → Lambda → DynamoDB. Correct. Every piece is managed and scales on its own; you pay for requests, not idle servers. EC2 → RDS. Not this one. Both run on servers you size, and EC2 you also patch. API Gateway → EC2 → RDS. Not this one. EC2 still means servers to manage. SQS → CloudWatch Logs. Not this one. That is a queue and a log store; neither serves an API.
Learn it: API Gateway · Lambda
Question 64 Which of these does API Gateway handle for Todo.io?
Choose one answer The HTTPS endpoint, throttling and authorisation, before requests reach the backend. Correct. It is the front door; your code behind it does the actual work. Storing the todos. Not this one. Data lives in a database such as DynamoDB or RDS. Running the business logic. Not this one. That runs in the backend, usually Lambda. Patching the backend's servers. Not this one. With Lambda there are none; with EC2 that is still your job.
Learn it: API Gateway
Question 65 What does "API Gateway" mean?
Choose one answer Learn it: API Gateway
Question 66 Which term is this? "A managed HTTPS front door that passes requests to your code."
Choose one answer Learn it: API Gateway
Question 67 Which 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 68 When 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 69 Which routes does every API Gateway WebSocket API have built in?
Choose one answer $connect, $disconnect and $default.Correct. They run when a browser connects, when it disconnects, and for any message no other route matches. Each can call Lambda or an HTTP backend. GET, POST, PUT and DELETE. Not this one. Those are HTTP methods, used by REST APIs. /login and /logout.Not this one. Those would be routes you design yourself. $open, $close and $message.Not this one. The names are $connect, $disconnect and $default.
Learn it: WebSocket (API Gateway WebSocket API)
Question 70 Todo.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 Allow execute-api:ManageConnections in the function's execution role. Correct. Pushing to a connection is an AWS API call, so IAM must allow it like any other. Open port 443 in the function's security group. Not this one. AccessDenied is an IAM answer. A network problem would time out instead. Enable CORS on the API. Not this one. CORS is about browsers calling across websites. This call comes from Lambda. Give the browser an IAM role. Not this one. The browser is the receiver here, and app users are never IAM principals.
Learn it: WebSocket (API Gateway WebSocket API) · IAM policy
Question 71 Hundreds of browsers hold WebSocket connections open to Todo.io. How does the backend send a message to one of them?
Choose one answer By its connection id, which API Gateway gave that connection when it opened. Correct. The backend POSTs to @connections/{id}. Todo.io stores each user's connection ids when they connect. By the browser's IP address. Not this one. The backend never talks to browsers directly; API Gateway holds the connections. By the user's IAM ARN. Not this one. App users aren't IAM principals. By an SQS queue URL. Not this one. Queues aren't connected to browsers.
Learn it: WebSocket (API Gateway WebSocket API)
Question 72 What does "WebSocket (API Gateway WebSocket API)" mean?
Choose one answer Learn it: WebSocket (API Gateway WebSocket API)
Question 73 Which 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 74 Which 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)