Database Exam Questions

Practice Questions & Scenarios

RDS Fundamentals

Question 1

A company needs to migrate their MySQL database to AWS with minimal downtime and automatic failover capability. Which solution should they choose?

A) Single-AZ RDS MySQL instance

B) Multi-AZ RDS MySQL deployment

C) MySQL on EC2 with EBS snapshots

D) Aurora MySQL Serverless

Answer: B) Multi-AZ RDS MySQL deployment

Multi-AZ provides automatic failover, high availability, and minimal downtime during maintenance.

Question 2

Which RDS storage type provides the highest IOPS performance for mission-critical applications?

A) General Purpose SSD (gp2)

B) General Purpose SSD (gp3)

C) Provisioned IOPS SSD (io1)

D) Magnetic storage

Answer: C) Provisioned IOPS SSD (io1)

io1 provides up to 64,000 IOPS with consistent performance for I/O intensive workloads.

Aurora Questions

Question 3

A global application needs a database that can handle read traffic from multiple regions with low latency. What Aurora feature should be used?

A) Aurora Multi-Master

B) Aurora Global Database

C) Aurora Serverless

D) Aurora Read Replicas

Answer: B) Aurora Global Database

Aurora Global Database provides low-latency global reads with cross-region replication.

Question 4

An application has unpredictable database workloads that vary from minimal usage to high peaks. Which Aurora option is most cost-effective?

A) Aurora Provisioned with largest instance

B) Aurora Serverless v1

C) Aurora Serverless v2

D) Aurora with Auto Scaling read replicas

Answer: C) Aurora Serverless v2

Aurora Serverless v2 automatically scales capacity and charges only for resources used.

Security Questions

Question 5

How can you encrypt an existing unencrypted RDS database?

A) Enable encryption in RDS settings

B) Create encrypted snapshot and restore

C) Use AWS KMS to encrypt in place

D) Cannot encrypt existing database

Answer: B

Create encrypted snapshot, then restore to new encrypted instance.

Performance Questions

Question 6

Which tool provides database load analysis and top SQL statements?

A) CloudWatch Metrics

B) Enhanced Monitoring

C) Performance Insights

D) AWS X-Ray

Answer: C

Performance Insights shows database load and identifies top SQL statements.

Scenario-Based Questions

Scenario 1: E-commerce Platform

An e-commerce platform experiences high read traffic during sales events but normal traffic otherwise. The application needs to scale read capacity automatically and maintain data consistency.

Best Solution:

  • • Use Aurora with Auto Scaling read replicas
  • • Configure read replicas to scale based on CPU/connections
  • • Direct read traffic to replicas, writes to primary
  • • Set up CloudWatch alarms for scaling triggers

Scenario 2: Global Application

A social media application serves users globally and needs low-latency database access from multiple regions with disaster recovery capabilities.

Best Solution:

  • • Implement Aurora Global Database
  • • Primary region for writes, secondary regions for reads
  • • Cross-region replication with <1 second lag
  • • Promote secondary region if primary fails

Migration Questions

Question 7

Which AWS service is best for migrating Oracle to PostgreSQL with minimal downtime?

A) AWS DataSync

B) AWS DMS + SCT

C) AWS Backup

D) Native database tools

Answer: B

DMS for data migration, SCT for schema conversion in heterogeneous migrations.

Backup Questions

Question 8

What is the maximum retention period for RDS automated backups?

A) 7 days

B) 30 days

C) 35 days

D) 90 days

Answer: C

RDS automated backups can be retained for 1-35 days (default 7 days).

Key Exam Strategies

Read Carefully

Pay attention to keywords like "minimal downtime", "high availability", "cost-effective"

Eliminate Options

Rule out obviously incorrect answers first, then choose the best remaining option

Consider Constraints

Factor in budget, performance, security, and compliance requirements

Know Limitations

Understand what each service can and cannot do

Database Backup & Recovery Next: Database Selection Guide