AmazonFree

AWS Certified Database Specialty AWS Certified Database Specialty Free Practice Test — 30 Questions

This practice bank exercises your ability to design and manage AWS database solutions with a focus on migration strategies, performance optimization, security, and high availability. The questions challenge you to choose the right AWS services—such as AWS DMS, SCT, Aurora, RDS, Performance Insights, AWS Shield, and Global Database—for real-world scenarios involving Oracle to PostgreSQL migrations, troubleshooting latency spikes, handling data breaches, and scaling under unpredictable loads. You must balance operational requirements like minimal downtime, data integrity, regulatory compliance, and cost-effectiveness. Mastering these decision points is critical for the Database Specialty exam.

30
practice questions
20
recall cards
30
explanations
0
sign-ups required
Exam-focused analysis

What this AWS Certified Database Specialty AWS Certified Database Specialty practice set measures

This is an analysis of the practice bank, not a claim about the vendor's live exam blueprint. Use it to identify the knowledge, judgment, and recall patterns exercised here, then verify your coverage against the current official exam guide.

Migration and Data Replication Strategies

The practice bank heavily emphasizes database migrations, particularly from on-premises Oracle to Amazon RDS or Aurora PostgreSQL. Key considerations include minimizing downtime using AWS DMS with Change Data Capture (CDC), schema conversion with SCT, and handling replication lag. Several questions test your ability to decide between DMS CDC, native logical replication, or direct migration, and how to troubleshoot performance issues during cutover. You must also address data integrity checks, rollback strategies, and regulatory compliance like data residency and audit trails.

  • Use AWS DMS with CDC for near-zero downtime migrations; handle replication lag by tuning task configuration or switching to native replication.
  • AWS SCT is essential for schema and code conversion from Oracle to PostgreSQL; validate output thoroughly.
  • In case of cutover issues (latency, data inconsistency), prioritize rollback to source and re-establish CDC, then perform phased validation.
  • For complex transformations, stage intermediate data in Amazon S3 and use AWS Glue for cataloging and transformation.

Performance Analysis and Optimization

When performance degrades post-migration or during peak loads, the best first step is to use Amazon RDS Performance Insights and Enhanced Monitoring to identify wait events and resource-intensive queries. The practice bank shows that analyzing `pg_stat_statements` and execution plans via `EXPLAIN ANALYZE` is critical for query tuning. For Aurora, you must consider its shared storage architecture and auto-scaling behavior. In many scenarios, adding read replicas or enabling Storage Auto Scaling directly addresses I/O bottlenecks without application changes.

  • Performance Insights reveals top wait events (e.g., I/O, CPU, lock waits) and the SQL queries causing them.
  • Use `pg_stat_statements` and `EXPLAIN ANALYZE` to pinpoint and optimize inefficient query plans.
  • For read-heavy workloads on RDS/Aurora, implement Read Replicas to offload traffic; for I/O saturation, enable Storage Auto Scaling or provision higher IOPS.
  • Aurora Serverless v1/v2 scales ACUs automatically but may have latency during scaling; configure min/max ACU appropriately to handle bursts.

Security, Compliance, and Incident Response

Security questions cover SQL injection attacks, DDoS protection, and breach notification under regulations like GDPR and CCPA. For DoS attacks on Aurora, the practice bank recommends AWS Shield Advanced for enhanced protection. For data breaches, the correct immediate action is to issue a public statement and notify data protection authorities, while simultaneously conducting a forensic investigation using database audit logs and mitigating vulnerabilities (e.g., parameterized queries). You must also consider data sovereignty during migrations, ensuring intermediate data remains in compliant regions.

  • AWS Shield Advanced provides enhanced DDoS mitigation for your Aurora clusters; combine with WAF for application-layer attacks.
  • After a SQL injection breach, issue prompt public notification per GDPR/CCPA timelines; use AWS CloudTrail and RDS audit logs for forensics.
  • For data residency, store intermediate migration data in Amazon S3 in the compliant region and use AWS Glue for cataloging.
  • Encrypt sensitive data at rest and in transit; use IAM policies and security groups to limit database access.

High Availability, Scaling, and Global Deployments

The practice bank tests your understanding of Aurora Global Database for multi-region deployments with low replication lag, failover scenarios, and data loss trade-offs (asynchronous vs. synchronous replication). For scaling unpredictable workloads, Aurora Serverless v2 automatically adjusts capacity, but you must configure min/max ACUs to handle bursts without performance degradation. In e-commerce scenarios, adding read replicas is a common scaling strategy; for write-heavy loads, consider sharding or moving to a purpose-built engine like Amazon Redshift for analytics.

  • Aurora Global Database provides under 1-second replication lag between regions; failover may lose recent transactions if lag is not zero.
  • Aurora Serverless v2 scales compute capacity automatically; ensure min ACU covers baseline load and max ACU accommodates peak bursts.
  • For read-heavy latency-sensitive applications, use RDS Read Replicas (up to 5) or Aurora Auto Scaling replicas.
  • When separating transactional from analytical workloads, migrate analytics to Amazon Redshift or use Aurora with read replicas for reporting.
Active recall deck

Practice AWS Certified Database Specialty AWS Certified Database Specialty with real flashcards

Read the prompt, commit to an answer, then flip the card. Move through the deck at your own pace and repeat any topic that does not come back quickly.

20 free cards

Card 1 of 20

1 reviewed this session

Static practice bank

Start the 30-question diagnostic

The complete question bank is embedded in this pre-rendered page. There is no database request or second content download when you begin.

Question 1 of 30

A financial services company is undertaking a critical initiative to migrate its primary customer transaction database, currently running on an on-premises Oracle Exadata system, to Amazon RDS for PostgreSQL. The migration must minimize downtime to less than two hours during the final cutover and ensure that all transactions occurring on the source system after the initial data load are continuously replicated to the target RDS instance with near real-time latency. The company\'s database administrators are concerned about managing the migration infrastructure and require a solution that balances performance, operational overhead, and cost. Which combination of AWS services and configurations best addresses these requirements?

1 correct answers

Study workflow

Turn one AWS Certified Database Specialty AWS Certified Database Specialty attempt into a study plan

  1. 1

    Assess Migration Requirements

    Begin by evaluating source database size, schema complexity, and permissible downtime. Use AWS SCT to analyze schema compatibility and identify required conversions. Choose between DMS full load plus CDC or native replication based on latency needs. For high availability, plan a blue-green deployment using DMS with a validation step before cutover.

  2. 2

    Troubleshoot Database Performance

    When latency spikes occur, start with CloudWatch metrics to check CPU, memory, and IOPS. Then enable Performance Insights to view top wait events and SQL queries. Use `EXPLAIN ANALYZE` on offending queries to identify missing indexes or inefficient joins. For I/O bottlenecks, consider increasing provisioned IOPS, enabling Storage Auto Scaling, or moving to Aurora.

  3. 3

    Respond to Security Incidents

    In case of a data breach or DoS attack, first assess scope and impact using AWS CloudTrail, database audit logs, and AWS Shield metrics. Follow regulatory notification timelines (e.g., 72 hours for GDPR). Isolate affected resources by modifying security groups or enabling WAF rules. For long-term prevention, enforce parameterized queries and encrypt sensitive data.

  4. 4

    Scale Database for Variable Workloads

    For read-heavy traffic, implement RDS Read Replicas or Aurora Auto Scaling replicas. For unpredictable bursts, use Aurora Serverless v2 with appropriate min/max ACU settings. If write capacity is the bottleneck, consider sharding the database or moving to a distributed solution like Amazon DynamoDB. Monitor burst patterns and adjust scaling thresholds accordingly.

  5. 5

    Implement High Availability and Disaster Recovery

    Deploy Aurora Global Database for cross-region DR with low replication lag. Configure failover target in a secondary region and test regularly. For RDS, use Multi-AZ deployments for automatic failover. In case of regional failure, fail over to secondary and update DNS; be aware of potential data loss from unreplicated transactions. Validate RTO and RPO requirements.

FAQ

Questions about this exam practice page

Clear boundaries on what the bank covers, how to use it, and where official vendor information still matters.

What is the primary difference between using AWS DMS CDC and native logical replication for migrating to Aurora PostgreSQL?+

AWS DMS CDC is a managed service that handles heterogeneous migrations (e.g., Oracle to PostgreSQL) and automatically captures changes. Native logical replication is only for homogeneous migrations and requires manual setup but can offer lower latency. Both minimize downtime, but DMS is easier for cross-engine migrations.

How does Aurora Serverless v2 handle sudden traffic spikes compared to v1?+

Aurora Serverless v2 scales compute capacity in smaller increments and faster than v1, with a shorter pause-and-resume process. It can add ACUs in seconds, whereas v1 may take minutes. However, both may show temporary latency during scaling. Configure min and max ACU to cover expected baseline and peak loads.

What are the key considerations when using Aurora Global Database for compliance with EU data protection laws?+

Aurora Global Database uses asynchronous replication, so there is a lag (typically <1 second). For EU data residency, ensure the secondary region is within the EU. Monitor replication lag continuously; if it exceeds allowed limits, consider failing over. Also, implement encryption and access controls to meet GDPR requirements.

Which AWS service provides enhanced DDoS protection for an Aurora database cluster?+

AWS Shield Advanced provides dedicated DDoS mitigation for Aurora and other AWS resources. It includes 24/7 access to the DDoS Response Team and cost protection against scaling fees. For application-layer attacks, combine with AWS WAF.

What immediate steps should you take if a SQL injection attack compromises sensitive customer data in an RDS instance?+

First, isolate the database by modifying security groups and revoking compromised credentials. Notify relevant data protection authorities and affected customers per regulatory timelines. Conduct a forensic analysis using database audit logs and CloudTrail. Then, fix the application vulnerability by implementing parameterized queries and input validation.

Keep studying

Build the next review session

Browse another free bank or use the study strategy guide to turn your misses into spaced review.