Question 1 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 2 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 3 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 4 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 5 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 6 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 7 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 8 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 9 Todo.io's app on EC2 swaps its RDS MySQL database for a DynamoDB table. With RDS, access came down to the database's security group and a password. What decides whether the app may write to the table now?
Choose one answer IAM: the instance's role must allow writes (like dynamodb:PutItem) on the table's ARN. Correct. Every DynamoDB read and write is a signed API call approved by IAM. No connections, passwords or security groups are involved. The table's security group must let the app's security group in. Not this one. DynamoDB has no security groups: it's reached over HTTPS at a public endpoint, and IAM approves each call. A database password, kept somewhere safe and sent with each request. Not this one. DynamoDB has no passwords. The app's role signs each request, and IAM decides. The route table of the app's subnet. Not this one. A route table decides where traffic goes, not whether a call is allowed. Without permission, DynamoDB answers AccessDenied whatever the route.
Learn it: DynamoDB · RDS (Relational Database Service) · EC2 (Elastic Compute Cloud) · IAM policy
Question 10 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 11 What does "RDS (Relational Database Service)" mean?
Choose one answer Learn it: RDS (Relational Database Service)
Question 12 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 13 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)