0
0
AWScloud~20 mins

Launching an RDS instance in AWS - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
RDS Mastery Badge
Get all challenges correct to earn this badge!
Test your skills under time pressure!
Configuration
intermediate
2:00remaining
Identify the correct AWS CLI command to launch a MySQL RDS instance
Which AWS CLI command will successfully launch a MySQL RDS instance named mydbinstance with 20GB storage in the us-east-1 region?
Aaws rds create-db-instance --db-instance-identifier mydbinstance --db-instance-class db.t3.micro --engine mysql --allocated-storage 20 --region us-east-1
Baws rds launch-db-instance --db-instance-identifier mydbinstance --db-instance-class db.t3.micro --engine mysql --allocated-storage 20 --region us-east-1
Caws rds create-db-instance --db-instance-identifier mydbinstance --db-instance-class db.t3.micro --engine postgres --allocated-storage 20 --region us-east-1
Daws rds create-db-instance --db-instance-identifier mydbinstance --db-instance-class db.t3.micro --engine mysql --allocated-storage 5 --region us-east-1
Attempts:
2 left
💡 Hint
Check the AWS CLI command syntax for creating an RDS instance and verify the engine and storage size.
Architecture
intermediate
2:00remaining
Choosing the best subnet configuration for a highly available RDS instance
You want to launch an RDS instance that remains available even if one Availability Zone fails. Which subnet configuration should you choose?
ALaunch the RDS instance in multiple public subnets in the same Availability Zone.
BLaunch the RDS instance in a single public subnet in one Availability Zone.
CLaunch the RDS instance in multiple private subnets across different Availability Zones using a DB subnet group.
DLaunch the RDS instance in a single private subnet with a NAT gateway.
Attempts:
2 left
💡 Hint
Think about how AWS achieves high availability for RDS instances.
security
advanced
2:00remaining
Securing RDS instance access with least privilege
You want to restrict access to your RDS instance so only your application servers in a specific security group can connect. Which configuration achieves this?
ASet the RDS instance's security group to allow inbound traffic on port 3306 from the application servers' security group.
BSet the RDS instance's security group to allow inbound traffic on port 3306 from 0.0.0.0/0.
CSet the RDS instance's security group to allow inbound traffic on port 3306 from the internet gateway.
DSet the RDS instance's security group to allow inbound traffic on port 3306 from the VPC CIDR block.
Attempts:
2 left
💡 Hint
Consider the principle of least privilege and how security groups reference each other.
service_behavior
advanced
2:00remaining
Understanding RDS Multi-AZ failover behavior
What happens to your RDS instance endpoint during a Multi-AZ failover event?
AThe endpoint becomes unavailable until you restart the RDS instance.
BThe endpoint DNS automatically points to the standby instance in the other Availability Zone with minimal downtime.
CYou must manually update the endpoint to point to the new primary instance after failover.
DThe endpoint IP address changes but DNS remains the same, causing connection failures.
Attempts:
2 left
💡 Hint
Think about how AWS manages failover to minimize impact on applications.
Best Practice
expert
2:00remaining
Optimizing cost and performance for a production RDS instance
You have a production RDS instance with steady traffic. You want to optimize for cost without sacrificing availability or performance. Which combination of configurations is best?
AUse a Single-AZ deployment with a db.m6g.large instance class and provisioned IOPS storage with autoscaling.
BUse a Single-AZ deployment with a db.t3.micro instance class and magnetic storage.
CUse a Multi-AZ deployment with a db.r5.2xlarge instance class and provisioned IOPS storage without autoscaling.
DUse a Multi-AZ deployment with a db.m6g.large instance class and enable storage autoscaling with General Purpose SSD (gp3).
Attempts:
2 left
💡 Hint
Balance availability, instance type, and storage type for cost and performance.