Question 1 An SCP on the Prod OU denies a set of RDS actions. Which of these does the SCP NOT restrict?
Choose one answer Learn it: SCP (service control policy) · Service-linked role
Question 2 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 3 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 4 When should Todo.io attach a Lambda function to its VPC?
Choose one answer When it needs to reach something private inside the VPC, such as the RDS database. Correct. Attaching gives the function network interfaces in your subnets, so it can reach private resources. Whenever it needs the internet. Not this one. Outside a VPC it already has it. Inside, it would need a NAT gateway. To make it run faster. Not this one. Speed comes from memory size, not from the VPC. Always; IAM only works inside a VPC. Not this one. IAM has nothing to do with VPCs.
Learn it: Lambda
Question 5 Every morning at 9:00, thousands of Todo.io users add todos within a few minutes. The app writes each todo straight to its database, which can't keep up, and some saves fail. No todo may be lost. What should Todo.io do?
Choose one answer Learn it: SQS (Simple Queue Service) · Design Todo.io with the Queue add-on
Question 6 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 7 What does Amazon RDS do for Todo.io that running MySQL on its own EC2 instance would not?
Choose one answer Learn it: RDS (Relational Database Service)
Question 8 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 9 In Todo.io's Level 0 setup, how does the app prove who it is to its RDS MySQL database?
Choose one answer With a database username and password, over a normal connection on port 3306. Correct. RDS is connected to like any MySQL server. Keeping that password out of code is a Level 1 topic. Every SQL query is an HTTPS call signed with IAM, like DynamoDB. Not this one. That is how DynamoDB works, not MySQL. It doesn't; anything inside the VPC may connect. Not this one. The security group decides who may reach it, and the database still checks credentials. With the root user's access keys. Not this one. Root keys should never exist, and MySQL doesn't use them.
Learn it: RDS (Relational Database Service)
Question 10 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 11 Someone ran DELETE FROM todos on Todo.io's RDS database. Will CloudTrail show who did it?
Choose one answer No. CloudTrail records AWS API calls, not the SQL run inside a database. The database's own logs would show it. Correct. CloudTrail would show CreateDBInstance or DeleteDBInstance, never what happens inside. Yes. CloudTrail records every SQL statement. Not this one. It never sees inside the database. Yes, but only with AWS Config turned on. Not this one. Config records resource settings, not queries. Yes, in CloudWatch metrics. Not this one. Metrics are numbers, such as connections or CPU, not who ran what.
Learn it: RDS (Relational Database Service) · CloudTrail
Question 12 After Todo.io created its first RDS database, a role named AWSServiceRoleForRDS appeared. What is it?
Choose one answer A service-linked role that RDS uses to manage things like network interfaces for your databases. Correct. The service owns it: you can't change its permissions, and it only trusts RDS. A role someone created by mistake, which should be deleted. Not this one. RDS needs it. You can only delete it once RDS no longer uses it. The role the app uses to connect to the database. Not this one. The app connects with a database username and password. A role from IAM Identity Center. Not this one. Those are named AWSReservedSSO_…
Learn it: Service-linked role
Question 13 A developer can create RDS databases, but creating one with an Enhanced Monitoring role fails with AccessDenied. What is missing?
Choose one answer Learn it: iam:PassRole
Question 14 Todo.io needs reports that join users, todos and tags with SQL. Which service fits?
Choose one answer Amazon RDS, a relational database. Correct. Joins across related tables are what relational databases are built for. Amazon DynamoDB. Not this one. DynamoDB finds items by key and has no SQL joins. Amazon S3. Not this one. S3 stores files, not related tables. Amazon SQS. Not this one. SQS holds messages waiting to be processed.
Learn it: RDS (Relational Database Service) · DynamoDB
Question 15 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 16 What does "RDS (Relational Database Service)" mean?
Choose one answer Learn it: RDS (Relational Database Service)
Question 17 Which term is this? "A managed SQL database, like MySQL or PostgreSQL, that AWS runs for you."
Choose one answer Learn it: RDS (Relational Database Service)
Question 18 Which AWS term is described by this analogy? "A filing cabinet with a librarian AWS employs."
Choose one answer Learn it: RDS (Relational Database Service)