Courseiva
Knowledge + Practice
CertificationsVendorsCareer RoadmapsLabs & ToolsStudy GuidesGlossaryPractice Questions
C
Courseiva

Free IT certification practice questions with explained answers for CCNA, CompTIA, AWS, Azure, Google Cloud, and more.

Certification Practice Questions

CCNA practice questionsSecurity+ SY0-701 practice questionsAWS SAA-C03 practice questionsAZ-104 practice questionsAZ-900 practice questionsCLF-C02 practice questionsA+ Core 1 practice questionsGoogle Cloud ACE practice questionsCySA+ CS0-003 practice questionsNetwork+ N10-009 practice questions
View all certifications →

Product

CertificationsCertification PathsExam TopicsPractice TestsExam Dumps vs Practice TestsStudy HubComparisons

Company

AboutContactEditorial PolicyQuestion Writing PolicyTrust Center

Legal

Privacy PolicyTerms of Service

Courseiva is a free IT certification practice platform offering original exam-style practice questions, detailed explanations, topic-based practice, mock exams, readiness tracking, and study analytics for Cisco, CompTIA, Microsoft, AWS, and other technology certifications.

© 2026 Courseiva. Courseiva is operated by JTNetSolutions Ltd. All rights reserved.

Courseiva is an independent certification practice platform and is not affiliated with, endorsed by, or sponsored by Cisco, Microsoft, AWS, CompTIA, Google, ISC2, ISACA, or any other certification vendor. Vendor names and certification marks are used only to identify the exams learners are preparing for.

← Workload-Specific Database Design practice sets

DBS-C01 Workload-Specific Database Design • Complete Question Bank

DBS-C01 Workload-Specific Database Design — All Questions With Answers

Complete DBS-C01 Workload-Specific Database Design question bank — all 0 questions with answers and detailed explanations.

444
Questions
Free
No signup
Certifications/DBS-C01/Practice Test/Workload-Specific Database Design/All Questions
Question 1mediummultiple choice
Read the full Workload-Specific Database Design explanation →

A company is migrating an on-premises PostgreSQL database to Amazon RDS for PostgreSQL. The database has a large table that is frequently accessed by reporting queries. The reporting queries filter on a column that has a high cardinality but low selectivity. To optimize query performance on this table, which design choice should the database specialist recommend?

Question 2hardmultiple choice
Read the full Workload-Specific Database Design explanation →

A company is designing a new e-commerce platform using Amazon DynamoDB. The workload requires single-digit millisecond latency for user session data, which is accessed by session token. The session data is temporary and should be automatically deleted after 24 hours. Which DynamoDB design should the database specialist recommend?

Question 3easymultiple choice
Read the full Workload-Specific Database Design explanation →

A financial services company is migrating its Oracle database to Amazon Aurora PostgreSQL. The database runs a critical batch processing job every night that updates millions of rows. The company needs the migration to minimize downtime and ensure data integrity. Which AWS service should the database specialist use to perform the migration?

Question 4mediummultiple choice
Read the full NAT/PAT explanation →

A social media application uses Amazon DynamoDB as its primary data store. The application stores user posts and allows users to retrieve the most recent 10 posts of users they follow. The access pattern is a followee-based query that needs to be highly scalable and low-latency. Which DynamoDB table design should the database specialist recommend?

Question 5easymultiple choice
Read the full Workload-Specific Database Design explanation →

A company is running a MySQL database on Amazon RDS and needs to store JSON documents that are frequently queried by fields within the JSON. The company wants to reduce development complexity and improve query performance. Which RDS MySQL feature should the database specialist recommend?

Question 6hardmulti select
Read the full Workload-Specific Database Design explanation →

A company is designing a multi-tenant SaaS application on Amazon Aurora MySQL. Each tenant has its own database, but some tenants are very large and generate high write traffic. The company wants to isolate tenant workloads to prevent a noisy neighbor from affecting other tenants. Which TWO design strategies should the database specialist recommend?

Question 7mediummulti select
Read the full Workload-Specific Database Design explanation →

A company is running a critical application on Amazon DynamoDB. The table has a partition key of 'user_id' and a sort key of 'timestamp'. The application frequently queries for all items for a given user within a date range. The read capacity is often throttled during peak hours. Which THREE steps should the database specialist take to resolve the throttling?

Question 8hardmultiple choice
Read the full Workload-Specific Database Design explanation →

A database specialist is analyzing an Aurora MySQL error log and finds the above deadlock error. The application performs an update on the orders table and then updates the inventory table within the same transaction. The deadlock occurs when two concurrent transactions try to update orders and inventory in different orders. Which design change should the database specialist recommend to reduce deadlocks?

Exhibit

Refer to the exhibit.

```
2024-03-15 10:23:45 UTC | aurora-db-instance-1: Aurora MySQL
2024-03-15 10:23:45 UTC | 10.0.1.5:12345 [3] [thread 1] [transaction 1234]
2024-03-15 10:23:45 UTC | ERROR: Deadlock found when trying to get lock; try restarting transaction
2024-03-15 10:23:45 UTC |  at line 1: UPDATE orders SET status='shipped' WHERE order_id=1001;
2024-03-15 10:23:45 UTC |  at line 2: UPDATE inventory SET quantity=quantity-1 WHERE product_id=500;
```
Question 9easymultiple choice
Read the full Workload-Specific Database Design explanation →

A company is implementing fine-grained access control for a DynamoDB table named UserSessions. The table has a partition key of 'user_id'. The above IAM policy is attached to an IAM role assumed by the application. What does this policy achieve?

Exhibit

Refer to the exhibit.

```
{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Effect": "Allow",
            "Action": [
                "dynamodb:GetItem",
                "dynamodb:PutItem",
                "dynamodb:UpdateItem",
                "dynamodb:DeleteItem"
            ],
            "Resource": "arn:aws:dynamodb:us-east-1:123456789012:table/UserSessions",
            "Condition": {
                "ForAllValues:StringEquals": {
                    "dynamodb:LeadingKeys": ["${aws:userid}"]
                }
            }
        }
    ]
}
```
Question 10mediummultiple choice
Read the full NAT/PAT explanation →

A company is designing a multi-tenant SaaS application on Amazon RDS for PostgreSQL. Each tenant's data must be isolated for security and performance. The application has millions of tenants, with most tenants having small datasets (under 100 MB). Which database design pattern is MOST cost-effective and operationally efficient?

Question 11hardmultiple choice
Read the full Workload-Specific Database Design explanation →

A gaming company uses Amazon DynamoDB for player session data. Each session has a partition key of `game_id` and a sort key of `session_id`. The table has a global secondary index (GSI) on `player_id` for leaderboard queries. Recently, the company noticed that write traffic to the GSI is causing throttling on the base table, even though the base table's write capacity is not fully utilized. What is the MOST likely cause?

Question 12easymultiple choice
Read the full Workload-Specific Database Design explanation →

A company is migrating a MySQL database to Amazon Aurora MySQL. The current database uses multi-statement transactions with read committed isolation level. The application frequently encounters deadlocks on the source database. Which Aurora MySQL feature can help reduce deadlocks without application changes?

Question 13mediummultiple choice
Read the full NAT/PAT explanation →

A social media startup is using Amazon ElastiCache for Redis to cache user profiles. The cache currently has a 24-hour TTL. The application experiences a sudden spike in traffic after a celebrity mentions the service, causing the cache to be flooded with requests for uncached profiles. This results in high latency and database load. Which design pattern should the company implement to prevent this in the future?

Question 14hardmultiple choice
Read the full Workload-Specific Database Design explanation →

A financial services company is designing a ledger system using Amazon QLDB. The application records transactions that must never be modified or deleted. The company expects high write throughput and needs to ensure that the ledger can handle the load without throttling. Which design consideration is MOST important to achieve this?

Question 15mediummulti select
Read the full Workload-Specific Database Design explanation →

A company is using Amazon DynamoDB for a shopping cart application. The table has a partition key of `user_id` and a sort key of `item_id`. The application performs frequent updates to the `quantity` attribute. The company notices that write requests are being throttled during peak hours. Which TWO actions would help reduce throttling? (Choose two.)

Question 16mediummulti select
Read the full Workload-Specific Database Design explanation →

A company is migrating an on-premises MongoDB database to Amazon DocumentDB. The database stores IoT sensor data with time-series characteristics. The application performs range queries on timestamp fields and updates recent documents frequently. Which THREE aspects of DocumentDB should the company consider to optimize performance for this workload? (Choose three.)

Question 17mediummultiple choice
Read the full Workload-Specific Database Design explanation →

A gaming company uses Amazon DynamoDB as the primary database for their player sessions. The player sessions table has a partition key of 'player_id' and a sort key of 'session_start_time'. The application frequently queries for recent sessions of a specific player, using the query API with 'player_id' and a filter on 'session_start_time' for the last 24 hours. The average item size is 5 KB. The company notices high latency on these queries during peak hours. The table has 10 Read Capacity Units (RCUs) provisioned. There are no indexes. Which design change would MOST improve query performance?

Question 18hardmultiple choice
Read the full Workload-Specific Database Design explanation →

A financial services company uses Amazon RDS for MySQL to store transaction data. The database has a single table 'transactions' with 500 million rows. The table has an auto-increment primary key and an index on 'transaction_date'. The company runs a monthly report that aggregates transactions by account_id and transaction_date. The report query uses a GROUP BY on account_id and transaction_date, and scans the entire table. The query takes over 2 hours to complete and often times out. The DBA suggests creating a materialized view. However, the company wants to minimize operational overhead. Which solution meets the requirements with the LEAST operational overhead?

Question 19easymultiple choice
Read the full Workload-Specific Database Design explanation →

A company is designing a database for an e-commerce application that needs to store product catalog data. The data is highly structured with relationships between products, categories, and suppliers. The application requires ACID transactions to maintain data integrity when updating inventory. The company expects moderate read and write traffic. Which AWS database service is MOST suitable for this workload?

Question 20hardmultiple choice
Read the full NAT/PAT explanation →

A social media company uses Amazon DynamoDB to store user posts. The table has a partition key of 'user_id' and a sort key of 'post_timestamp'. Each item is about 10 KB. The application needs to retrieve all posts for a given user within a date range. The company recently added a new feature that allows users to 'like' posts, and they store the like count as an attribute in the post item. The like count is updated frequently. The application experiences high write throttling on the table. The table has 1000 WCUs provisioned. The write pattern is bursty. Which design change would MOST effectively reduce write throttling?

Question 21mediummulti select
Read the full Workload-Specific Database Design explanation →

A company is designing a database for an IoT application that ingests sensor data from thousands of devices. Each device sends a reading every minute. The data includes device_id, timestamp, temperature, humidity, and pressure. The application needs to store this data and support queries that retrieve all readings for a specific device within a time range. The company expects high write throughput and moderate read frequency. The data must be stored with high durability. Which TWO database designs are appropriate for this workload? (Choose TWO.)

Question 22hardmulti select
Read the full Workload-Specific Database Design explanation →

A company runs a customer relationship management (CRM) application on Amazon RDS for PostgreSQL. The application has a table 'customers' with columns: id (primary key), name, email, signup_date, and status. The table has 10 million rows. The application frequently queries by email address. The company also needs to run analytical queries that aggregate customers by signup_date and status. The DBA notices that the index on email is heavily used and causes high write latency. The company wants to improve write performance without sacrificing read performance for email queries. Which THREE actions should the database specialist take? (Choose THREE.)

Question 23hardmultiple choice
Read the full Workload-Specific Database Design explanation →

A company runs a multi-tenant SaaS application on Amazon DynamoDB. Each tenant's data is stored in a separate table named with a tenant-specific prefix (e.g., tenant1_orders, tenant2_orders). The application uses DynamoDB Streams to replicate data to a central analytics table. Recently, the company added a new large tenant that generates 10x more write traffic than any other tenant. The DynamoDB Streams for the large tenant's table is falling behind by several hours, causing stale data in the analytics table. The company has already increased the write capacity of the large tenant's table to 50,000 WCUs, but the streams lag persists. The analytics table is also in DynamoDB and uses a Global Secondary Index (GSI) for querying. The streams processing Lambda function performs simple transformations and writes to the analytics table. The Lambda function is not throttled. Which action would resolve the streams lag?

Question 24mediummultiple choice
Read the full Workload-Specific Database Design explanation →

A logistics company uses Amazon RDS for MySQL to track package shipments. The 'shipments' table contains 200 million rows and has a primary key on 'shipment_id' (UUID). The application frequently queries for shipments by 'tracking_number', which is a unique string of 20 characters. The DBA created a B-tree index on tracking_number. The queries by tracking_number are fast, but inserts are becoming slower over time. The table has 50 GB of data. The company plans to double the insert rate next month. The database is a db.r5.large instance with 500 GB of Provisioned IOPS SSD storage. The instance's CPU utilization is below 30%, and there is no lock contention. What should the database specialist do to improve insert performance?

Question 25hardmultiple choice
Read the full NAT/PAT explanation →

A social media analytics company uses Amazon DynamoDB as the primary data store for user session data. Each session record has a partition key of user_id (String) and a sort key of session_start_time (Number, epoch). The application often queries the most recent 10 sessions for a given user. The traffic pattern shows that 90% of reads are for the last 10 sessions, while 10% are for historical sessions. The table has a provisioned read capacity of 5000 RCU and consistently experiences throttled read requests during peak hours. The company wants to optimize read performance without changing the provisioned capacity. Which design change will MOST improve read performance for this workload?

Question 26mediummultiple choice
Read the full Workload-Specific Database Design explanation →

A gaming company uses Amazon RDS for PostgreSQL to store player profiles and game state data. The database is currently 500 GB and grows by 10 GB per day. The company runs weekly reports that scan the entire database, causing high I/O and CPU usage. The application experiences read latency spikes during report generation. The team wants to minimize performance impact on the application while maintaining the ability to run reports. Which solution should the team implement?

Question 27easymultiple choice
Read the full Workload-Specific Database Design explanation →

A financial services company uses Amazon DynamoDB to store transaction records. Each transaction has a unique transaction_id as the partition key and a timestamp as the sort key. The application frequently queries all transactions for a given customer within a date range. However, customer_id is not an attribute indexed for querying. The company wants to optimize these queries without redesigning the entire table schema. Which action should the company take?

Question 28mediumdrag order
Read the full Workload-Specific Database Design explanation →

Arrange the steps to migrate an on-premises Oracle database to Amazon RDS for Oracle using AWS DMS (Database Migration Service) in the correct order.

Drag steps to the numbered slots on the right, or tap a step then tap a slot.

Steps
Order
1Step 1
2Step 2
3Step 3
4Step 4
5Step 5
Question 29mediumdrag order
Read the full Workload-Specific Database Design explanation →

Arrange the steps to enable encryption at rest for an existing unencrypted Amazon RDS for MariaDB DB instance in the correct order.

Drag steps to the numbered slots on the right, or tap a step then tap a slot.

Steps
Order
1Step 1
2Step 2
3Step 3
4Step 4
5Step 5
Question 30mediummatching
Read the full Workload-Specific Database Design explanation →

Match each AWS service to its primary purpose.

Drag a concept onto its matching description — or click a concept then click the description.

Concepts
Matches

Relational database service with managed instances

NoSQL key-value and document database

In-memory caching service supporting Redis and Memcached

Petabyte-scale data warehouse

MongoDB-compatible document database

Question 31mediummatching
Read the full Workload-Specific Database Design explanation →

Match each RDS storage type to its description.

Drag a concept onto its matching description — or click a concept then click the description.

Concepts
Matches

SSD storage with baseline IOPS and burst credits

SSD storage with consistent IOPS for I/O-intensive workloads

Previous generation HDD storage, lowest cost

SSD storage with baseline IOPS and throughput independent of size

Block Express SSD with higher durability and IOPS

Question 32hardmultiple choice
Read the full Workload-Specific Database Design explanation →

A company runs a customer-facing application on Amazon RDS for MySQL. The application experiences frequent read replicas lagging behind the primary due to long-running analytics queries. The analytics team runs complex SELECT queries that scan large tables. Which design change would minimize replica lag without affecting production writes?

Question 33easymultiple choice
Read the full Workload-Specific Database Design explanation →

A startup is building a real-time leaderboard for a mobile game using Amazon DynamoDB. The leaderboard must update frequently and support global access with low latency. Which database design approach is most suitable?

Question 34mediummultiple choice
Read the full Workload-Specific Database Design explanation →

A company needs to store and query time-series data from IoT sensors. The data is written continuously and queried by time range for dashboards. Which AWS database service is most cost-effective and scalable for this workload?

Question 35hardmultiple choice
Read the full NAT/PAT explanation →

A company uses Amazon DynamoDB for a shopping cart application. During a flash sale, write requests are throttled due to hot partitions. The access pattern is evenly distributed across items, but the partition key is the customer ID. Which design change would best mitigate throttling?

Question 36easymultiple choice
Read the full NAT/PAT explanation →

A company is migrating an on-premises MongoDB database to AWS. Which AWS database service is most compatible and requires minimal application changes?

Question 37mediummultiple choice
Read the full Workload-Specific Database Design explanation →

A company needs to implement a database solution for a global e-commerce platform that requires strongly consistent reads and writes with automatic failover across AWS Regions. Which service should be used?

Question 38hardmultiple choice
Read the full Workload-Specific Database Design explanation →

A company runs a critical OLTP workload on Amazon RDS for PostgreSQL. The database size is 2 TB and growing. To reduce storage costs, the company wants to archive old data that is rarely accessed. Which approach is most cost-effective and minimally impacts performance?

Question 39easymultiple choice
Read the full Workload-Specific Database Design explanation →

A company runs an application that requires a relational database with high availability across multiple Availability Zones. The database must automatically failover with minimal downtime. Which AWS service meets these requirements?

Question 40mediummultiple choice
Read the full NAT/PAT explanation →

A company uses Amazon DynamoDB for a session management workload. The access pattern is random and requires single-digit millisecond latency. The table has a read capacity of 5000 RCU. During peak hours, read requests occasionally exceed this capacity, causing throttling. Which design change is most appropriate to handle traffic spikes?

Question 41hardmulti select
Read the full Workload-Specific Database Design explanation →

A company is designing a document database on Amazon DocumentDB for a content management system. Which TWO design practices improve query performance and reduce costs?

Question 42easymulti select
Read the full Workload-Specific Database Design explanation →

A company needs to choose a database for a real-time analytics workload that requires sub-second query latency on streaming data. Which TWO AWS services are most suitable?

Question 43mediummulti select
Read the full Workload-Specific Database Design explanation →

A company is migrating a large Oracle data warehouse to Amazon Redshift. Which THREE design considerations are important for performance optimization?

Question 44mediummultiple choice
Read the full Workload-Specific Database Design explanation →

A company is designing a database for a global e-commerce application with millions of users. The workload requires single-digit millisecond read latency, high availability across multiple AWS Regions, and strong consistency. Which database service should the company use?

Question 45easymultiple choice
Read the full Workload-Specific Database Design explanation →

A media company is storing large video files (up to 10 GB each) in Amazon S3 and needs to maintain metadata about each file, including title, duration, and upload timestamp. The workload involves frequent writes (1000+ per second) and occasional read queries by title. Which database is best suited for this metadata store?

Question 46hardmultiple choice
Read the full Workload-Specific Database Design explanation →

A company runs a time-series application that collects sensor data from millions of IoT devices. The data is written in batches every minute and queried to generate hourly, daily, and monthly aggregates. The database must support high ingestion rates and efficient storage. Which database service is most appropriate?

Question 47hardmultiple choice
Read the full Workload-Specific Database Design explanation →

A financial services company is migrating an on-premises Oracle database to AWS. The database supports an OLTP application with complex joins, stored procedures, and requires high availability within a single Region. The company wants to minimize licensing costs and use a fully managed service. Which AWS database service should they choose?

Question 48easymultiple choice
Read the full Workload-Specific Database Design explanation →

A company is building a social network application that needs to store user profiles, friend relationships, and a feed of posts. The feed queries are complex, involving graph traversals (e.g., friends of friends). Which database is best suited for the relationship data?

Question 49mediummultiple choice
Read the full Workload-Specific Database Design explanation →

A company needs to store and query JSON documents that vary in structure. The application requires flexible schema, automatic indexing, and the ability to run complex aggregation pipelines. Which AWS database service should be used?

Question 50mediummultiple choice
Read the full Workload-Specific Database Design explanation →

A company runs an analytics platform that queries billions of rows of sales data. Queries are complex and involve aggregations across multiple dimensions. The data is updated in bulk daily. Which service should be used as the primary data store?

Question 51easymultiple choice
Read the full Workload-Specific Database Design explanation →

A gaming company needs a database to store player session data that is ephemeral and requires sub-millisecond latency. The data can be lost on failure without impact. Which service is best?

Question 52hardmultiple choice
Read the full NAT/PAT explanation →

A company is designing a database for a mobile application that requires offline synchronization. Users should be able to read and write data while offline, and changes should sync when connectivity is restored. Which AWS service supports this pattern?

Question 53mediummulti select
Read the full Workload-Specific Database Design explanation →

Which TWO database services are most suitable for workloads that require ACID transactions?

Question 54hardmulti select
Read the full Workload-Specific Database Design explanation →

Which THREE factors should be considered when designing a database for a high-traffic web application that requires low-latency reads and writes?

Question 55easymulti select
Read the full Workload-Specific Database Design explanation →

Which TWO AWS services can be used to implement a serverless database architecture for variable workloads?

Question 56mediummultiple choice
Read the full Workload-Specific Database Design explanation →

A company is designing a database for an e-commerce platform that requires high availability and automatic failover with minimal downtime. The application performs both OLTP and read-heavy analytics. Which AWS database service should be used?

Question 57easymultiple choice
Read the full Workload-Specific Database Design explanation →

A startup is building a real-time leaderboard for a gaming application. The data is highly dynamic with frequent updates and requires single-digit millisecond latency. Which database is most suitable?

Question 58hardmultiple choice
Read the full Workload-Specific Database Design explanation →

A company needs to migrate an on-premises Oracle database to AWS with minimal changes to the application code. The application uses complex stored procedures and has high availability requirements. Which database service should be used?

Question 59mediummultiple choice
Read the full Workload-Specific Database Design explanation →

A company is building a document management system where each document can have multiple attributes (tags) that need to be queried efficiently. The workload is write-heavy with occasional reads. Which database is best suited?

Question 60hardmultiple choice
Read the full Workload-Specific Database Design explanation →

A company is designing a multi-region active-active application that requires low-latency reads and writes across regions. The database must support conflict resolution. Which database should be used?

Question 61easymultiple choice
Read the full Workload-Specific Database Design explanation →

A company needs to store and query time-series data from IoT devices. The data arrives in high volume and requires efficient range queries over time. Which database is most appropriate?

Question 62mediummultiple choice
Read the full Workload-Specific Database Design explanation →

A company is running a MongoDB workload on-premises and wants to migrate to AWS with minimal operational overhead. The application uses MongoDB-specific features like aggregation pipelines. Which service is best?

Question 63mediummultiple choice
Read the full Workload-Specific Database Design explanation →

A company needs to build a reporting dashboard that queries a large dataset stored in Amazon S3. The queries are complex and require full SQL support. Which service should be used?

Question 64hardmultiple choice
Read the full Workload-Specific Database Design explanation →

A company is designing a social media application that requires storing user relationships (follows) and making graph queries like 'mutual friends.' Which database is most suitable?

Question 65mediummulti select
Read the full Workload-Specific Database Design explanation →

Which TWO of the following are best practices for designing a DynamoDB table for high traffic? (Choose 2)

Question 66hardmulti select
Read the full Workload-Specific Database Design explanation →

Which THREE factors should be considered when choosing between Amazon RDS Multi-AZ and Amazon Aurora for high availability? (Choose 3)

Question 67easymulti select
Read the full Workload-Specific Database Design explanation →

Which TWO are valid use cases for Amazon ElastiCache for Redis? (Choose 2)

Question 68mediummultiple choice
Read the full Workload-Specific Database Design explanation →

A database administrator runs the above command. The database is currently in a healthy state. Which statement is true about this database?

Network Topology
aws rds describe-db-instancesdb-instance-identifier mydbquery 'DBInstances[0].[DBInstanceClassRefer to the exhibit.```Output:"db.r5.large","true","mysql","available"
Question 69hardmultiple choice
Read the full Workload-Specific Database Design explanation →

An IAM policy is attached to a user to restrict access to a DynamoDB table. What does this policy allow the user to do?

Exhibit

Refer to the exhibit.
```json
{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": ["dynamodb:GetItem", "dynamodb:PutItem"],
      "Resource": "arn:aws:dynamodb:us-east-1:123456789012:table/Orders",
      "Condition": {
        "ForAllValues:StringEquals": {
          "dynamodb:LeadingKeys": ["customer_123"]
        }
      }
    }
  ]
}
```
Question 70mediummultiple choice
Read the full Workload-Specific Database Design explanation →

A developer sees the above key schema for the ProductCatalog table. Which query will be most efficient for retrieving a single item?

Network Topology
aws dynamodb describe-tabletable-name ProductCatalogquery 'Table.KeySchema'Refer to the exhibit.```Output:"AttributeName": "ProductId","KeyType": "HASH"},"AttributeName": "Category","KeyType": "RANGE"
Question 71mediummultiple choice
Read the full Workload-Specific Database Design explanation →

A company is designing a database for a real-time bidding system that requires sub-millisecond read and write latency for ad impressions. The workload is heavily write-intensive with occasional reads by campaign IDs. Which AWS database service is most suitable?

Question 72hardmultiple choice
Read the full Workload-Specific Database Design explanation →

A gaming company uses Amazon RDS for PostgreSQL to store player profiles and game state. They report slow queries during peak hours. The DB instance is a db.r5.2xlarge with 500 GB gp2 storage. Which design change would MOST improve read performance for the most frequently accessed player profiles?

Question 73easymultiple choice
Read the full Workload-Specific Database Design explanation →

A financial services company needs a relational database with high availability and automatic failover across three Availability Zones in us-east-1. The workload consists of OLTP transactions with occasional analytic queries. Which database solution meets these requirements?

Question 74mediummultiple choice
Read the full Workload-Specific Database Design explanation →

A company is migrating an on-premises MongoDB database to AWS. The database stores JSON documents for a content management system. The workload requires read-after-write consistency and automatic scaling. Which AWS database service is MOST appropriate?

Question 75hardmultiple choice
Read the full Workload-Specific Database Design explanation →

A company runs a global e-commerce platform with a relational database. They need to reduce read latency for users in Europe and Asia. The primary database is in us-west-2. Which solution provides the LOWEST read latency for global users while maintaining data consistency?

Question 76easymultiple choice
Read the full Workload-Specific Database Design explanation →

A startup is building a mobile application that requires a database to store user preferences and session data. The data is accessed by user ID and requires single-digit millisecond latency. The workload is read-heavy with occasional writes. Which database service is MOST cost-effective?

Question 77mediummultiple choice
Read the full Workload-Specific Database Design explanation →

A company uses Amazon RDS for Oracle for an OLTP application. The database experiences high CPU utilization during peak hours. The application is read-heavy and can tolerate eventually consistent reads. Which solution reduces CPU load on the primary database with minimal application changes?

Question 78hardmultiple choice
Read the full Workload-Specific Database Design explanation →

A company is designing a database for an IoT application that ingests millions of sensor readings per second. Each reading includes device ID, timestamp, and measurement. The workload requires time-series analytics and data retention for 90 days. Which AWS database solution is MOST appropriate?

Question 79easymultiple choice
Read the full Workload-Specific Database Design explanation →

A company needs a fully managed graph database for a social networking application that requires real-time recommendations based on friend connections. Which AWS service should they use?

Question 80mediummulti select
Read the full Workload-Specific Database Design explanation →

A company is designing a disaster recovery strategy for an Amazon RDS for PostgreSQL database. They need a Recovery Point Objective (RPO) of less than 5 seconds and a Recovery Time Objective (RTO) of less than 1 minute. Which TWO actions should they take? (Choose two.)

Question 81hardmulti select
Read the full Workload-Specific Database Design explanation →

A company is migrating a large Oracle data warehouse to AWS. The warehouse contains 50 TB of data and runs complex analytical queries. The solution must support concurrency of up to 100 users and provide high performance for queries. Which THREE design decisions should the company make? (Choose three.)

Question 82easymulti select
Read the full Workload-Specific Database Design explanation →

A company is building a microservices architecture and needs a database for a service that stores JSON documents with variable schema. The database must support high availability and automatic scaling. Which TWO services meet these requirements? (Choose two.)

Question 83mediummultiple choice
Read the full Workload-Specific Database Design explanation →

Refer to the exhibit. An IAM policy is attached to an IAM role used by a Lambda function that writes to a DynamoDB table. The function also needs to read items from the table. What is the outcome of this policy?

Exhibit

Refer to the exhibit.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": "dynamodb:PutItem",
      "Resource": "arn:aws:dynamodb:us-east-1:123456789012:table/Orders"
    },
    {
      "Effect": "Deny",
      "Action": "dynamodb:GetItem",
      "Resource": "arn:aws:dynamodb:us-east-1:123456789012:table/Orders"
    }
  ]
}
Question 84hardmultiple choice
Read the full Workload-Specific Database Design explanation →

Refer to the exhibit. A developer reports that the RDS MySQL instance 'mydb' is experiencing high write latency. The storage is gp2 with 100 GB. What is the MOST likely cause of the write latency?

Network Topology
$ aws rds describe-db-instancesdb-instance-identifier mydbRefer to the exhibit."DBInstances": ["DBInstanceIdentifier": "mydb","DBInstanceClass": "db.r5.large","Engine": "mysql","DBInstanceStatus": "available","MasterUsername": "admin","Endpoint": {"Address": "mydb.abcdef123456.us-east-1.rds.amazonaws.com","Port": 3306},"AllocatedStorage": 100,"StorageType": "gp2","Iops": null,"MultiAZ": false,"ReadReplicaSourceDBInstanceIdentifier": null,"ReadReplicaDBInstanceIdentifiers": []
Question 85easymultiple choice
Read the full Workload-Specific Database Design explanation →

Refer to the exhibit. A developer created a DynamoDB table 'UserSessions' with a simple primary key. The application needs to query by user_id as well. What design change should the developer make to support this query efficiently?

Network Topology
$ aws dynamodb describe-tabletable-name UserSessionsRefer to the exhibit."Table": {"TableName": "UserSessions","KeySchema": ["AttributeName": "session_id","KeyType": "HASH"],"AttributeDefinitions": ["AttributeType": "S""TableStatus": "ACTIVE","ProvisionedThroughput": {"ReadCapacityUnits": 5,"WriteCapacityUnits": 5},"TableSizeBytes": 0,"ItemCount": 0
Question 86easymultiple choice
Read the full Workload-Specific Database Design explanation →

A company is migrating an on-premises MySQL database to Amazon RDS. The database is used for a critical e-commerce application that requires high availability with automatic failover. Which RDS deployment option should the company choose to meet these requirements?

Question 87mediummultiple choice
Read the full Workload-Specific Database Design explanation →

A company is designing a database for a social media application that requires low-latency access to user profiles and support for complex graph queries. Which AWS database service is most suitable for this workload?

Question 88hardmultiple choice
Read the full Workload-Specific Database Design explanation →

A company is running a production Amazon RDS for PostgreSQL database. The database experiences high write latency during peak hours. The company wants to reduce latency without changing the application code. Which solution is MOST cost-effective and scalable?

Question 89easymultiple choice
Read the full Workload-Specific Database Design explanation →

A company is designing a database for an IoT application that ingests millions of time-series data points per second. The database must support high-throughput writes and efficient querying of recent data. Which AWS database service is MOST suitable?

Question 90mediummultiple choice
Read the full NAT/PAT explanation →

A company is building a mobile application that requires users to be able to query their order history quickly. The data is stored in Amazon DynamoDB, and each user has up to 10,000 orders over time. The application needs to support pagination and filtering by order date. What is the MOST efficient way to model this data in DynamoDB?

Question 91hardmultiple choice
Read the full Workload-Specific Database Design explanation →

A company is running a production Amazon DynamoDB table that supports a gaming application with millions of concurrent users. The table uses on-demand capacity mode. Recently, the application started experiencing throttling (ProvisionedThroughputExceededException) during peak hours. The company wants to resolve this with minimal operational overhead. What should the company do?

Question 92easymultiple choice
Read the full Workload-Specific Database Design explanation →

A company is using Amazon DynamoDB to store session data for a web application. The session data expires after 24 hours. Which DynamoDB feature should the company use to automatically delete expired items?

Question 93mediummultiple choice
Read the full Workload-Specific Database Design explanation →

A company is migrating an on-premises Oracle database to Amazon Aurora PostgreSQL. The database is used for a financial application that requires complex joins and transactions. Which migration strategy is MOST appropriate?

Question 94hardmultiple choice
Read the full Workload-Specific Database Design explanation →

A company is running a production Amazon RDS for MySQL database that is experiencing performance degradation. Amazon CloudWatch metrics show high CPU utilization and high number of connections. The company has already optimized queries and implemented connection pooling. What is the MOST cost-effective solution to address the high CPU utilization?

Question 95mediummulti select
Read the full Workload-Specific Database Design explanation →

Which TWO of the following are benefits of using Amazon DynamoDB Accelerator (DAX)? (Choose 2.)

Question 96hardmulti select
Read the full Workload-Specific Database Design explanation →

Which THREE of the following are best practices for designing a DynamoDB table for a gaming leaderboard that updates scores frequently and supports queries for top players? (Choose 3.)

Question 97easymulti select
Read the full Workload-Specific Database Design explanation →

Which TWO use cases are best suited for Amazon RDS Multi-AZ deployments? (Choose 2.)

Question 98mediummultiple choice
Read the full Workload-Specific Database Design explanation →

The application uses the IAM role to access the 'orders' DynamoDB table. What is the intended effect of this policy?

Exhibit

Refer to the exhibit.

Consider the following IAM policy attached to an IAM role used by an application:

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Effect": "Allow",
            "Action": [
                "dynamodb:GetItem",
                "dynamodb:Query",
                "dynamodb:PutItem"
            ],
            "Resource": "arn:aws:dynamodb:us-east-1:123456789012:table/orders",
            "Condition": {
                "ForAllValues:StringEquals": {
                    "dynamodb:LeadingKeys": ["${aws:userid}"]
                }
            }
        }
    ]
}
Question 99hardmultiple choice
Read the full Workload-Specific Database Design explanation →

Based on the CLI output, what is true about this RDS instance?

Exhibit

Refer to the exhibit.

Consider the following AWS CLI command output for an Amazon RDS instance:

{
    "DBInstances": [
        {
            "DBInstanceIdentifier": "mydb",
            "DBInstanceClass": "db.r5.large",
            "Engine": "mysql",
            "DBInstanceStatus": "available",
            "MasterUsername": "admin",
            "Endpoint": {
                "Address": "mydb.abcdef123456.us-east-1.rds.amazonaws.com",
                "Port": 3306
            },
            "MultiAZ": false,
            "StorageType": "gp2",
            "AllocatedStorage": 100,
            "ReadReplicaSourceDBInstanceIdentifier": "mydb-primary"
        }
    ]
}
Question 100easymultiple choice
Read the full Workload-Specific Database Design explanation →

What is the purpose of the 'TimeToLiveSpecification' in this template?

Exhibit

Refer to the exhibit.

Consider the following CloudFormation template snippet:

Resources:
  MyDynamoDBTable:
    Type: AWS::DynamoDB::Table
    Properties:
      TableName: "UserSessions"
      AttributeDefinitions:
        - AttributeName: "user_id"
          AttributeType: "S"
        - AttributeName: "session_id"
          AttributeType: "S"
      KeySchema:
        - AttributeName: "user_id"
          KeyType: "HASH"
        - AttributeName: "session_id"
          KeyType: "RANGE"
      ProvisionedThroughput:
        ReadCapacityUnits: 5
        WriteCapacityUnits: 5
      TimeToLiveSpecification:
        AttributeName: "expire_time"
        Enabled: true
Question 101mediummultiple choice
Read the full Workload-Specific Database Design explanation →

A financial services company is migrating an on-premises Oracle database to Amazon RDS for Oracle. The database has a high volume of write transactions and requires minimal downtime during migration. Which AWS service or feature should be used to replicate data continuously to the target RDS instance during the migration?

Question 102easymultiple choice
Read the full Workload-Specific Database Design explanation →

A gaming company runs a leaderboard application on Amazon DynamoDB. The application experiences sudden spikes in read traffic during tournaments. The table uses on-demand capacity and the reads are eventually consistent. However, some users report stale data for several seconds. What is the most likely cause?

Question 103hardmultiple choice
Read the full NAT/PAT explanation →

A healthcare company stores patient records in Amazon DynamoDB. Each record includes a 'patient_id' (partition key) and 'visit_date' (sort key). The company needs to run ad-hoc queries to find all patients seen by a specific doctor within a date range. Which design approach minimizes cost and latency for this query pattern?

Question 104mediummultiple choice
Read the full Workload-Specific Database Design explanation →

A company is designing a database for an IoT application that collects sensor data every second from millions of devices. The data is time-series and must be stored for 90 days, with occasional queries for recent data. Which AWS database solution is MOST cost-effective and performant?

Question 105easymultiple choice
Read the full Workload-Specific Database Design explanation →

A company is using Amazon RDS for PostgreSQL for its transactional database. The application generates reports that query millions of rows, causing high CPU on the primary instance. The reports are not time-sensitive. What is the MOST cost-effective way to offload the reporting queries without affecting write performance?

Question 106hardmultiple choice
Read the full Workload-Specific Database Design explanation →

A company is deploying a globally distributed application with users in the US, Europe, and Asia. The application requires sub-10ms read latency for user profiles stored in Amazon DynamoDB. Writes are less frequent. Which configuration meets the latency requirement while minimizing write conflicts?

Question 107mediummultiple choice
Read the full Workload-Specific Database Design explanation →

A company is migrating a 5 TB Microsoft SQL Server database to Amazon RDS for SQL Server. The database has many stored procedures and triggers. The migration must have minimal downtime. Which approach should be used?

Question 108easymultiple choice
Read the full Workload-Specific Database Design explanation →

A startup is building a mobile app that requires a scalable NoSQL database. The data model includes user profiles with variable attributes that change over time. The database must support high read throughput and low latency. Which AWS database is best suited?

Question 109hardmultiple choice
Read the full Workload-Specific Database Design explanation →

A company uses Amazon RDS for MySQL with a Multi-AZ deployment. During a recent failover, the application experienced a 2-minute downtime because it was connecting to the primary instance endpoint. The company needs to reduce failover downtime to under 30 seconds. What should be done?

Question 110mediummulti select
Read the full NAT/PAT explanation →

Which TWO factors should be considered when choosing between Amazon DynamoDB and Amazon RDS for MySQL for a new e-commerce application with variable traffic patterns?

Question 111hardmulti select
Read the full NAT/PAT explanation →

Which THREE design patterns can improve the performance of a write-heavy application using Amazon DynamoDB?

Question 112easymulti select
Read the full Workload-Specific Database Design explanation →

Which TWO Amazon RDS features can be used to increase the availability of a production database?

Question 113hardmultiple choice
Read the full Workload-Specific Database Design explanation →

An IAM policy is attached to a user to allow read access to the Orders table in DynamoDB. The user reports that a GetItem call for an order returns an 'AccessDeniedException'. What is the likely cause?

Exhibit

Refer to the exhibit.

=== IAM Policy for DynamoDB Access ===
{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Sid": "AllowReadAccess",
            "Effect": "Allow",
            "Action": "dynamodb:GetItem",
            "Resource": "arn:aws:dynamodb:us-east-1:123456789012:table/Orders",
            "Condition": {
                "ForAllValues:StringEquals": {
                    "dynamodb:Attributes": ["order_id", "status"]
                }
            }
        },
        {
            "Sid": "DenyWriteAccess",
            "Effect": "Deny",
            "Action": "dynamodb:*",
            "Resource": "*"
        }
    ]
}
Question 114mediummultiple choice
Read the full Workload-Specific Database Design explanation →

A developer is trying to create a FULLTEXT index on a column in an RDS MySQL instance. The error log shows the index creation failed. What is the most likely cause?

Exhibit

Refer to the exhibit.

=== Amazon RDS MySQL Error Log ===
2023-03-15 10:45:12 123456 [ERROR] [MY-013142] [Server] InnoDB: Table 'mydb.orders' has a FULLTEXT index on column 'description'. The maximum column length for FULLTEXT index is 4294967295. However, the column length is 4294967295 which may cause performance issues.
2023-03-15 10:45:12 123456 [ERROR] [MY-010067] [Server] Cannot create FULLTEXT index on column 'description' because the column is too long.
Question 115mediummultiple choice
Read the full Workload-Specific Database Design explanation →

A company is deploying an RDS MySQL database using the above CloudFormation template. After deployment, the database automatically reboots during the maintenance window. The company wants to reduce the impact of maintenance events. Which parameter change would minimize unavailability?

Exhibit

Refer to the exhibit.

=== CloudFormation Snippet ===
Resources:
  MyDBInstance:
    Type: AWS::RDS::DBInstance
    Properties:
      Engine: MySQL
      DBInstanceClass: db.r5.large
      MultiAZ: true
      StorageType: gp2
      AllocatedStorage: 200
      DBSubnetGroupName: !Ref MyDBSubnetGroup
      VPCSecurityGroups:
        - !Ref MyDBSecurityGroup
      BackupRetentionPeriod: 7
      PreferredBackupWindow: '02:00-03:00'
      PreferredMaintenanceWindow: 'sun:04:00-sun:05:00'
      DBInstanceIdentifier: MyProdDB
      MasterUsername: admin
      MasterUserPassword: '{{resolve:secretsmanager:MyProdDBSecret}}'
Question 116mediummultiple choice
Read the full Workload-Specific Database Design explanation →

A company is migrating an on-premises MySQL database to Amazon RDS for MySQL. The database has a large table with frequent inserts and updates. To minimize downtime during migration, which AWS service should be used?

Question 117hardmultiple choice
Read the full NAT/PAT explanation →

A gaming company uses Amazon DynamoDB with global tables across two regions. They notice increased write latency and throttling during peak hours. The access pattern is mostly writes to a small set of hot partitions. Which design change would best address this?

Question 118easymultiple choice
Read the full NAT/PAT explanation →

A company needs to store JSON documents that are frequently accessed by a web application. The documents have varying attributes and the query pattern includes filtering on multiple fields. Which AWS database service is most suitable?

Question 119hardmultiple choice
Read the full Workload-Specific Database Design explanation →

A company is building a real-time analytics dashboard from IoT sensor data. Data arrives as time-series with millions of writes per second. The dashboard queries the last hour of data with aggregations. Which database design is most cost-effective?

Question 120mediummultiple choice
Read the full Workload-Specific Database Design explanation →

A company uses Amazon RDS for PostgreSQL for its e-commerce platform. The application team reports increasing read latency on the primary instance during sales events. Which action should be taken to reduce read load on the primary?

Question 121mediummultiple choice
Read the full Workload-Specific Database Design explanation →

A company is designing a database for a social media application that needs to handle friend-of-friend queries and recommendation engine traversals. Which AWS database is best suited?

Question 122easymultiple choice
Read the full Workload-Specific Database Design explanation →

A startup needs a fully managed relational database with automated backups and scaling. They expect unpredictable workloads. Which AWS service meets these requirements?

Question 123hardmultiple choice
Read the full Workload-Specific Database Design explanation →

A company uses Amazon DynamoDB for a session management system. They need to store session data with a TTL of 24 hours. However, they notice that expired items are not being deleted promptly, causing storage costs to increase. What is the most likely cause?

Question 124mediummultiple choice
Read the full NAT/PAT explanation →

A company wants to run a MongoDB-compatible database on AWS with automated patching and backups. Which service should they choose?

Question 125easymulti select
Read the full NAT/PAT explanation →

Which TWO design patterns are commonly used to handle hot partitions in Amazon DynamoDB? (Choose 2.)

Question 126mediummulti select
Read the full Workload-Specific Database Design explanation →

Which THREE factors should be considered when choosing between Amazon RDS and Amazon DynamoDB for a new application? (Choose 3.)

Question 127hardmulti select
Read the full Workload-Specific Database Design explanation →

Which TWO techniques can reduce read latency for frequently accessed data in Amazon DynamoDB? (Choose 2.)

Question 128mediummultiple choice
Read the full Workload-Specific Database Design explanation →

A company is migrating an on-premises MongoDB workload to Amazon DocumentDB. The current workload uses secondary indexes heavily for reporting queries. Which design consideration should the company evaluate to ensure optimal performance on DocumentDB?

Question 129hardmultiple choice
Read the full Workload-Specific Database Design explanation →

A financial services company runs an Amazon Aurora MySQL database. The application performs complex joins and aggregations on large tables, causing high CPU utilization on the writer instance. The team wants to reduce load without changing the application code. Which solution would best address this issue?

Question 130easymultiple choice
Read the full Workload-Specific Database Design explanation →

A gaming company uses Amazon DynamoDB as the database for user profiles and game state. The application requires strongly consistent reads for the user's own profile, but eventually consistent reads for leaderboard queries. How should the company design the table and queries?

Question 131mediummultiple choice
Read the full Workload-Specific Database Design explanation →

A media company uses Amazon ElastiCache for Redis to cache database query results and reduce load on the primary database. The cache hit ratio is low because the cache is purged frequently. The team wants to improve the hit ratio without increasing the cache size. Which strategy should they implement?

Question 132hardmultiple choice
Read the full Workload-Specific Database Design explanation →

A company is designing a global e-commerce application that requires a relational database with sub-10ms read latency across multiple AWS Regions. The database will store inventory and product catalog data. Which database design should they choose?

Question 133mediummultiple choice
Read the full NAT/PAT explanation →

A healthcare application stores patient records in Amazon DynamoDB. Each record has a unique patient ID and contains sensitive health information. The application must encrypt data at rest and ensure that only authorized services can access the data. Which combination of design choices meets these requirements?

Question 134easymultiple choice
Read the full Workload-Specific Database Design explanation →

A startup is building a social media application that requires a database to store user relationships (followers, following) and support graph queries. The data volume is expected to grow to tens of terabytes. Which AWS database service is most suitable for this workload?

Question 135mediummultiple choice
Read the full Workload-Specific Database Design explanation →

A company uses Amazon RDS for PostgreSQL to run a reporting application. The reporting queries are complex and take several minutes to complete, causing performance impact on the primary instance. The company wants to isolate the reporting workload without data staleness. Which solution should they implement?

Question 136hardmultiple choice
Read the full Workload-Specific Database Design explanation →

A company is designing a disaster recovery plan for an Amazon DynamoDB table that stores critical session data. The table is provisioned with on-demand capacity. The recovery objective is to have the data available in another AWS Region within 15 minutes of a regional outage. Which design should they choose?

Question 137mediummulti select
Read the full Workload-Specific Database Design explanation →

A company is designing an Amazon RDS for MySQL database for an e-commerce application. Which TWO design strategies will help ensure high availability and automatic failover in the event of a primary instance failure?

Question 138hardmulti select
Read the full NAT/PAT explanation →

A company is using Amazon DynamoDB to store IoT sensor data. The application writes a large volume of data and needs to read recent data by timestamp. The table has a partition key of device_id and a sort key of timestamp. The access pattern is to read the latest data for a specific device. Which TWO design patterns will optimize read performance and reduce costs?

Question 139mediummulti select
Read the full Workload-Specific Database Design explanation →

A company is designing a document database on Amazon DocumentDB. The workload requires high write throughput and needs to support complex queries on nested attributes. Which THREE design considerations should the company evaluate to meet these requirements?

Question 140hardmultiple choice
Read the full Workload-Specific Database Design explanation →

A company is running an Oracle database on Amazon RDS with the configuration shown in the exhibit. The application is experiencing high latency for write operations. The storage is consistently showing high queue depth and write latency. Which change will most improve write performance?

Network Topology
aws rds describe-db-instancesdb-instance-identifier mydbquery 'DBInstances[*].{DBInstanceClass:DBInstanceClassoutput jsonRefer to the exhibit.CLI command output:"DBInstanceClass": "db.r5.large","Engine": "oracle-se2","StorageType": "gp2","AllocatedStorage": 500,"Iops": 1500,"StorageThroughput": 250
Question 141mediummultiple choice
Read the full Workload-Specific Database Design explanation →

A company uses the IAM policy shown in the exhibit to control access to a DynamoDB table. The table has a partition key user_id and a sort key timestamp. The application uses the AWS SDK to query items. When a user tries to query items with a filter condition, they receive an AccessDeniedException. What is the most likely cause?

Exhibit

Refer to the exhibit.

IAM policy document (CloudFormation snippet):
{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": [
        "dynamodb:GetItem",
        "dynamodb:Query",
        "dynamodb:Scan"
      ],
      "Resource": "arn:aws:dynamodb:us-east-1:123456789012:table/mytable",
      "Condition": {
        "ForAllValues:StringEquals": {
          "dynamodb:LeadingKeys": ["user_${aws:userid}"]
        }
      }
    }
  ]
}
Question 142easymultiple choice
Read the full Workload-Specific Database Design explanation →

A company's application is logging the error shown in the exhibit. The application is deployed on Amazon EC2 and connects to an Amazon RDS for MySQL Multi-AZ DB instance. Which configuration change is most likely to resolve this issue?

Exhibit

Refer to the exhibit.

Amazon CloudWatch log snippet:
2023-03-15T10:00:00.000Z [WARN] Connection to database 'customers' timed out. Retrying...
2023-03-15T10:00:05.000Z [ERROR] Maximum retries exceeded. Unable to establish connection to RDS instance 'customers-cluster-1'.
Question 143mediummultiple choice
Read the full Workload-Specific Database Design explanation →

A company is designing a new application that requires a relational database with sub-millisecond read latency for a global user base. The workload is read-heavy with occasional writes. Which database solution should they choose?

Question 144hardmultiple choice
Read the full Workload-Specific Database Design explanation →

A social media application stores user posts in an Amazon RDS for PostgreSQL instance. The application experiences a sudden spike in read traffic during peak hours, causing database bottlenecks. The team needs to improve read scalability without changing the application code. Which solution is MOST cost-effective?

Question 145easymultiple choice
Read the full Workload-Specific Database Design explanation →

A company runs a time-series application that records sensor data every second. The data volume is 500 GB per month and grows continuously. They need to query the last 30 days of data frequently and older data rarely. Which database design is MOST appropriate?

Question 146hardmultiple choice
Read the full NAT/PAT explanation →

A financial services company uses Amazon Aurora MySQL-Compatible Edition for transaction processing. They need to run complex analytical queries on the same data without impacting transactional performance. Which solution meets these requirements?

Question 147mediummultiple choice
Read the full Workload-Specific Database Design explanation →

An e-commerce application uses Amazon DynamoDB as its primary database. The table stores order data with a partition key of 'OrderID' and a sort key of 'OrderDate'. The application frequently queries orders by customer ID (which is not a key attribute). What design change would improve query performance?

Question 148easymultiple choice
Read the full Workload-Specific Database Design explanation →

A startup needs a cost-effective database for a small application that handles both transactional and analytical workloads. They expect low traffic initially but want the database to automatically scale as the business grows. Which database solution is BEST suited?

Question 149hardmultiple choice
Read the full NAT/PAT explanation →

A company runs a document management system using Amazon DocumentDB (with MongoDB compatibility). The application stores large documents (up to 5 MB each) and frequently fetches them by document ID. The team notices increased latency during peak hours. They need to reduce read latency. Which action is MOST effective?

Question 150easymultiple choice
Read the full Workload-Specific Database Design explanation →

A mobile gaming application uses Amazon DynamoDB to store player profiles and game state. The write throughput is high during events, but low otherwise. The company wants to minimize costs while maintaining performance. Which capacity mode should they use?

Question 151hardmultiple choice
Read the full Workload-Specific Database Design explanation →

A company is migrating an on-premises Oracle data warehouse to AWS. The warehouse contains 20 TB of data and supports complex SQL queries with joins and aggregations. The migration should minimize downtime and require minimal changes to existing SQL queries. Which database service is MOST appropriate?

Question 152mediummulti select
Read the full Workload-Specific Database Design explanation →

Which TWO are valid considerations when designing a global database with Amazon Aurora Global Database? (Select TWO.)

Question 153hardmulti select
Read the full Workload-Specific Database Design explanation →

Which TWO are best practices for designing a DynamoDB table for high-traffic e-commerce application? (Select TWO.)

Question 154easymulti select
Read the full Workload-Specific Database Design explanation →

Which THREE are factors to consider when choosing between Amazon RDS and Amazon DynamoDB? (Select THREE.)

Question 155mediummultiple choice
Read the full Workload-Specific Database Design explanation →

Refer to the exhibit. An application team notices that the MySQL RDS instance 'mydb' is running at 80% CPU utilization during peak hours. They need to improve read performance without increasing the CPU load on the primary instance. Which action should they take?

Network Topology
aws rds describe-db-instancesdb-instance-identifier mydbRefer to the exhibit.```"DBInstances": ["DBInstanceIdentifier": "mydb","DBInstanceClass": "db.r5.large","Engine": "mysql","DBInstanceStatus": "available","MasterUsername": "admin","Endpoint": {"Address": "mydb.123456789012.us-east-1.rds.amazonaws.com","Port": 3306},"AllocatedStorage": 100,"StorageType": "gp2","VpcSecurityGroups": [{"VpcSecurityGroupId": "sg-12345678", "Status": "active"}],"DBSubnetGroup": {"DBSubnetGroupName": "default","Subnets": [{"SubnetIdentifier": "subnet-11111111", "SubnetAvailabilityZone": "us-east-1a"},{"SubnetIdentifier": "subnet-22222222", "SubnetAvailabilityZone": "us-east-1b"}"MultiAZ": false,"ReadReplicaSourceDBInstanceIdentifier": null,"BackupRetentionPeriod": 7
Question 156hardmultiple choice
Read the full Workload-Specific Database Design explanation →

Refer to the exhibit. An IAM policy is attached to a role used by an application that accesses the DynamoDB 'Orders' table. The application needs to perform a Scan operation on the table. According to the policy, is the Scan operation allowed?

Exhibit

Refer to the exhibit.

```
{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Effect": "Allow",
            "Action": [
                "dynamodb:GetItem",
                "dynamodb:PutItem",
                "dynamodb:UpdateItem",
                "dynamodb:DeleteItem",
                "dynamodb:Query",
                "dynamodb:Scan"
            ],
            "Resource": "arn:aws:dynamodb:us-east-1:123456789012:table/Orders"
        },
        {
            "Effect": "Deny",
            "Action": "dynamodb:DeleteTable",
            "Resource": "arn:aws:dynamodb:us-east-1:123456789012:table/Orders"
        }
    ]
}
```
Question 157mediummultiple choice
Read the full Workload-Specific Database Design explanation →

Refer to the exhibit. A CloudFormation template creates a DynamoDB table. The application team needs to query orders by customer ID (which is not a key attribute). Which change to the template would enable efficient querying by customer ID?

Exhibit

Refer to the exhibit.

```
Resources:
  MyDynamoDBTable:
    Type: AWS::DynamoDB::Table
    Properties:
      TableName: "Orders"
      AttributeDefinitions:
        - AttributeName: "OrderID"
          AttributeType: "S"
        - AttributeName: "OrderDate"
          AttributeType: "S"
      KeySchema:
        - AttributeName: "OrderID"
          KeyType: HASH
        - AttributeName: "OrderDate"
          KeyType: RANGE
      ProvisionedThroughput:
        ReadCapacityUnits: 10
        WriteCapacityUnits: 5
      SSESpecification:
        SSEEnabled: true
```
Question 158easymultiple choice
Read the full Workload-Specific Database Design explanation →

A company is designing a database for an e-commerce application that requires high availability and automatic failover. The application performs mainly read-heavy workloads with occasional write spikes during flash sales. Which AWS database service is most suitable for this workload?

Question 159mediummultiple choice
Read the full NAT/PAT explanation →

A social media startup stores user posts in Amazon DynamoDB with a partition key of user_id and sort key of post_timestamp. The application frequently queries the five most recent posts for a given user. Which design pattern improves query performance and reduces cost?

Question 160hardmultiple choice
Read the full Workload-Specific Database Design explanation →

A company runs a time-series application on Amazon RDS for PostgreSQL. The table 'events' has 500 million rows and is queried by event_time and event_type. Queries for the last hour are slow despite indexing. Which design change would most improve query performance?

Question 161easymultiple choice
Read the full NAT/PAT explanation →

A company needs to store session data for millions of users with sub-millisecond latency. The data is key-value in nature and can tolerate eventual consistency. Which database service is best suited?

Question 162mediummultiple choice
Read the full Workload-Specific Database Design explanation →

A financial services company runs a critical application on Amazon RDS for Oracle. The workload is write-heavy with frequent small transactions. The DBA notices high latency during peak hours. Which design change would best address this?

Question 163hardmultiple choice
Read the full NAT/PAT explanation →

A gaming company uses Amazon DynamoDB to store player profiles with partition key player_id. The access pattern is to retrieve profiles for multiple players in a single request. The application currently makes separate GetItem calls, causing high latency. Which design pattern reduces latency and cost?

Question 164easymultiple choice
Read the full Workload-Specific Database Design explanation →

A startup needs a fully managed, serverless database for a new web application with unpredictable traffic. The application requires ACID transactions and SQL queries. Which AWS database service should they use?

Question 165mediummultiple choice
Read the full NAT/PAT explanation →

An IoT company ingests sensor data into Amazon DynamoDB. The data has a partition key of device_id and sort key of timestamp. Queries often filter by device_id and a date range. Which design pattern improves query performance and reduces cost?

Question 166hardmultiple choice
Read the full Workload-Specific Database Design explanation →

A company runs a data warehouse on Amazon Redshift. The workload has frequent DELETE and UPDATE operations on a large fact table. Over time, query performance degrades. Which maintenance operation should be scheduled regularly to optimize performance?

Question 167easymulti select
Read the full Workload-Specific Database Design explanation →

Which TWO of the following are valid design considerations when using Amazon DynamoDB for a high-traffic e-commerce application? (Select TWO.)

Question 168mediummulti select
Read the full Workload-Specific Database Design explanation →

Which TWO of the following are recommended best practices for designing a relational database on Amazon RDS? (Select TWO.)

Question 169hardmulti select
Read the full Workload-Specific Database Design explanation →

Which THREE of the following are key considerations when designing a time-series database using Amazon DynamoDB? (Select THREE.)

Question 170mediummultiple choice
Read the full Workload-Specific Database Design explanation →

A company is migrating an on-premises PostgreSQL database to Amazon RDS for PostgreSQL. The database currently uses a custom extension that is not supported by RDS. The application relies heavily on this extension for advanced statistical analysis. Which design approach should the company take to minimize application changes?

Question 171easymultiple choice
Read the full Workload-Specific Database Design explanation →

A startup is building a social media analytics application that ingests high-velocity streaming data from multiple sources. The data consists of JSON objects with varying schemas. The application needs to store this data for real-time querying and later batch processing. Which AWS database solution is most cost-effective and scalable for this workload?

Question 172hardmultiple choice
Read the full Workload-Specific Database Design explanation →

A company is designing a multi-tenant SaaS application using Amazon Aurora PostgreSQL. Each tenant's data must be isolated for security and compliance. The application has a few large tenants and many small tenants. Queries must be able to access data across tenants for reporting, but with strict access controls. Which design best meets these requirements?

Question 173mediummultiple choice
Read the full NAT/PAT explanation →

A gaming company uses Amazon DynamoDB to store player profiles and game state. The access patterns include: (1) lookup by player ID, (2) query by game ID for recent games, and (3) leaderboard queries sorted by score. The current single-table design is causing hot partitions on the leaderboard queries. What design change should the company implement to resolve hot partitions?

Question 174easymultiple choice
Read the full Workload-Specific Database Design explanation →

A company is designing a document management system using Amazon S3 and needs to store metadata such as document ID, owner, creation date, and tags. The metadata must be searchable with low latency, supporting queries like 'Find all documents owned by user X with tag Y created after date Z'. Which AWS database service is most suitable for storing and querying this metadata?

Question 175hardmultiple choice
Read the full Workload-Specific Database Design explanation →

A financial services company runs a critical application on Amazon RDS for MySQL. The database stores transaction data that must be retained for 7 years for regulatory compliance. The current retention policy stores all data in the same table, causing performance degradation on the main transactional table. The company needs to archive data older than 1 year while keeping it queryable. Which design should they implement?

Question 176mediummultiple choice
Read the full NAT/PAT explanation →

A company is building a real-time chat application using Amazon DynamoDB. Each message has a conversation ID, timestamp, sender, and content. The primary access pattern is to retrieve the most recent 50 messages for a given conversation, ordered by timestamp. Which table design minimizes cost and latency?

Question 177easymultiple choice
Read the full NAT/PAT explanation →

A company is migrating an on-premises MongoDB database to AWS. The application uses MongoDB's aggregation pipeline for real-time analytics. Which AWS database service is most compatible and provides the least application changes?

Question 178hardmultiple choice
Read the full Workload-Specific Database Design explanation →

A company uses Amazon RDS for Oracle with a custom application that generates complex hierarchical queries using CONNECT BY. They want to migrate to Amazon Aurora to reduce licensing costs. Which migration strategy requires the fewest application changes?

Question 179mediummulti select
Read the full NAT/PAT explanation →

A company is designing a global e-commerce platform using Amazon DynamoDB. The platform must support strong consistency for inventory updates and eventual consistency for product catalog reads. Which TWO design patterns should the company implement to meet these consistency requirements?

Question 180hardmulti select
Read the full Workload-Specific Database Design explanation →

A company is designing a data lake on Amazon S3 with Amazon Redshift Spectrum for analytics. The data includes JSON logs from web servers. Which THREE design practices should the company follow to optimize query performance and cost?

Question 181easymulti select
Read the full Workload-Specific Database Design explanation →

A company uses Amazon RDS for PostgreSQL for its CRM application. The application experiences intermittent spikes in read traffic. Which TWO actions can the company take to improve read scalability with minimal application changes?

Question 182mediummultiple choice
Read the full Workload-Specific Database Design explanation →

A database administrator is troubleshooting a slow-performing query on an Amazon RDS for MySQL instance. The slow query log shows the above entry. Based on the exhibit, which index would most improve the query performance?

Network Topology
aws rds describe-db-log-filesdb-instance-identifier mydbfilename slowquery.logRefer to the exhibit.```# Log output:# Time: 2023-09-01T10:15:22.123Z# SET timestamp=1693577722
Question 183hardmultiple choice
Read the full Workload-Specific Database Design explanation →

A security engineer created the IAM policy above for an application that reads from a DynamoDB table named UserSessions. The application reports that it cannot query the table using a Global Secondary Index (GSI). The table's GSI is named GSI_UserSessions. Why is the application unable to query the index?

Exhibit

Refer to the exhibit.

```
{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": [
        "dynamodb:GetItem",
        "dynamodb:Query"
      ],
      "Resource": "arn:aws:dynamodb:us-east-1:123456789012:table/UserSessions"
    },
    {
      "Effect": "Deny",
      "Action": "dynamodb:*",
      "Resource": "arn:aws:dynamodb:us-east-1:123456789012:table/UserSessions/index/*"
    }
  ]
}
```
Question 184easymultiple choice
Read the full Workload-Specific Database Design explanation →

A company is running an Amazon RDS for MySQL instance as shown in the exhibit. The application is experiencing high write latency. The instance has a high number of write operations and the storage queue depth is consistently above 100. Which change would most effectively reduce write latency?

Network Topology
aws rds describe-db-instancesdb-instance-identifier mydbquery 'DBInstances[0].{Engine:EngineRefer to the exhibit.```"Engine": "mysql","DBInstanceClass": "db.m5.large","StorageType": "gp2","AllocatedStorage": 100,"MultiAZ": false
Question 185mediummultiple choice
Read the full Workload-Specific Database Design explanation →

A company runs an e-commerce platform on Amazon RDS for PostgreSQL. During a flash sale, the database experiences high write load and read replicas lag significantly. The application uses read replicas for reporting queries. Which design change would most effectively reduce replica lag without compromising write performance?

Question 186hardmultiple choice
Read the full Workload-Specific Database Design explanation →

A company uses Amazon DynamoDB as the primary database for a global gaming application. The application requires single-digit millisecond latency for user profile lookups by user ID. However, some queries need to retrieve all active users in a region (e.g., 'us-east-1') for administrative dashboards, and these queries currently perform full table scans, causing high costs and throttling. What design approach should be taken to optimize this?

Question 187easymultiple choice
Read the full Workload-Specific Database Design explanation →

A company is migrating a MySQL database from on-premises to Amazon RDS for MySQL. The current database has several stored procedures and triggers that use user-defined functions (UDFs) compiled as shared libraries. What is the best practice for handling these UDFs in RDS?

Question 188mediummultiple choice
Read the full NAT/PAT explanation →

A company has a document database workload on Amazon DynamoDB that stores user session data. The application frequently updates session attributes (e.g., last activity timestamp). The current design stores the entire session as a single item and updates the entire item on each session activity. This is causing high write costs and throttling. Which design pattern would reduce write costs and improve performance?

Question 189hardmultiple choice
Read the full NAT/PAT explanation →

A company is designing a multi-tenant SaaS application on Amazon RDS for PostgreSQL. Tenants have vastly different data sizes and access patterns. The current design uses a separate schema per tenant, but some tenants experience slow queries while others are fine. Which approach would best isolate tenant performance and simplify management?

Question 190easymultiple choice
Read the full Workload-Specific Database Design explanation →

A company is using Amazon ElastiCache for Redis as a caching layer for frequently accessed data. The application needs to support caching of session data that must be highly available across multiple Availability Zones. Which ElastiCache configuration should be used?

Question 191mediummultiple choice
Read the full Workload-Specific Database Design explanation →

A company uses Amazon DynamoDB for a time-series IoT workload. Each device sends a data point every minute. The primary key consists of device_id (partition key) and timestamp (sort key). The company wants to efficiently retrieve the latest 10 data points for a specific device. Which query design is most efficient?

Question 192hardmultiple choice
Read the full Workload-Specific Database Design explanation →

A company is using Amazon RDS for Oracle with a very large database (10 TB). They need to migrate to Amazon Aurora PostgreSQL with minimal downtime. The source database is heavily used with constant writes. Which migration strategy is most appropriate?

Question 193easymultiple choice
Read the full NAT/PAT explanation →

A company is migrating an on-premises MongoDB database to Amazon DocumentDB (with MongoDB compatibility). The application uses MongoDB's aggregation pipeline with $lookup and $unwind stages. What should the company verify before migration?

Question 194mediummulti select
Read the full Workload-Specific Database Design explanation →

A company is designing a database solution for a global user base that requires single-digit millisecond read latency for user profile data. The data is eventually consistent and can tolerate a few seconds of staleness. Which TWO AWS services or features should be combined to achieve this latency?

Question 195hardmulti select
Read the full Workload-Specific Database Design explanation →

A company is migrating a legacy Oracle data warehouse to Amazon Redshift. The source uses complex stored procedures with cursors, temporary tables, and PL/SQL. Which THREE design considerations should the company evaluate?

Question 196mediummulti select
Read the full Workload-Specific Database Design explanation →

A company runs a MySQL database on Amazon RDS for a financial application that requires point-in-time recovery (PITR) with a recovery window of at least 35 days. The database is 500 GB in size. Which TWO actions should be taken to meet these requirements?

Question 197hardmulti select
Read the full NAT/PAT explanation →

A company is using Amazon DynamoDB for a gaming leaderboard that updates frequently. They need to maintain a sorted list of top 100 players by score. Which THREE design patterns can achieve this efficiently?

Question 198hardmultiple choice
Read the full Workload-Specific Database Design explanation →

A company runs a large-scale e-commerce platform using Amazon RDS for MySQL with a Multi-AZ deployment. The database has a table 'orders' with 200 million rows. Recently, they added a new index on the 'order_date' column to improve reporting queries. After adding the index, they noticed increased write latency and occasional replication lag. The application writes new orders continuously. The table experiences about 10,000 writes per second. The DB instance is db.r5.4xlarge. The index creation was done using the ALTER TABLE statement with a default algorithm. What is the most likely cause of the increased write latency and replication lag?

Question 199hardmultiple choice
Read the full Workload-Specific Database Design explanation →

A company uses Amazon DynamoDB for a real-time analytics platform. The table has a partition key of 'customer_id' and a sort key of 'event_timestamp'. The table receives 50,000 write requests per second, evenly distributed across 10,000 customers. The application frequently queries the last 10 events for a given customer. The company notices that some queries are throttled during peak hours. The table's write capacity is set to 50,000 WCUs, and read capacity to 10,000 RCUs. The throttled queries are read requests. What is the most likely cause of the throttling, and what should be done to resolve it?

Question 200mediummultiple choice
Read the full Workload-Specific Database Design explanation →

A company is running a MySQL database on an EC2 instance and wants to migrate to Amazon RDS for MySQL with minimal downtime. The database is 500 GB in size and has a high write workload. Which migration approach is most appropriate?

Question 201hardmultiple choice
Read the full Workload-Specific Database Design explanation →

A company uses Amazon DynamoDB for a gaming leaderboard. The application updates scores frequently. Reads must be strongly consistent, and writes must be optimized for cost. Which table design minimizes cost while meeting consistency requirements?

Question 202easymultiple choice
Read the full Workload-Specific Database Design explanation →

A company needs to store application logs for 90 days and run periodic analytical queries. The logs are generated at 1 TB per day. Which storage solution is most cost-effective?

Question 203mediummultiple choice
Read the full Workload-Specific Database Design explanation →

A company is designing a database for a global e-commerce platform that requires sub-millisecond read latencies from multiple AWS regions. The data is mostly read, with occasional writes. Which database solution meets these requirements?

Question 204hardmultiple choice
Read the full Workload-Specific Database Design explanation →

A company runs a MongoDB workload on Amazon EC2 and wants to migrate to Amazon DocumentDB. The database has a total size of 2 TB and experiences 10,000 writes per second during peak. Which migration strategy minimizes downtime?

Question 205easymultiple choice
Read the full Workload-Specific Database Design explanation →

A company needs a database for a serverless web application that stores user sessions. The sessions expire after 24 hours. The database must be highly available and require no server management. Which AWS service is most appropriate?

Question 206mediummultiple choice
Read the full Workload-Specific Database Design explanation →

A company is migrating an on-premises Oracle database to Amazon Aurora PostgreSQL. The database is 1 TB and has complex stored procedures. The migration must be completed within a 4-hour downtime window. Which migration approach is most efficient?

Question 207hardmultiple choice
Read the full Workload-Specific Database Design explanation →

A company runs a financial application on Amazon RDS for PostgreSQL that requires point-in-time recovery (PITR) with a recovery point objective (RPO) of 1 second and recovery time objective (RTO) of 5 minutes. Which configuration meets these requirements at the lowest cost?

Question 208mediummultiple choice
Read the full Workload-Specific Database Design explanation →

A company uses Amazon DynamoDB for a time-series IoT application. Each device sends a data point every second. The application queries data by device ID and timestamp range. Which table design is most efficient?

Question 209mediummulti select
Read the full Workload-Specific Database Design explanation →

A company is designing a database for an analytics workload that requires storing 5 TB of data and running complex SQL queries with joins. The workload is read-heavy and requires high concurrency. Which TWO services are suitable for this workload? (Choose two.)

Question 210hardmulti select
Read the full Workload-Specific Database Design explanation →

A company is migrating a 2 TB Oracle database to Amazon Aurora MySQL. The database has custom PL/SQL packages and triggers. The migration must be completed with minimal application changes. Which THREE steps should the company take? (Choose three.)

Question 211mediummulti select
Read the full Workload-Specific Database Design explanation →

A company runs a PostgreSQL database on Amazon RDS for a CRM application. The database is 500 GB and experiences high read traffic. The company wants to improve read scalability and reduce latency. Which TWO actions should the company take? (Choose two.)

Question 212hardmultiple choice
Read the full Workload-Specific Database Design explanation →

A company runs a critical e-commerce platform on Amazon Aurora MySQL. The database is 2 TB and experiences a sudden spike in write latency during flash sales. The application uses auto-generated UUIDs as primary keys. The CPU utilization on the writer instance is 80%, and the read replicas show low utilization. Write latency has increased from 5 ms to 200 ms. The company needs to reduce write latency with minimal application changes. Which course of action is MOST effective?

Question 213mediummultiple choice
Read the full Workload-Specific Database Design explanation →

A company is building a real-time chat application that requires storing messages with a maximum of 10,000 characters per message. The application needs sub-millisecond latency for reads and writes. The data must be durable and replicated across three Availability Zones. The development team wants to minimize operational overhead. Which AWS database service is most appropriate?

Question 214hardmultiple choice
Read the full Workload-Specific Database Design explanation →

A company uses Amazon RDS for SQL Server with a 4 TB database for a financial reporting application. The database performs nightly batch updates that take 6 hours. The company needs to reduce the batch update time to under 2 hours. The current instance is db.r5.8xlarge with 64 vCPUs and 512 GB memory. The batch process is I/O-bound with high write throughput. Which change will MOST effectively reduce the batch update time?

Question 215easymultiple choice
Read the full Workload-Specific Database Design explanation →

A company is running a MySQL database on Amazon RDS for a web application. The application experiences read-heavy traffic, and the company wants to improve read performance without changing the application code. Which design should the database specialist recommend?

Question 216mediummultiple choice
Read the full Workload-Specific Database Design explanation →

A company is designing a database for a global e-commerce platform that requires low-latency reads and writes across multiple AWS Regions. The database must support strongly consistent reads and provide automatic failover. Which AWS service should the company use?

Question 217hardmultiple choice
Read the full Workload-Specific Database Design explanation →

A company is migrating a PostgreSQL database to Amazon Aurora PostgreSQL. The current database has complex queries that join multiple tables and performs well. After migration, the same queries are slower on Aurora. What is the most likely cause?

Question 218easymultiple choice
Read the full NAT/PAT explanation →

A company uses Amazon DynamoDB for a gaming application that stores player data. The application frequently accesses items by the player's user ID. However, the company also needs to query players by their subscription tier (Gold, Silver, Bronze) and registration date. Which design should the database specialist recommend for this access pattern?

Question 219mediummultiple choice
Read the full NAT/PAT explanation →

A company is running a MongoDB-compatible database on Amazon DocumentDB. The application performs frequent updates to a small subset of fields in documents. The company notices that write latency is high. What should the database specialist recommend to reduce write latency?

Question 220hardmultiple choice
Read the full Workload-Specific Database Design explanation →

A company has a critical application that uses Amazon RDS for MySQL with Multi-AZ deployment. During a recent failure, the automatic failover took 2 minutes, causing application timeout. The company needs to reduce failover time to under 30 seconds. Which solution should the database specialist recommend?

Question 221easymultiple choice
Read the full Workload-Specific Database Design explanation →

A company is designing a database for an IoT application that ingests millions of small sensor readings per second. The data is time-series and queries are mostly range scans over time. The company needs a cost-effective solution with high write throughput. Which AWS service should the database specialist recommend?

Question 222mediummulti select
Read the full Workload-Specific Database Design explanation →

A company is designing a database for an e-commerce platform that needs to store product catalog data. The data is highly relational with many-to-many relationships between products, categories, and suppliers. The platform requires ACID transactions and complex joins. Which TWO AWS database solutions are suitable for this workload? (Choose TWO.)

Question 223hardmulti select
Read the full Workload-Specific Database Design explanation →

A company is moving a legacy on-premises Oracle database to AWS. The database has large tables with complex stored procedures and triggers. The company wants to minimize application changes. Which THREE AWS database services should the database specialist consider? (Choose THREE.)

Question 224easymulti select
Read the full Workload-Specific Database Design explanation →

A company is designing a database for a social media application that requires storing user profiles, posts, and follower relationships. The application needs low-latency queries for user timelines and social graph traversals. Which TWO AWS database services should the database specialist consider? (Choose TWO.)

Question 225mediummultiple choice
Read the full Workload-Specific Database Design explanation →

Refer to the exhibit. A company uses this DynamoDB table to store user session data. The application frequently queries by user_id alone to get all sessions for a user. However, the query is slow. What is the most likely cause?

Network Topology
aws dynamodb describe-tabletable-name UserSessions"Table": {"TableName": "UserSessions","KeySchema": [{"AttributeName": "session_id", "KeyType": "HASH"},{"AttributeName": "user_id", "KeyType": "RANGE"}],"AttributeDefinitions": [{"AttributeName": "session_id", "AttributeType": "S"},{"AttributeName": "user_id", "AttributeType": "S"}"ProvisionedThroughput": {"ReadCapacityUnits": 5,"WriteCapacityUnits": 5},"TableSizeBytes": 5000000,"ItemCount": 10000
Question 226hardmultiple choice
Read the full Workload-Specific Database Design explanation →

Refer to the exhibit. A database specialist is troubleshooting an issue where an application cannot connect to an RDS for MySQL instance using IAM database authentication. The application uses the database user 'db_user1'. The IAM policy shown is attached to the IAM role used by the application. What is the most likely reason for the connection failure?

Exhibit

Consider the following IAM policy attached to an RDS DB instance:

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Effect": "Allow",
            "Action": "rds-db:connect",
            "Resource": "arn:aws:rds-db:us-east-1:123456789012:dbuser:db-ABCDEFGHIJKL01234/db_user1"
        }
    ]
}
Question 227hardmultiple choice
Read the full NAT/PAT explanation →

A company runs a financial analytics platform on Amazon DynamoDB. The table stores transaction records with a partition key of account_id and a sort key of transaction_timestamp. Each account has thousands of transactions. The application frequently queries the most recent transactions for a given account_id, sorted by timestamp in descending order. Recently, as the number of accounts grew, the query latency increased significantly. The DynamoDB table has provisioned read capacity of 10,000 RCUs, and CloudWatch metrics show that consumed read capacity is at 60%. The database specialist suspects that the issue is due to the query pattern. Which action should the database specialist take to reduce query latency?

Question 228mediummultiple choice
Read the full NAT/PAT explanation →

A company runs a customer relationship management (CRM) application on Amazon RDS for PostgreSQL. The application stores customer data in a table with over 50 million rows. The company recently added a new query that searches for customers by their email domain (e.g., '@example.com'). The query uses a LIKE pattern: 'WHERE email LIKE ''%@example.com'''. The query takes over 30 seconds to complete. The DBA has already created a B-tree index on the email column, but it does not help. Which action should the database specialist recommend to improve query performance?

Question 229mediummultiple choice
Study the full AAA explanation →

A company is designing a database for a ride-sharing application that needs to store real-time driver locations and trip history. The application requires low-latency updates to driver locations (every few seconds) and the ability to query nearby drivers within a radius. The company expects millions of drivers and trips. Which AWS database service should the database specialist recommend for storing real-time driver locations and supporting proximity queries?

Question 230hardmultiple choice
Read the full Workload-Specific Database Design explanation →

A company runs a multi-tenant SaaS application on Amazon RDS for PostgreSQL. Each tenant has an isolated database. Recently, the application experienced a sudden increase in connection errors and slow query performance. Amazon RDS instance metrics show high CPU utilization and a high number of database connections. The application uses connection pooling with PgBouncer running on an EC2 instance. The team suspects the issue is due to a few noisy tenants opening too many connections. The current architecture uses one RDS instance per tenant. The company wants to optimize for workload-specific database design to handle noisy tenants without affecting other tenants. Which design should be implemented to isolate noisy tenants and reduce costs?

Question 231mediummultiple choice
Read the full Workload-Specific Database Design explanation →

A financial services company uses Amazon DynamoDB to store transaction records. Each transaction has a partition key of customer_id and a sort key of transaction_timestamp. The application queries transactions for a specific customer within a date range. Recently, the query latency increased significantly for customers with a large number of transactions. The company needs to improve query performance without changing the application code. The table is provisioned with 5000 RCUs and 2000 WCUs. Which design change should be made to optimize for this workload?

Question 232mediummulti select
Read the full NAT/PAT explanation →

A company is migrating an on-premises Oracle database to Amazon Aurora PostgreSQL. The database contains a large table that is partitioned by date. The company wants to minimize downtime during migration and ensure compatibility. Which TWO actions should the company take?

Question 233hardmultiple choice
Read the full Workload-Specific Database Design explanation →

A gaming company uses Amazon ElastiCache for Redis as a leaderboard for real-time game scores. The leaderboard is updated frequently by millions of users. The application uses sorted sets with player scores. Recently, the leaderboard update latency increased and the cache evictions spiked. The company needs to ensure low-latency updates and high availability. The current setup is a single Redis node. Which design should be implemented?

Question 234easymulti select
Read the full Workload-Specific Database Design explanation →

A company is designing a highly available e-commerce application using Amazon DynamoDB. The application requires strongly consistent reads for inventory data and eventual consistency for user session data. Which TWO design decisions should the company make?

Question 235mediummultiple choice
Read the full NAT/PAT explanation →

A media company stores video metadata in Amazon DynamoDB. Each record has a partition key of video_id and a sort key of uploaded_timestamp. The application frequently queries videos by genre and upload date. The access pattern is read-heavy with occasional writes. The table is provisioned with 3000 RCUs and 1000 WCUs. The company notices that queries by genre are slow and consume many RCUs. Which design change should be made to optimize for this workload?

Question 236hardmultiple choice
Read the full NAT/PAT explanation →

A healthcare company stores patient records in Amazon DynamoDB. Each record includes patient_id (partition key), visit_date (sort key), and a large JSON attribute for medical history. The application frequently queries recent visits for a patient and scans historical data for analytics. The scans on the medical history attribute cause high RCU consumption. The company wants to reduce costs and improve query performance. Which design should be implemented?

Question 237mediummulti select
Read the full NAT/PAT explanation →

A company is designing a new application that requires a relational database with read replicas for reporting. The application has unpredictable traffic patterns. The company wants to minimize operational overhead and automatically scale compute capacity. Which THREE services should the company consider?

Question 238easymultiple choice
Read the full NAT/PAT explanation →

A startup is building a social media application that stores user posts in Amazon DynamoDB. The access pattern is to retrieve posts by user_id (partition key) sorted by post_timestamp (sort key) in descending order. The table has a global secondary index (GSI) with the same key structure but with different projection. The application reads from the GSI. Recently, the team noticed that writes to the base table are throttled during peak hours. The write capacity is balanced across partitions. Which design change should be made to reduce write throttling?

Question 239mediummultiple choice
Read the full Workload-Specific Database Design explanation →

A company runs an OLTP application on Amazon RDS for PostgreSQL. The database stores customer orders. The application frequently queries orders by customer_id and order_date. The orders table has 100 million rows. The query performance has degraded over time. The database has a single index on customer_id. The company needs to improve query performance without changing the application code. Which design change should be made?

Question 240hardmultiple choice
Read the full Workload-Specific Database Design explanation →

A company uses Amazon DynamoDB to store IoT sensor data. Each sensor sends data every minute. The table has a partition key of sensor_id and a sort key of timestamp. The application queries data for a sensor over the last hour. The table uses on-demand capacity. Recently, the query latency increased for sensors that generate a high volume of data. The application retrieves all attributes for the sensor data. Which design change should be made to reduce latency?

Question 241mediummulti select
Read the full Workload-Specific Database Design explanation →

A company is migrating a self-managed MongoDB database to Amazon DocumentDB. The database stores user profiles and activity logs. The activity logs are write-heavy and accessed infrequently. The company wants to optimize cost and performance for the workload. Which THREE design decisions should the company make?

Question 242easymultiple choice
Read the full Workload-Specific Database Design explanation →

A company runs a reporting application on Amazon Redshift. The application queries a large fact table that is distributed by a key. The report queries filter on a date column. The report performance is slow. The database has 10 nodes. The company wants to improve query performance by optimizing the table design. Which design change should be made?

Question 243mediummultiple choice
Read the full Workload-Specific Database Design explanation →

A company uses Amazon RDS for MySQL to store e-commerce order data. The orders table has millions of rows and is frequently queried by order_id. The company also runs periodic reports that aggregate data by order_date. The reports are slow. The database has a primary key on order_id. The company needs to improve report performance without affecting OLTP queries. Which design change should be made?

Question 244easymulti select
Read the full Workload-Specific Database Design explanation →

A company is designing a disaster recovery strategy for an Amazon RDS for PostgreSQL database. The database is 2 TB in size. The company wants to recover to a different AWS Region with minimal data loss. Which TWO options meet these requirements?

Question 245mediummultiple choice
Read the full Workload-Specific Database Design explanation →

A company is migrating its on-premises MySQL database to Amazon Aurora MySQL. The current database has a table of 500 GB that is accessed by a nightly batch job that updates 80% of the rows. The company wants to minimize downtime during migration. Which migration strategy is MOST appropriate?

Question 246hardmultiple choice
Read the full NAT/PAT explanation →

A social media application uses Amazon DynamoDB with a table that has a partition key of 'user_id' and a sort key of 'post_timestamp'. The application frequently queries for the 10 most recent posts by a specific user. The query pattern uses a 'begins_with' condition on the sort key with a timestamp prefix. Recently, the query latency has increased significantly for users with many posts. Which design change would improve query performance?

Question 247easymultiple choice
Read the full Workload-Specific Database Design explanation →

A company runs an online transaction processing (OLTP) workload on Amazon RDS for PostgreSQL. The database has grown to 2 TB and the company needs to run complex analytical queries that join multiple large tables. These analytical queries are slowing down the OLTP operations. What is the MOST cost-effective solution to separate the workloads?

Question 248mediummultiple choice
Read the full NAT/PAT explanation →

A gaming company uses Amazon DynamoDB for player profiles. The access pattern is to retrieve a player's profile by 'player_id'. Each profile includes a list of 'achievements' that can grow up to 400 KB. Recently, the application has been encountering 'ProvisionedThroughputExceededException' errors. The table has 1000 read capacity units (RCU) and 500 write capacity units (WCU). The average item size is 200 KB. What is the MOST likely cause of the throttling?

Question 249hardmultiple choice
Read the full Workload-Specific Database Design explanation →

An e-commerce application stores order data in Amazon RDS for MySQL. The database has grown to 1.5 TB and the company needs to retain data for 7 years for compliance. Current queries are becoming slow due to the large table size. The compliance requirement mandates that data older than 1 year must be retained but is rarely accessed. What strategy would reduce the active table size while maintaining compliance?

Question 250easymultiple choice
Read the full NAT/PAT explanation →

A company is designing a document storage system using Amazon DynamoDB. Each document is up to 400 KB and is identified by a unique 'document_id'. The access pattern is to retrieve a document by its ID. Which DynamoDB table design is MOST efficient?

Question 251mediummultiple choice
Read the full Workload-Specific Database Design explanation →

A company is migrating a large Oracle Data Warehouse (10 TB) to Amazon Redshift. The current system uses complex stored procedures, materialized views, and window functions. The company wants to minimize migration effort. Which approach is MOST suitable?

Question 252easymultiple choice
Read the full Workload-Specific Database Design explanation →

A company runs a MySQL database on Amazon RDS and wants to capture data changes to replicate to a separate reporting database. Which AWS service should be used to capture these changes with minimal impact on the source database?

Question 253hardmultiple choice
Read the full Workload-Specific Database Design explanation →

A company is designing a time-series database for IoT sensor data using Amazon DynamoDB. Each sensor sends a reading every second. The table uses 'sensor_id' as partition key and 'timestamp' as sort key. The application queries for the last hour of data for a specific sensor. The query uses 'KeyConditionExpression' with 'timestamp' between start and end time. The table has auto-scaling enabled. However, the query latency is high. What is the MOST likely cause?

Question 254mediummulti select
Read the full NAT/PAT explanation →

A company is designing a database for a global e-commerce platform. The application requires single-digit millisecond read and write latency for user sessions, and must handle millions of requests per second. The data is key-value in nature. Which TWO AWS services should the company consider? (Choose two.)

Question 255hardmulti select
Read the full Workload-Specific Database Design explanation →

A company is migrating a 3 TB Oracle database to Amazon Aurora PostgreSQL. The database has a heavy OLTP workload with many small transactions. The migration must have minimal downtime. Which TWO strategies should the company use? (Choose two.)

Question 256mediummulti select
Read the full NAT/PAT explanation →

A company is building a real-time leaderboard for a mobile game using Amazon DynamoDB. The leaderboard displays the top 100 players by score. The table has 'game_id' as partition key and 'player_id' as sort key. The score is updated frequently. Which THREE design patterns should the company implement to ensure low-latency reads for the leaderboard? (Choose three.)

Question 257mediummultiple choice
Read the full Workload-Specific Database Design explanation →

A gaming company runs a global leaderboard on Amazon DynamoDB. The leaderboard is updated frequently and must return the top 100 scores in milliseconds. The current design uses a single table with a Global Secondary Index (GSI) on score. However, the query to retrieve top scores often throttles under load. Which design change would best improve performance?

Question 258hardmultiple choice
Read the full Workload-Specific Database Design explanation →

A financial services company uses Amazon RDS for MySQL with Multi-AZ and read replicas. The application suddenly reports increased write latency. The DB instance is a db.r5.large with 300 GB of General Purpose SSD (gp2) storage. CloudWatch metrics show Write IOPS is at 2,500 and Write Latency averages 50 ms. What is the most likely cause?

Question 259easymultiple choice
Read the full Workload-Specific Database Design explanation →

A startup is building a social media application with a news feed feature. The feed must be personalized and updated in real-time as users post. Which AWS database service is best suited for this workload?

Question 260mediummulti select
Read the full Workload-Specific Database Design explanation →

A company is migrating an on-premises Oracle database with complex stored procedures and triggers to AWS. They want to minimize code changes. Which two AWS database services should they consider? (Choose two.)

Question 261hardmulti select
Read the full Workload-Specific Database Design explanation →

A company runs an e-commerce platform on Amazon Aurora MySQL. The platform experiences high traffic during flash sales. To handle the load, they want to offload read traffic to read replicas. However, they are concerned about replication lag causing stale data for inventory checks. Which three strategies can reduce replication lag? (Choose three.)

Question 262easymulti select
Read the full Workload-Specific Database Design explanation →

A company wants to store session state for a web application that runs on Amazon EC2 instances behind an Application Load Balancer. The session data is ephemeral and must be highly available. Which two AWS services are suitable for this use case? (Choose two.)

Question 263hardmultiple choice
Read the full Workload-Specific Database Design explanation →

An application using the above IAM policy is trying to perform a Scan operation on the 'Orders' table. What will happen?

Exhibit

Refer to the exhibit.

IAM policy:
{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": [
        "dynamodb:GetItem",
        "dynamodb:PutItem",
        "dynamodb:UpdateItem",
        "dynamodb:DeleteItem",
        "dynamodb:Query"
      ],
      "Resource": "arn:aws:dynamodb:us-east-1:123456789012:table/Orders"
    },
    {
      "Effect": "Deny",
      "Action": "dynamodb:Scan",
      "Resource": "*"
    }
  ]
}
Question 264mediummultiple choice
Read the full Workload-Specific Database Design explanation →

A developer is designing a DynamoDB table for an order management system using the above CloudFormation template. The application needs to query orders by CustomerID. The current design has a GSI on CustomerID. However, the developer notices that the GSI has low write throughput and often throttles. What is the most cost-effective way to improve write throughput on the GSI?

Exhibit

Refer to the exhibit.

CloudFormation snippet:
"OrdersTable": {
  "Type": "AWS::DynamoDB::Table",
  "Properties": {
    "TableName": "Orders",
    "AttributeDefinitions": [
      {"AttributeName": "OrderID", "AttributeType": "S"},
      {"AttributeName": "CustomerID", "AttributeType": "S"}
    ],
    "KeySchema": [
      {"AttributeName": "OrderID", "KeyType": "HASH"}
    ],
    "GlobalSecondaryIndexes": [
      {
        "IndexName": "CustomerIndex",
        "KeySchema": [
          {"AttributeName": "CustomerID", "KeyType": "HASH"}
        ],
        "Projection": {
          "ProjectionType": "ALL"
        },
        "ProvisionedThroughput": {
          "ReadCapacityUnits": 5,
          "WriteCapacityUnits": 5
        }
      }
    ],
    "ProvisionedThroughput": {
      "ReadCapacityUnits": 5,
      "WriteCapacityUnits": 5
    }
  }
}
Question 265mediummultiple choice
Read the full Workload-Specific Database Design explanation →

An application is receiving the error shown in the exhibit. The application uses connection pooling. The RDS instance is a db.r5.large with max_connections set to 1000. What is the most likely cause?

Exhibit

Refer to the exhibit.

Error log from application connecting to Amazon RDS for MySQL:
"ERROR 1040 (08004): Too many connections"

Current RDS configuration: db.r5.large, max_connections = 1000 (default).
Question 266easymultiple choice
Read the full NAT/PAT explanation →

A company needs to store time-series data from IoT sensors. Each sensor sends a reading every minute. The data is rarely accessed after 30 days. The query pattern is to retrieve all readings for a specific sensor within a time range. Which AWS database is most cost-effective?

Question 267hardmultiple choice
Read the full Workload-Specific Database Design explanation →

A company runs a global application using Amazon Aurora Global Database. The primary region is us-east-1, and secondary regions are eu-west-1 and ap-southeast-1. The application reports that writes to the primary are taking longer than expected. What is the most likely cause?

Question 268mediummultiple choice
Read the full NAT/PAT explanation →

A company uses Amazon DynamoDB to store user profiles. The access pattern is mostly GetItem by user_id. They want to reduce costs. Which design change is most effective?

Question 269easymultiple choice
Read the full Workload-Specific Database Design explanation →

A company needs to store and query graph data (nodes and edges) for a social network. They require low-latency traversals. Which AWS database is best suited?

Question 270mediummultiple choice
Read the full Workload-Specific Database Design explanation →

A data analyst reports that a nightly ETL job to Amazon Redshift is failing with timeout errors shown in the exhibit. The cluster is a dc2.large with 2 nodes. The ETL job inserts large volumes of data. What is the most likely cause?

Exhibit

Refer to the exhibit.

CloudWatch Logs snippet:
"2023-01-15T10:00:00Z [ERROR] ... Timeout error while writing to Amazon Redshift cluster."

Cluster configuration: dc2.large, 2 nodes, RA3 nodes not used.
Question 271hardmultiple choice
Read the full NAT/PAT explanation →

A company is designing a document management system using Amazon DocumentDB. Each document is up to 10 MB. The application needs to retrieve multiple documents by their IDs in a single request. The IDs are known at query time. Which query pattern is most efficient?

Question 272mediummultiple choice
Read the full Workload-Specific Database Design explanation →

A social media application stores user posts in a DynamoDB table with a partition key of user_id and a sort key of timestamp. The most frequent query is to retrieve the 10 most recent posts for a given user. Which secondary index design would optimize this query?

Question 273hardmultiple choice
Read the full Workload-Specific Database Design explanation →

A company runs an OLTP workload on an RDS for MySQL instance. The database has a table with 50 million rows. The application frequently runs queries that join this table with a small lookup table (1000 rows) using a foreign key. The queries are slow. Which design change would most improve performance?

Question 274easymultiple choice
Read the full Workload-Specific Database Design explanation →

A startup wants to store session data for a web application. Each session is small (under 1 KB) and accessed frequently with low latency. The data can be ephemeral and does not require complex queries. Which AWS database service is most suitable?

Question 275hardmultiple choice
Read the full Workload-Specific Database Design explanation →

A company is designing a database for a global IoT application that ingests millions of events per second. Each event includes a device ID, timestamp, and sensor readings. The requirement is to store data for historical analysis and to support queries that aggregate data by device ID over time ranges. The team needs a cost-effective solution that can scale write throughput. Which database design is most appropriate?

Question 276mediummultiple choice
Read the full Workload-Specific Database Design explanation →

A company runs a financial application that requires ACID transactions on a relational database. The workload has a high volume of writes and reads, and the team wants to minimize operational overhead. Which AWS database service should they choose?

Question 277easymultiple choice
Read the full Workload-Specific Database Design explanation →

A gaming company wants to store player profiles and game state. The data is accessed via a REST API and must be highly available with single-digit millisecond latency. The schema is simple and may evolve over time. Which database should they use?

Question 278hardmultiple choice
Read the full NAT/PAT explanation →

A company has a multi-player game that uses DynamoDB to store game state. The access pattern is write-heavy, and the game state for each active game session is updated frequently. The team notices throttling on the table during peak hours. The table has a partition key of game_id and no sort key. What design change would best reduce throttling?

Question 279mediummultiple choice
Read the full Workload-Specific Database Design explanation →

A company is migrating an on-premises Oracle data warehouse to AWS. The warehouse contains 50 TB of data and runs complex queries that involve joins and aggregations. The team wants to minimize migration effort and cost while maintaining query performance. Which AWS service should they use?

Question 280easymultiple choice
Read the full Workload-Specific Database Design explanation →

A company needs to store and query JSON documents that have varying attributes. The workload is read-heavy, and the team wants to use SQL-like queries. Which service is most appropriate?

Question 281mediummulti select
Read the full Workload-Specific Database Design explanation →

Which TWO factors should you consider when choosing between Amazon RDS and Amazon DynamoDB for a new application?

Question 282hardmulti select
Read the full NAT/PAT explanation →

Which THREE design patterns are commonly used to optimize DynamoDB performance for write-heavy workloads?

Question 283mediummulti select
Read the full Workload-Specific Database Design explanation →

Which TWO of the following are advantages of using Amazon Aurora over standard RDS for MySQL?

Question 284mediummultiple choice
Read the full Workload-Specific Database Design explanation →

A company is designing a database for an e-commerce platform that stores product catalog data. The catalog has frequent reads and occasional writes. The data is highly relational but the team wants the lowest possible latency for read queries. Which database service should they choose?

Question 285hardmultiple choice
Read the full Workload-Specific Database Design explanation →

A financial services company runs a core banking application on Amazon RDS for MySQL. They need to maintain a full audit trail of all changes to customer account balances for regulatory compliance. The audit trail must be immutable and queryable for up to 7 years. Which solution meets these requirements with minimal impact on the source database?

Question 286easymultiple choice
Read the full Workload-Specific Database Design explanation →

A startup is building a social media application. User profiles, posts, and comments have relationships but the team expects rapid growth and wants to scale horizontally with no single points of failure. They need a database that supports flexible schemas for different content types. Which database service is most appropriate?

Question 287mediummultiple choice
Read the full NAT/PAT explanation →

A company is running a MongoDB-compatible workload on Amazon DocumentDB. They are experiencing high write latency during peak hours. The current cluster has one instance (db.r5.large) with 100 GB storage. Which change is most likely to improve write performance?

Question 288hardmultiple choice
Read the full Workload-Specific Database Design explanation →

A company uses Amazon RDS for PostgreSQL to store sensor data. Each sensor sends a row every second. The table has grown to 500 GB and queries filtering on a timestamp column are slow even with an index. The team wants to improve query performance while keeping the data online. Which approach should they take?

Question 289easymultiple choice
Read the full Workload-Specific Database Design explanation →

A mobile gaming company needs a database to store player scores and leaderboards. The data must be updated in real time as players finish games. The database must support high write throughput and provide sub-millisecond read latency for leaderboard queries. Which database is best suited?

Question 290mediummultiple choice
Read the full Workload-Specific Database Design explanation →

A company uses Amazon RDS for Oracle with a Multi-AZ deployment for a critical OLTP application. During a recent failover test, they noticed that the application experienced a two-minute downtime. The team wants to reduce downtime to under 30 seconds during automatic failovers. What should they do?

Question 291hardmulti select
Read the full NAT/PAT explanation →

A company runs a web application on Amazon EC2 instances behind an Application Load Balancer. The application uses Amazon RDS for MySQL. Recently, the database CPU utilization spikes to 100% during peak hours. The team observes that the spike is caused by a large number of slow queries. They need to identify and resolve the issue with minimal disruption. Which combination of steps should they take? (Choose two.)

Question 292mediummultiple choice
Read the full Workload-Specific Database Design explanation →

A company is migrating an on-premises MySQL database to Amazon Aurora MySQL. The database is 2 TB and the migration must have minimal downtime. The network bandwidth between the on-premises data center and AWS is 1 Gbps. Which migration approach is most appropriate?

Question 293easymultiple choice
Read the full Workload-Specific Database Design explanation →

A company needs to store and analyze JSON documents that contain nested fields. The data is used for real-time dashboards and ad-hoc queries. The team wants a fully managed solution that supports both key-value lookups and SQL-like queries. Which AWS service should they use?

Question 294easymultiple choice
Read the full Workload-Specific Database Design explanation →

A company uses Amazon DynamoDB for a session management store. The application writes and reads session data frequently. The team notices that write requests occasionally fail with ProvisionedThroughputExceededException. They want a cost-effective solution to handle these bursts. What should they do?

Question 295hardmultiple choice
Read the full Workload-Specific Database Design explanation →

A company has a MySQL database that stores user profile data. The database is 1 TB and growing. The team wants to archive inactive user profiles that haven't been accessed in over 1 year. The archived data must be queryable but at a slower performance tier. Which approach is most cost-effective?

Question 296mediummultiple choice
Read the full Workload-Specific Database Design explanation →

A company is designing a database for a global application that requires active-active replication across two AWS Regions. The database must support multi-master writes with conflict resolution. Which AWS database service should they use?

Question 297hardmultiple choice
Read the full Workload-Specific Database Design explanation →

A company runs a critical Oracle database on Amazon RDS. The database has a large table that is frequently accessed by multiple applications. The team wants to implement caching to reduce the load on the database. The cached data must be strongly consistent with the database. Which caching strategy should they use?

Question 298easymultiple choice
Read the full Workload-Specific Database Design explanation →

A company is building a real-time analytics dashboard for IoT sensor data. The data arrives as JSON and needs to be stored in a way that supports fast ingestion and complex queries. Which database service is best suited?

Question 299mediummultiple choice
Read the full Workload-Specific Database Design explanation →

A company needs to store and manage user sessions for a web application. The application runs on multiple EC2 instances, and sessions must be accessible from any instance. The team wants a fully managed, highly available, and low-latency solution. Which AWS service should they use?

Question 300hardmulti select
Read the full Workload-Specific Database Design explanation →

A company uses Amazon Aurora MySQL for an OLTP application. The database has a buffer pool cache hit ratio of 99%. However, the application still experiences high latency for some queries. Which of the following is the most likely cause? (Choose two.)

Question 301easymultiple choice
Read the full Workload-Specific Database Design explanation →

A company wants to run a graph database for a social network application. The data model involves users, posts, comments, and likes, with many-to-many relationships. Which AWS database service is most appropriate?

Question 302mediummultiple choice
Read the full Workload-Specific Database Design explanation →

A company runs a reporting application that queries an Amazon RDS for PostgreSQL database. The queries are complex and take a long time to run, causing performance degradation on the primary instance. The team wants to improve query performance without affecting the transactional workload. Which solution should they use?

Question 303hardmulti select
Read the full Workload-Specific Database Design explanation →

A company uses Amazon DynamoDB to store order data. The table has a primary key (OrderID) and a Global Secondary Index (GSI) on CustomerID. The application often queries for all orders of a customer sorted by order date. The GSI projects only the keys. The queries are slow. What should the team do to improve query performance? (Choose two.)

Question 304mediummultiple choice
Read the full Workload-Specific Database Design explanation →

A company runs an e-commerce application on Amazon RDS for MySQL. The application experiences read-heavy traffic during flash sales. The development team wants to offload read traffic without changing the application code. Which solution should be used?

Question 305hardmultiple choice
Read the full Workload-Specific Database Design explanation →

A financial services company uses Amazon DynamoDB to store transaction records. The table has a partition key of 'AccountId' and a sort key of 'TransactionDate'. The company needs to run analytical queries that aggregate transactions by account and month. Currently, queries are slow due to full table scans. Which design change will improve query performance most effectively?

Question 306easymultiple choice
Read the full Workload-Specific Database Design explanation →

A company needs to migrate an on-premises PostgreSQL database to Amazon Aurora PostgreSQL. The database is 2 TB in size and has a 24/7 uptime requirement. Which AWS service should be used to perform the migration with minimal downtime?

Question 307hardmultiple choice
Read the full Workload-Specific Database Design explanation →

A company uses Amazon RDS for MySQL with Multi-AZ. During a recent failover test, the database experienced a 5-minute write outage. The application can tolerate up to 1 minute of downtime. Which solution should be used to reduce the failover time?

Question 308mediummultiple choice
Read the full Workload-Specific Database Design explanation →

A company is designing a database for a social media application that stores user posts. Each post can have multiple tags. The workload requires low-latency queries to find all posts with a specific tag. Which database design is most suitable?

Question 309easymultiple choice
Read the full Workload-Specific Database Design explanation →

A company uses Amazon DynamoDB to store session data for a web application. The table has a partition key of 'SessionId'. The company wants to automatically expire sessions after 1 hour. Which feature should be used?

Question 310mediummultiple choice
Read the full Workload-Specific Database Design explanation →

A company runs an Oracle database on Amazon RDS. The database is used by multiple applications, and the company needs to capture all data modification language (DML) changes for auditing. Which solution should be used?

Question 311hardmultiple choice
Read the full Workload-Specific Database Design explanation →

A company uses Amazon Aurora MySQL for a SaaS application. Each tenant has a separate database. The company wants to implement a centralized monitoring solution that collects performance metrics from all tenant databases. The solution should be cost-effective and require minimal overhead. Which approach should be used?

Question 312easymultiple choice
Read the full Workload-Specific Database Design explanation →

A company needs to store JSON documents that are up to 10 KB in size. The documents are accessed by a primary key, and the company requires single-digit millisecond latency. Which database service should be used?

Question 313mediummulti select
Read the full Workload-Specific Database Design explanation →

A company is designing a database for an IoT application that ingests millions of sensor readings per second. The data is time-series and is queried to generate reports on average temperature over the last hour. Which TWO database solutions are most suitable for this workload?

Question 314hardmulti select
Read the full Workload-Specific Database Design explanation →

A company is migrating a large Oracle data warehouse to Amazon Redshift. The source database has many complex stored procedures, views, and joins. Which THREE actions should the company take during the migration?

Question 315easymulti select
Read the full Workload-Specific Database Design explanation →

A company runs a web application that uses Amazon RDS for MySQL. The database frequently experiences high CPU utilization due to many concurrent connections. The application uses connection pooling at the application layer. Which TWO approaches can reduce CPU load on the database?

Question 316mediummultiple choice
Read the full Workload-Specific Database Design explanation →

A social media startup is designing a database for user activity feeds. Each user follows up to 5,000 other users. The feed must show the latest 100 posts from followed users with latency under 200ms. Reads are 10x writes. Which database design best meets these requirements?

Question 317hardmultiple choice
Read the full NAT/PAT explanation →

An e-commerce platform uses Amazon DynamoDB for a shopping cart table with partition key 'user_id' and sort key 'product_id'. The table experiences throttled write requests during flash sales. The access pattern includes reading the entire cart at checkout. Which design change would improve write performance without changing the read pattern?

Question 318easymultiple choice
Read the full Workload-Specific Database Design explanation →

A company wants to store and analyze time-series sensor data from millions of IoT devices. The data is append-only and rarely updated. Queries aggregate data over time ranges. Which AWS database service is most cost-effective and performant for this workload?

Question 319mediummultiple choice
Read the full Workload-Specific Database Design explanation →

A financial services company needs a database for trade settlement records. Each trade must be processed exactly once and the database must ensure ACID compliance across multiple rows. The workload is write-intensive with moderate reads. Which AWS database service should they choose?

Question 320hardmultiple choice
Read the full Workload-Specific Database Design explanation →

A gaming company uses Amazon DynamoDB to store player profiles. The table has partition key 'player_id' and sort key 'game_id'. During a new game launch, write traffic to a subset of players (influencers) spikes, causing throttling. The table uses on-demand capacity. Which solution resolves the hot key issue?

Question 321easymultiple choice
Read the full Workload-Specific Database Design explanation →

A startup is building a multi-tenant SaaS application where each tenant's data must be isolated. The data model is relational with complex joins. Which database deployment model is most appropriate?

Question 322mediummultiple choice
Read the full Workload-Specific Database Design explanation →

A company uses Amazon DynamoDB for a high-traffic leaderboard application that updates scores in real-time. The table has partition key 'game_id' and sort key 'player_id'. Queries retrieve top 10 players by score for each game. Which secondary index design is most efficient?

Question 323hardmultiple choice
Read the full NAT/PAT explanation →

A media company stores video metadata in Amazon DynamoDB. The table has partition key 'video_id' and sort key 'upload_date'. The application frequently queries videos by 'category' and 'status'. The access pattern changes over time. Which design minimizes cost and maximizes query flexibility?

Question 324easymultiple choice
Read the full Workload-Specific Database Design explanation →

A company needs to store and query a graph of relationships between users for a recommendation engine. The queries involve traversing multiple edges. Which AWS database service is most suitable?

Question 325mediummulti select
Read the full Workload-Specific Database Design explanation →

A company is designing a database for a global e-commerce platform with strong consistency requirements. The database must support cross-region disaster recovery with RPO < 1 second and RTO < 1 minute. Which TWO AWS database services meet these requirements?

Question 326hardmulti select
Read the full NAT/PAT explanation →

A company runs a MySQL-compatible database on Amazon RDS for a mission-critical application. The database experiences high write latency due to frequent index updates. The team wants to redesign the database to reduce write amplification and improve insert performance. Which TWO design changes could help?

Question 327mediummulti select
Read the full Workload-Specific Database Design explanation →

A company is migrating an on-premises MongoDB workload to Amazon DocumentDB. The workload includes aggregation pipelines with $lookup and $group operations. The team wants to ensure minimal performance impact. Which THREE steps should they take?

Question 328hardmultiple choice
Read the full Workload-Specific Database Design explanation →

Refer to the exhibit. An application uses Cognito identity pools to authenticate users and dynamodb:LeadingKeys condition to restrict access to items where the partition key matches the user's sub. Some users report that they can see items belonging to other users. What is the most likely cause?

Exhibit

Refer to the exhibit.

```json
{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": [
        "dynamodb:GetItem",
        "dynamodb:PutItem",
        "dynamodb:UpdateItem",
        "dynamodb:DeleteItem"
      ],
      "Resource": "arn:aws:dynamodb:us-east-1:123456789012:table/Orders",
      "Condition": {
        "ForAllValues:StringEquals": {
          "dynamodb:LeadingKeys": [
            "${cognito-identity.amazonaws.com:sub}"
          ]
        }
      }
    }
  ]
}
```
Question 329mediummultiple choice
Read the full Workload-Specific Database Design explanation →

Refer to the exhibit. A CloudFormation stack was deployed to create an RDS instance. The application team reports they cannot connect to the database using the endpoint provided. The security group allows inbound traffic on port 3306 from the application's security group. What is the most likely cause?

Network Topology
aws cloudformation describe-stacksstack-name MyStackquery "Stacks[0].Outputs"Refer to the exhibit.```"OutputKey": "RDSEndpoint","OutputValue": "mydb.c9abcdefghi.us-east-1.rds.amazonaws.com","Description": "RDS endpoint"},"OutputKey": "DBName","OutputValue": "MyDB","Description": "Database name""OutputKey": "MasterUsername","OutputValue": "admin","Description": "Master username"
Question 330hardmultiple choice
Read the full Workload-Specific Database Design explanation →

Refer to the exhibit. The exhibit shows CloudWatch metrics from an Amazon RDS for PostgreSQL instance. The application is experiencing slow query performance. Which is the most likely cause?

Exhibit

Refer to the exhibit.

```json
{
  "MemoryReservation": {
    "Value": 500
  },
  "MemoryUsage": {
    "Value": 450
  },
  "ActiveTransactions": {
    "Value": 20
  },
  "DatabaseConnections": {
    "Value": 100
  },
  "ReadIOPS": {
    "Value": 5000
  },
  "WriteIOPS": {
    "Value": 2000
  },
  "ReadLatency": {
    "Value": 2.5
  },
  "WriteLatency": {
    "Value": 5.0
  }
}
```
The exhibit shows CloudWatch metrics from an Amazon RDS for PostgreSQL instance (db.r5.large, 16 GB memory, 5000 provisioned IOPS). The application is experiencing slow query performance.
Question 331mediummultiple choice
Read the full Workload-Specific Database Design explanation →

A company is designing a relational database for an e-commerce application that requires high availability and automated failover across AWS Regions. Which AWS database service should they use?

Question 332hardmultiple choice
Read the full Workload-Specific Database Design explanation →

A financial services company needs to enforce row-level security on a MySQL database hosted on Amazon RDS. They want to restrict access so that each application user can only see their own data. Which approach should they take?

Question 333easymultiple choice
Read the full Workload-Specific Database Design explanation →

A company is migrating an on-premises Oracle OLTP workload to AWS. The database has complex stored procedures and requires minimal code changes. Which AWS database service is the most suitable target?

Question 334hardmultiple choice
Read the full Workload-Specific Database Design explanation →

A company runs a critical PostgreSQL database on Amazon RDS and needs to implement point-in-time recovery (PITR) with a recovery window of the last 35 days. Currently, automated backups are set to retain for 35 days. The database size is 500 GB. What additional configuration is required?

Question 335easymultiple choice
Read the full Workload-Specific Database Design explanation →

A social media startup is selecting a database for user profiles with a flexible schema and high write throughput. The application is built on Node.js and requires low-latency access. Which database should they choose?

Question 336mediummultiple choice
Read the full Workload-Specific Database Design explanation →

A company needs to run complex analytical queries on structured data in Amazon S3 without loading data into a database. The queries must execute quickly and support standard SQL. Which service should they use?

Question 337mediummultiple choice
Read the full Workload-Specific Database Design explanation →

A company is designing a global application that requires a database with multi-master writes across multiple AWS Regions with sub-second conflict resolution. Which AWS database service should they choose?

Question 338easymultiple choice
Read the full Workload-Specific Database Design explanation →

A company needs to store JSON documents that require complex querying on nested attributes. The database must support ACID transactions and be fully managed. Which service should they use?

Question 339hardmultiple choice
Read the full Workload-Specific Database Design explanation →

A company has an Amazon RDS for PostgreSQL instance that is running out of storage. The database is 2 TB in size and growing at 10 GB per day. They need a solution that allows automatic storage scaling with minimal downtime. What should they do?

Question 340mediummulti select
Read the full Workload-Specific Database Design explanation →

Which TWO database services are suitable for storing time-series data with high ingestion rates? (Select TWO.)

Question 341hardmulti select
Read the full Workload-Specific Database Design explanation →

Which THREE factors should be considered when choosing between Amazon DynamoDB and Amazon Aurora for a new application? (Select THREE.)

Question 342easymulti select
Read the full Workload-Specific Database Design explanation →

Which TWO AWS services can be used to cache database query results to improve read performance? (Select TWO.)

Question 343mediummultiple choice
Read the full Workload-Specific Database Design explanation →

A company is designing a database for an IoT application that ingests millions of sensor readings per second. Each reading is a small JSON document (less than 1 KB) and must be stored with low latency. Queries are primarily by device ID and timestamp range. The team expects to rarely update or delete old data. Which AWS database solution is MOST cost-effective and performant?

Question 344hardmultiple choice
Read the full Workload-Specific Database Design explanation →

A financial services company runs a critical PostgreSQL database on Amazon RDS. The database stores transaction records and requires point-in-time recovery (PITR) with a recovery window of 35 days. The database size is 500 GB and grows at 10 GB per day. The team wants to minimize storage costs while meeting the recovery SLA. Which backup strategy should they use?

Question 345easymultiple choice
Read the full Workload-Specific Database Design explanation →

A startup is building a social media application that requires storing user profiles, posts, comments, and likes. The workload has variable traffic, with spikes after marketing campaigns. The team expects to run complex JOIN queries to generate a user's feed. Which AWS database service is MOST suitable for this relational workload?

Question 346mediummultiple choice
Read the full NAT/PAT explanation →

A company uses Amazon DynamoDB to store session data for a web application. During peak hours, they experience occasional ProvisionedThroughputExceededException errors. The table has a read capacity of 1000 RCU and a write capacity of 500 WCU. The application uses strongly consistent reads. The traffic pattern shows short bursts of reads exceeding 1000 RCU. What is the MOST cost-effective way to handle these bursts without changing the application?

Question 347hardmultiple choice
Read the full NAT/PAT explanation →

A media company stores video metadata in Amazon Aurora MySQL. The application performs frequent range queries on a 'creation_date' column. The table has 10 million rows. The team notices that queries filtering on 'creation_date' are slow despite an index on that column. The query pattern is: SELECT * FROM videos WHERE creation_date BETWEEN '2023-01-01' AND '2023-01-31' ORDER BY creation_date LIMIT 100. The execution plan shows a full index scan. What is the MOST likely cause?

Question 348easymultiple choice
Read the full Workload-Specific Database Design explanation →

A company runs a MySQL database on Amazon RDS for an e-commerce platform. The application performs frequent INSERT and UPDATE operations on the 'orders' table. The team notices an increase in disk I/O and CPU usage. They want to optimize the database for write-heavy workloads without changing the application. Which option is the MOST effective?

Question 349mediummultiple choice
Read the full Workload-Specific Database Design explanation →

A company uses Amazon Redshift for data warehousing. They run a query that joins a large fact table (10 billion rows) with a small dimension table (1 million rows). The query is slow. The distribution style of the fact table is AUTO, and the dimension table has DISTSTYLE ALL. The join key is user_id. What is the MOST likely reason for the poor performance?

Question 350mediummultiple choice
Read the full Workload-Specific Database Design explanation →

A company is migrating an on-premises Oracle database to Amazon Aurora PostgreSQL. The database is 2 TB and has a daily change rate of 10%. They have a 1 Gbps network connection to AWS. They want to minimize downtime during the migration. Which migration approach should they use?

Question 351hardmultiple choice
Read the full NAT/PAT explanation →

A gaming company uses Amazon DynamoDB to store player scores. The table has a partition key of 'game_id' and a sort key of 'player_id'. The application needs to retrieve the top 10 players for a given game_id based on score (stored as an attribute). The game_id has high cardinality. The team wants to avoid full table scans. Which design pattern is MOST efficient?

Question 352mediummulti select
Read the full Workload-Specific Database Design explanation →

An e-commerce company uses Amazon RDS for MySQL to store order data. They need to run complex analytical queries on the data without impacting the performance of the transactional workload. Which TWO solutions should they implement? (Choose TWO.)

Question 353easymulti select
Read the full Workload-Specific Database Design explanation →

A company is designing a database for a global application that requires low-latency reads and writes across multiple AWS regions. The application data is key-value and does not require complex queries. The team needs strong consistency for critical data. Which TWO services should they consider? (Choose TWO.)

Question 354hardmulti select
Read the full NAT/PAT explanation →

A company runs a time-series application on Amazon DynamoDB. The data has a pattern of frequent writes for recent data and rare reads for older data. They want to optimize storage costs and query performance for the time-series data. Which THREE strategies should they implement? (Choose THREE.)

Question 355easymultiple choice
Read the full Workload-Specific Database Design explanation →

A company is designing a database for a global e-commerce application that requires low-latency reads and writes with strong consistency. The application is expected to handle millions of requests per second and requires high availability. Which AWS database service is most suitable for this workload?

Question 356mediummultiple choice
Read the full NAT/PAT explanation →

A team is migrating an on-premises Microsoft SQL Server database to AWS. The database is used for reporting and analytics, with complex queries that join multiple tables. The team wants to minimize application changes and ensure compatibility. Which AWS service should they use?

Question 357hardmultiple choice
Read the full Workload-Specific Database Design explanation →

A company is building a real-time leaderboard for a gaming application. The leaderboard must update scores within seconds and support queries for top players and individual ranks. Which database design is most appropriate?

Question 358easymultiple choice
Read the full Workload-Specific Database Design explanation →

A startup is building a mobile application that needs to store user profiles and preferences. The data is schema-less and will grow rapidly. The application requires single-digit millisecond latency for reads and writes. Which AWS database should they choose?

Question 359mediummultiple choice
Read the full Workload-Specific Database Design explanation →

A company uses Amazon Aurora MySQL for its online transaction processing (OLTP) application. Recently, read traffic has increased significantly, causing performance issues. The company wants to offload read traffic with minimal application changes. Which solution should they implement?

Question 360hardmultiple choice
Read the full Workload-Specific Database Design explanation →

A financial services company needs a database to store transaction records with strong consistency and the ability to run complex analytical queries. The data volume is in the terabytes and is expected to grow. The company also needs point-in-time recovery. Which AWS database solution meets these requirements?

Question 361easymultiple choice
Read the full Workload-Specific Database Design explanation →

A social media company stores user posts in a database. Each post has a unique ID, content, and timestamp. The application frequently queries posts by user ID and also needs to support a global feed sorted by timestamp. Which database design is most efficient?

Question 362mediummultiple choice
Read the full Workload-Specific Database Design explanation →

A company is running a critical application on Amazon RDS for Oracle. They need to ensure high availability with automatic failover in case of a database failure. The database size is 500 GB. Which solution should they implement?

Question 363hardmultiple choice
Read the full NAT/PAT explanation →

A company uses Amazon DynamoDB to store IoT sensor data. Each sensor sends data every second, and the application needs to query the latest reading from each sensor. The sensor ID is the partition key, and the timestamp is the sort key. The table has millions of sensors. Which query pattern is most efficient to get the latest reading for a specific sensor?

Question 364easymulti select
Read the full Workload-Specific Database Design explanation →

Which TWO of the following are advantages of using Amazon DynamoDB over Amazon RDS for MySQL for a workload that requires high scalability and low maintenance? (Select TWO.)

Question 365mediummulti select
Read the full Workload-Specific Database Design explanation →

Which THREE considerations are important when designing a database for a global, multi-Region application using Amazon DynamoDB Global Tables? (Select THREE.)

Question 366hardmulti select
Read the full Workload-Specific Database Design explanation →

Which TWO strategies can improve query performance in Amazon Aurora MySQL for a read-heavy workload? (Select TWO.)

Question 367mediummultiple choice
Read the full Workload-Specific Database Design explanation →

A company is migrating an on-premises MongoDB database to Amazon DocumentDB. The application uses secondary indexes extensively and requires low-latency reads. Which database design consideration is MOST important for this workload?

Question 368easymultiple choice
Read the full Workload-Specific Database Design explanation →

A startup is building a social media analytics platform that requires storing time-series data with frequent writes and queries for the last hour. Which AWS database service is BEST suited for this workload?

Question 369hardmultiple choice
Read the full Workload-Specific Database Design explanation →

A company uses Amazon RDS for MySQL with Multi-AZ and read replicas. The database has a table storing user sessions with 50 million rows. The application team reports that queries using 'SELECT * FROM sessions WHERE user_id = ? ORDER BY login_time DESC LIMIT 10' are slow. The EXPLAIN plan shows a full table scan. Which design change would BEST improve query performance?

Question 370mediummultiple choice
Read the full Workload-Specific Database Design explanation →

A financial services company needs a database to store transaction records with strict ACID compliance and the ability to run complex JOIN queries for reporting. The workload is read-heavy with occasional batch inserts. Which AWS database service should they choose?

Question 371easymultiple choice
Read the full Workload-Specific Database Design explanation →

A gaming company wants to store player profiles and game state data with low-latency access for millions of concurrent users. The data is accessed via a REST API and requires high scalability with minimal operational overhead. Which database service is MOST suitable?

Question 372hardmultiple choice
Read the full NAT/PAT explanation →

A company uses Amazon Aurora MySQL-Compatible Edition for its e-commerce platform. During flash sales, the database experiences high write contention on the 'orders' table, causing slow inserts and deadlocks. The development team wants to reduce contention without changing the application code. Which database design strategy is MOST effective?

Question 373mediummultiple choice
Read the full NAT/PAT explanation →

A healthcare application requires storing patient records that include structured data (e.g., name, age) and unstructured data (e.g., medical images). The application needs to query structured data with SQL and serve images via HTTPS. Which combination of AWS services provides the MOST efficient design?

Question 374easymultiple choice
Read the full Workload-Specific Database Design explanation →

A startup is building a real-time chat application that requires storing messages with high write throughput and low-latency reads. The data model is simple: each message has a conversation ID, timestamp, and content. Which database design is MOST appropriate?

Question 375hardmultiple choice
Read the full Workload-Specific Database Design explanation →

A company is running an Oracle database on Amazon RDS. The database has a large table that is frequently accessed by multiple applications. The DBA notices that the table has a high number of index scans but the queries are still slow. Upon investigation, the buffer cache hit ratio is low. Which design change would BEST improve performance?

Question 376mediummulti select
Read the full Workload-Specific Database Design explanation →

Which TWO factors should be considered when designing a database for an IoT workload that ingests millions of sensor readings per second? (Choose 2.)

Question 377hardmulti select
Read the full NAT/PAT explanation →

Which THREE design patterns are appropriate for improving write performance in Amazon DynamoDB? (Choose 3.)

Question 378easymulti select
Read the full Workload-Specific Database Design explanation →

Which TWO database design considerations are critical when migrating a high-traffic e-commerce website from Oracle to Amazon Aurora MySQL? (Choose 2.)

Question 379mediummultiple choice
Read the full Workload-Specific Database Design explanation →

A company is investigating a performance issue with an Amazon Aurora MySQL database. The output of the describe-db-instances command is shown. The application experiences intermittent slowdowns during write-heavy periods. Which change would MOST likely improve write performance?

Network Topology
$ aws rds describe-db-instancesdb-instance-identifier mydbquery 'DBInstances[0].[EngineRefer to the exhibit."aurora-mysql","db.r5.large","admin","aurora",100,true
Question 380hardmultiple choice
Read the full Workload-Specific Database Design explanation →

A developer is configuring IAM permissions for a Lambda function that accesses a DynamoDB table named 'Orders'. The policy shown is attached to the Lambda execution role. The function needs to delete items but only if the item contains only 'order_id' and 'status' attributes. Which statement about this policy is correct?

Exhibit

Refer to the exhibit.

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Effect": "Allow",
            "Action": [
                "dynamodb:PutItem",
                "dynamodb:GetItem",
                "dynamodb:Query"
            ],
            "Resource": "arn:aws:dynamodb:us-east-1:123456789012:table/Orders"
        },
        {
            "Effect": "Allow",
            "Action": "dynamodb:DeleteItem",
            "Resource": "arn:aws:dynamodb:us-east-1:123456789012:table/Orders",
            "Condition": {
                "ForAllValues:StringEquals": {
                    "dynamodb:Attributes": ["order_id", "status"]
                }
            }
        }
    ]
}
Question 381easymultiple choice
Read the full Workload-Specific Database Design explanation →

A developer runs the command shown and gets the output. Which conclusion can be drawn about the database configuration?

Network Topology
$ aws rds describe-db-instancesdb-instance-identifier mydbquery 'DBInstances[0].[EngineRefer to the exhibit."mysql","db.m5.large",true,"mydb-read-replica"
Question 382hardmultiple choice
Read the full NAT/PAT explanation →

A startup is building a real-time analytics dashboard on AWS. The data arrives as time-series events from IoT devices at a rate of 10,000 writes per second. Each event is approximately 1 KB. The dashboard requires sub-second query latency for the last hour of data and must support ad-hoc analytical queries on historical data spanning months. The team needs to design a cost-effective database solution. Which combination of AWS services should be used?

Question 383mediummultiple choice
Read the full NAT/PAT explanation →

A company is migrating an on-premises Oracle OLTP database to Amazon Aurora PostgreSQL. The database has a complex schema with stored procedures, triggers, and sequences. During the migration, the team notices that the conversion tool reports several incompatibilities. Which strategy should the team use to handle the database schema changes with minimal downtime?

Question 384easymultiple choice
Read the full Workload-Specific Database Design explanation →

A retail company uses Amazon DynamoDB to store shopping cart data. The cart items are frequently updated as users add or remove products. The application reads the entire cart each time the user views it. The cart size averages 50 KB but can reach up to 400 KB. The company wants to reduce read costs and improve performance. Which design change would be most effective?

Question 385mediummultiple choice
Read the full Workload-Specific Database Design explanation →

A social media company uses Amazon ElastiCache for Redis to store user session data. The application experiences occasional spikes in traffic, causing cache misses and increased latency. The operations team notices that the cache hit ratio drops to 60% during spikes. Which action would most effectively improve the cache hit ratio?

Question 386hardmultiple choice
Read the full Workload-Specific Database Design explanation →

An e-commerce platform uses Amazon RDS for PostgreSQL to store order data. The database has a table "orders" with 500 million rows. The application runs a report query that aggregates daily sales for the last 30 days. The query currently scans the entire table and takes 15 minutes to complete. The team needs to reduce the query time to under 30 seconds. Which solution is MOST cost-effective?

Question 387easymultiple choice
Read the full Workload-Specific Database Design explanation →

A company uses Amazon DynamoDB to store application logs. The logs have a TTL of 7 days. The operations team needs to run ad-hoc analytical queries on logs older than 7 days, which are automatically deleted by TTL. Which solution should the team implement to retain and analyze old logs?

Question 388mediummultiple choice
Read the full Workload-Specific Database Design explanation →

A financial services company uses Amazon Redshift for analytics. The workload consists of a mix of short-running queries from dashboards and long-running ETL jobs. The company notices that during peak hours, short queries experience high latency due to queueing behind ETL jobs. How can the company reduce the impact of ETL jobs on dashboard queries?

Question 389hardmultiple choice
Read the full NAT/PAT explanation →

A gaming company uses Amazon DynamoDB to store player profiles. Each profile is about 5 KB and is accessed frequently. The access pattern is mostly point reads by player ID. The company wants to reduce read costs while maintaining low latency. Currently, the table uses provisioned capacity with 3000 RCU. Which change would be MOST effective?

Question 390mediummultiple choice
Read the full Workload-Specific Database Design explanation →

A company uses Amazon Aurora MySQL for its customer relationship management (CRM) system. The database has a table "contacts" with millions of rows. The application frequently searches for contacts by email address. The email column has a B-tree index. The DBA notices that queries are still slow, and the EXPLAIN plan shows index scans but not index-only scans. What is the most likely cause?

Question 391hardmulti select
Read the full Workload-Specific Database Design explanation →

A company is designing a document database for a content management system using Amazon DocumentDB. The application requires high availability and low-latency reads across multiple AWS Regions. Which TWO design choices meet these requirements?

Question 392mediummulti select
Read the full NAT/PAT explanation →

A company is migrating an on-premises MongoDB database to Amazon DocumentDB. The current MongoDB workload uses aggregation pipelines with the $lookup stage and geospatial queries. The migration tool reports that some aggregation stages are not supported. Which THREE actions should the company take to address the incompatibilities?

Question 393easymulti select
Read the full Workload-Specific Database Design explanation →

A company is selecting a database for a time-series application that collects sensor data from thousands of devices. The data is written at a high velocity (millions of data points per second). The application needs to query recent data (last hour) with sub-second latency and perform long-term analysis on months of data. Which TWO AWS database services best meet these requirements?

Question 394mediummultiple choice
Read the full Workload-Specific Database Design explanation →

A company is designing a database for a real-time leaderboard in a mobile game. The leaderboard updates thousands of times per second and must return the top 100 scores with minimal latency. Which AWS database service is most suitable for this workload?

Question 395hardmultiple choice
Read the full NAT/PAT explanation →

A company runs a MySQL-compatible database on Amazon RDS with a 3 TB dataset. They need to run complex analytical queries that involve joins and aggregations on millions of rows. The current RDS instance is a db.r5.8xlarge with 32 vCPUs and 256 GB RAM, but complex queries take over an hour. Which design change would most improve query performance for this workload?

Question 396easymultiple choice
Read the full NAT/PAT explanation →

A company is building a document management system where each document can have multiple tags and users need to query documents by any combination of tags. The number of tags per document is up to 20, and the total number of documents is expected to be 50 million. Which database design is most appropriate for this flexible tag-based querying?

Question 397hardmultiple choice
Read the full Workload-Specific Database Design explanation →

A financial services company needs to store trade data with strong consistency, high durability, and the ability to run complex SQL queries on the data. The data volume is 10 TB and grows by 1 GB per day. Queries must return results in less than 5 seconds. Which database solution best meets these requirements?

Question 398mediummultiple choice
Read the full Workload-Specific Database Design explanation →

A company has a high-traffic e-commerce application that uses Amazon RDS for MySQL. During flash sales, the database experiences high read load causing slow page loads. The application is read-heavy with occasional writes. Which design change would provide the most immediate performance improvement?

Question 399easymultiple choice
Read the full Workload-Specific Database Design explanation →

A startup is building a social media application that needs to store user profiles, posts, comments, and likes. The data is highly interconnected, and the team wants to query relationships efficiently, such as 'find all friends of a user who liked a post'. Which database service is best suited for this workload?

Question 400mediummultiple choice
Read the full NAT/PAT explanation →

A company uses Amazon DynamoDB to store IoT sensor data. Each sensor writes a record every second, and the application needs to query the last 24 hours of data for a specific sensor. The query must be very fast. Which table design and query pattern will minimize cost and latency?

Question 401hardmultiple choice
Read the full Workload-Specific Database Design explanation →

A company is migrating an on-premises Oracle database to AWS. The database is 5 TB and supports a critical OLTP application with high transaction rates. The application requires stored procedures, triggers, and strong consistency. Which AWS database service is most appropriate with minimal application changes?

Question 402easymultiple choice
Read the full Workload-Specific Database Design explanation →

A company needs to store session state for a web application that runs on Amazon EC2 instances behind an Application Load Balancer. The session data is small (less than 1 KB per user) and must be highly available with low latency. Which AWS database service is best for this use case?

Question 403mediummulti select
Read the full Workload-Specific Database Design explanation →

A company is designing a database for a global e-commerce platform that requires low-latency reads and writes from multiple AWS regions. The data must be strongly consistent within a region but can be eventually consistent across regions. Which TWO services should the company consider?

Question 404hardmulti select
Read the full Workload-Specific Database Design explanation →

A company is moving a large-scale time-series application from Cassandra to a managed AWS service. The workload involves high-frequency writes (millions per second) and queries that aggregate data over time windows. Which THREE AWS services are suitable for this time-series workload?

Question 405mediummulti select
Read the full Workload-Specific Database Design explanation →

A company is building a content management system that stores articles, images, and user comments. Articles are text-heavy and need full-text search. Images are binary files. Comments are relational with user IDs. Which TWO AWS services should be combined to best support this workload?

Question 406hardmultiple choice
Read the full Workload-Specific Database Design explanation →

An IAM policy is attached to an application role that accesses a DynamoDB table named 'Orders'. The table has a global secondary index named 'OrderDateIndex'. The application needs to write new orders and query the index. Based on the exhibit, will the application be able to perform these operations?

Exhibit

Refer to the exhibit.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": [
        "dynamodb:GetItem",
        "dynamodb:PutItem",
        "dynamodb:UpdateItem",
        "dynamodb:DeleteItem",
        "dynamodb:Query"
      ],
      "Resource": "arn:aws:dynamodb:us-east-1:123456789012:table/Orders"
    },
    {
      "Effect": "Allow",
      "Action": [
        "dynamodb:GetItem",
        "dynamodb:Query"
      ],
      "Resource": "arn:aws:dynamodb:us-east-1:123456789012:table/Orders/index/OrderDateIndex"
    }
  ]
}
Question 407hardmultiple choice
Read the full Workload-Specific Database Design explanation →

A company runs an online auction platform on AWS. The application uses Amazon DynamoDB as the primary database, with a table 'Auctions' that has a partition key 'auction_id' (String) and sort key 'end_time' (Number). The table also has a global secondary index (GSI) on 'status' (String) and 'current_bid' (Number). The application frequently queries for active auctions sorted by current bid. Recently, the team noticed that queries on the GSI for active auctions with a high current_bid are returning results slowly. The DynamoDB table has 10,000 write capacity units (WCU) and 30,000 read capacity units (RCU) provisioned. The GSI has 5,000 RCU provisioned. The team suspects throttling on the GSI. What is the most likely cause of the slow queries?

Question 408mediummultiple choice
Read the full Workload-Specific Database Design explanation →

A company is running a MySQL database on Amazon RDS for a customer relationship management (CRM) application. The database has a table named 'contacts' with over 100 million rows. The application frequently runs queries to find contacts by email address. The email column has a B-tree index. Recently, the application started experiencing slow query performance. The team checked CloudWatch metrics and saw that the ReadIOPS for the RDS instance is consistently at 80% of the provisioned IOPS limit. The instance type is db.r5.large with 3000 provisioned IOPS (gp2). The buffer pool hit ratio is 95%. What is the most cost-effective design change to improve query performance?

Question 409mediummultiple choice
Read the full NAT/PAT explanation →

A company is designing a database for an IoT application that receives millions of sensor readings per second. Each reading is a small JSON payload (timestamp, device_id, metric, value). The primary query pattern retrieves the most recent reading for a given device. Which AWS database service is BEST suited for this workload?

Question 410hardmultiple choice
Read the full Workload-Specific Database Design explanation →

Refer to the exhibit. A DynamoDB table has a primary key of pk (partition key) and sk (sort key). An application needs to perform GetItem and Query operations but should only be allowed to retrieve the pk and sk attributes. The IAM policy above is applied to the application's IAM role. Why does the policy fail to achieve the goal?

Exhibit

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": [
        "dynamodb:GetItem",
        "dynamodb:Query",
        "dynamodb:Scan"
      ],
      "Resource": "arn:aws:dynamodb:us-east-1:123456789012:table/MyTable"
    },
    {
      "Effect": "Deny",
      "Action": "dynamodb:Scan",
      "Resource": "arn:aws:dynamodb:us-east-1:123456789012:table/MyTable",
      "Condition": {
        "ForAllValues:StringNotEquals": {
          "dynamodb:Attributes": ["pk", "sk"]
        }
      }
    }
  ]
}
Question 411easymultiple choice
Read the full Workload-Specific Database Design explanation →

A company wants to migrate their on-premises Oracle database to Amazon RDS for Oracle. They have a complex data loading process that uses Oracle Data Pump. Which migration approach is MOST efficient and minimizes downtime?

Question 412mediummultiple choice
Read the full NAT/PAT explanation →

A company runs a MongoDB-compatible workload on Amazon DocumentDB. They notice that many read requests are returning stale data even though reads are directed to the primary instance. What is the MOST likely cause?

Question 413hardmultiple choice
Read the full Workload-Specific Database Design explanation →

A company runs a critical PostgreSQL database on Amazon RDS Multi-AZ. They need to perform a major version upgrade (e.g., from 12 to 13) with minimal downtime. Which approach should they take?

Question 414easymultiple choice
Read the full Workload-Specific Database Design explanation →

A web application uses Amazon DynamoDB as its database. The application frequently queries items using a secondary index. The index's partition key has high cardinality, but the query latency is higher than expected. Which action would MOST likely improve query performance?

Question 415mediummultiple choice
Read the full Workload-Specific Database Design explanation →

A company runs a MySQL database on Amazon RDS. They need to export a subset of data to Amazon S3 for analysis using Amazon Athena. The data is stored in multiple tables with complex joins. What is the MOST efficient way to export the data?

Question 416hardmultiple choice
Read the full Workload-Specific Database Design explanation →

A company recently migrated their PostgreSQL database to Amazon Aurora PostgreSQL. They notice that the average query latency has increased, especially for complex read queries. The DB instance size is adequate and CPU utilization is below 50%. What is the MOST likely cause of the increased latency?

Question 417easymultiple choice
Read the full NAT/PAT explanation →

A startup is building a mobile app backend using Amazon DynamoDB. They anticipate unpredictable traffic spikes. Which DynamoDB feature should they use to handle the spikes without manual intervention?

Question 418hardmulti select
Read the full Workload-Specific Database Design explanation →

A company runs a critical Oracle database on Amazon RDS. They need to implement a disaster recovery strategy that provides the lowest possible recovery point objective (RPO) and recovery time objective (RTO) across AWS Regions. Which TWO actions should they take? (Choose two.)

Question 419mediummulti select
Read the full Workload-Specific Database Design explanation →

A company is designing a database for a global e-commerce platform that requires low-latency reads and writes from multiple AWS Regions. The database must support ACID transactions and complex queries with joins. Which TWO services should they consider? (Choose two.)

Question 420mediummulti select
Read the full Workload-Specific Database Design explanation →

A company is running a PostgreSQL database on Amazon RDS. They need to improve read performance for a reporting application that runs complex queries. The reporting application can tolerate slightly stale data. Which THREE actions should they take? (Choose three.)

Question 421hardmultiple choice
Read the full Workload-Specific Database Design explanation →

Refer to the exhibit. A developer runs a DynamoDB query against a global secondary index. The index's partition key is 'status' and sort key is 'created_at'. There are many items with status 'PENDING' in the table. Why does the query return zero items?

Network Topology
expression-attribute-values '{ ":status": {"S": "PENDING"} }Query: aws dynamodb querytable-name ordersindex-name status-indexkey-condition-expression "#s = :status"expression-attribute-names '{"#s":"status"}'return-consumed-capacity TOTAL2024-07-15T10:30:00Z UTCRegion: us-east-1Table: ordersPrimary Key: order_id (String)GSI: status-index (status, created_at)Response:"Items": [],"Count": 0,"ScannedCount": 0,"ConsumedCapacity": {"TableName": "orders","CapacityUnits": 0.5
Question 422hardmultiple choice
Read the full Workload-Specific Database Design explanation →

A company runs a multi-tenant SaaS platform on AWS. Each tenant has their own database schema within a shared PostgreSQL database on Amazon RDS. The platform has grown to thousands of tenants, and the single RDS instance is experiencing performance degradation due to resource contention. Queries from one tenant can impact others. The company needs a solution that isolates tenants, provides predictable performance, and allows easy scaling. They also want to minimize application changes. The application uses an ORM that dynamically constructs SQL queries based on the tenant ID. Which solution is BEST?

Question 423mediummultiple choice
Read the full Workload-Specific Database Design explanation →

A company runs an online gaming platform that uses Amazon DynamoDB to store player profiles and game state. The platform experiences sudden spikes in write traffic when popular events occur. During these spikes, some write requests fail with ProvisionedThroughputExceededException. The operations team has configured DynamoDB Auto Scaling with a maximum write capacity of 10000 WCU, but during spikes, the write rate exceeds 10000 WCU for short bursts. The team needs to handle these bursts without losing data or sacrificing performance. What is the MOST effective solution?

Question 424easymultiple choice
Read the full Workload-Specific Database Design explanation →

A company is designing a new application that requires a relational database with strong consistency and support for transactions. The application will be accessed by users worldwide, and the database must provide low-latency reads in multiple regions. The company expects the workload to be unpredictable, with periods of very low activity followed by sudden spikes. They want to minimize operational overhead and only pay for the resources they use. Which AWS database solution should they choose?

Question 425mediummultiple choice
Read the full Workload-Specific Database Design explanation →

A company is designing a database for an IoT application that ingests millions of small sensor readings per second. The data is append-only and queries are primarily time-based aggregations with low latency requirements (under 10 ms). Which AWS database service is most suitable for this workload?

Question 426hardmultiple choice
Read the full Workload-Specific Database Design explanation →

A financial services company uses Amazon DynamoDB to store transaction records. The table has a partition key of 'account_id' and a sort key of 'transaction_time'. Recent queries for a specific account's transactions within a time range are experiencing high latency. The table has read capacity units set to auto-scaling. Which design change would most improve query performance?

Question 427easymultiple choice
Read the full Workload-Specific Database Design explanation →

A startup is building a mobile app backend with user profiles and social features. They need a database that can handle flexible schemas, high read throughput for user profiles, and strong consistency for friend requests. Which database service should they choose?

Question 428mediummultiple choice
Read the full Workload-Specific Database Design explanation →

A company is designing a database for an e-commerce platform that requires ACID transactions for order processing, complex joins for inventory reporting, and the ability to scale read replicas across multiple AWS regions. Which database service best meets these requirements?

Question 429hardmultiple choice
Read the full Workload-Specific Database Design explanation →

A gaming company uses Amazon DynamoDB to store player scores. The table has a partition key of 'game_id' and a sort key of 'player_id'. They notice that during peak hours, write requests for a popular game 'g123' are throttled, while other games are unaffected. What is the most likely cause and solution?

Question 430easymultiple choice
Read the full Workload-Specific Database Design explanation →

A company needs to store and analyze log data from thousands of servers. The logs are timestamped and rarely updated. Queries are mostly time-range aggregations. Which database service is best suited for this workload?

Question 431mediummultiple choice
Read the full NAT/PAT explanation →

A company is migrating an on-premises MongoDB database to AWS. They need a managed database service that is compatible with MongoDB and supports automated backups, scaling, and high availability. Which service should they use?

Question 432hardmulti select
Read the full Workload-Specific Database Design explanation →

A company is designing a database for a social media analytics platform that requires: 1) storing relationships between users, posts, and interests; 2) running complex graph queries like 'find all friends of friends who like topic X'; 3) high availability with multi-region replication. Which TWO AWS services should they consider? (Choose TWO.)

Question 433mediummulti select
Read the full NAT/PAT explanation →

A company is building a real-time leaderboard for an online game using Amazon DynamoDB. The leaderboard must update scores within seconds and support queries for top 100 players. Which TWO design patterns should be used? (Choose TWO.)

Question 434hardmulti select
Read the full Workload-Specific Database Design explanation →

A company is migrating a large Oracle database to Amazon Aurora PostgreSQL. They need to minimize downtime and validate data consistency after migration. Which THREE steps should they include in their migration plan? (Choose THREE.)

Question 435hardmultiple choice
Read the full NAT/PAT explanation →

A company runs an e-commerce platform on Amazon RDS for MySQL with a Multi-AZ deployment. The database has a table 'orders' with 50 million rows. During Black Friday sales, the application experiences severe slowdowns. Analysis shows that the CPU utilization is at 90% and there are many slow queries that perform full table scans on the 'orders' table. The development team has already added indexes on the most queried columns, but the problem persists. The database specialist suspects that the issue is not solely due to missing indexes. They notice that the queries often filter on a combination of 'order_date', 'customer_id', and 'status', and that the data distribution is heavily skewed: 80% of orders are 'completed' status. The 'order_date' range is typically the last 30 days. What should the database specialist do to improve query performance?

Question 436mediummultiple choice
Read the full Workload-Specific Database Design explanation →

A company uses Amazon DynamoDB to store user session data for a web application. The table has a partition key of 'user_id' and no sort key. Each item is about 5 KB. The application performs frequent GetItem and UpdateItem operations. Recently, the application has been experiencing higher than expected latency and some throttling. The table's read and write capacity are set to on-demand mode. The CloudWatch metrics show that the ConsumedWriteCapacityUnits are well below the provisioned limits (if they were provisioned), but there are occasional ThrottledWriteEvents. The application team also notices that the throttling occurs for specific users. What is the most likely cause and solution?

Question 437mediummultiple choice
Study the full AAA explanation →

A company is designing a database for a ride-sharing application that requires real-time location updates and driver-passenger matching. The database must support geospatial queries to find nearby drivers within a radius. The expected throughput is 10,000 writes per second and 5,000 reads per second. The company wants a fully managed solution with low latency. The application team has experience with PostgreSQL. Which database design should they choose?

Question 438easymulti select
Read the full Workload-Specific Database Design explanation →

Which TWO of the following are valid considerations when designing a database for an e-commerce application with high read traffic and low write latency requirements?

Question 439mediummulti select
Read the full Workload-Specific Database Design explanation →

Which THREE factors should be considered when selecting a database for a time-series workload (e.g., IoT sensor data) that requires high write throughput and efficient data retention?

Question 440hardmulti select
Read the full NAT/PAT explanation →

Which TWO design patterns help meet ACID compliance requirements in a distributed database environment while maintaining high availability?

Question 441easymultiple choice
Read the full Workload-Specific Database Design explanation →

A startup is building a social media analytics platform. The workload is write-heavy, with millions of events per day containing user actions (likes, shares, comments). The data model is simple: each event is a JSON document with a timestamp, user ID, and action type. Queries are primarily aggregations over time (e.g., count of likes per hour) and require low-latency responses for dashboards. The team wants to minimize operational overhead and cost. Which database service is most appropriate?

Question 442mediummultiple choice
Read the full Workload-Specific Database Design explanation →

A financial services company runs a critical application on Amazon RDS for MySQL that processes transactions. The database must maintain ACID compliance and support point-in-time recovery (PITR) with a recovery point objective (RPO) of 5 seconds and recovery time objective (RTO) of 1 minute. The current setup uses a single db.r5.large instance with automated backups enabled (retention period 7 days) and Multi-AZ deployment. During a recent failover test, the failover took 2 minutes, exceeding the RTO. What should the database specialist recommend to meet the RTO requirement?

Question 443hardmultiple choice
Read the full NAT/PAT explanation →

A gaming company uses Amazon DynamoDB as the primary data store for player profiles and game state. The application experiences sudden spikes in traffic during new game launches, causing throttling on write requests. The current table has on-demand capacity mode. The table's partition key is 'player_id' (high cardinality). The read/write patterns are evenly distributed. Despite on-demand mode, throttling occurs because the per-partition throughput limit is being reached. The company wants to eliminate throttling without changing the partition key. Which solution should be recommended?

Question 444easymultiple choice
Read the full Workload-Specific Database Design explanation →

A retail company runs its inventory management system on Amazon RDS for PostgreSQL. The application performs frequent updates to inventory counts. The operations team notices that write latency increases significantly during peak sales hours. The database is a single db.r5.large instance with General Purpose SSD (gp2) storage. The CPU utilization is around 40% during peaks, but the write latency spikes. The team suspects a storage bottleneck. Which change would most effectively reduce write latency?

Practice tests

Scored 10-question sessions with instant feedback and explanations.

DBS-C01 Practice Test 1 — 10 Questions→DBS-C01 Practice Test 2 — 10 Questions→DBS-C01 Practice Test 3 — 10 Questions→DBS-C01 Practice Test 4 — 10 Questions→DBS-C01 Practice Test 5 — 10 Questions→DBS-C01 Practice Exam 1 — 20 Questions→DBS-C01 Practice Exam 2 — 20 Questions→DBS-C01 Practice Exam 3 — 20 Questions→DBS-C01 Practice Exam 4 — 20 Questions→Free DBS-C01 Practice Test 1 — 30 Questions→Free DBS-C01 Practice Test 2 — 30 Questions→Free DBS-C01 Practice Test 3 — 30 Questions→DBS-C01 Practice Questions 1 — 50 Questions→DBS-C01 Practice Questions 2 — 50 Questions→DBS-C01 Exam Simulation 1 — 100 Questions→

Practice by domain

Each domain maps to a weighted exam section. Focus on the domain where you are weakest.

Workload-Specific Database DesignDeployment and MigrationManagement and OperationsMonitoring and TroubleshootingDatabase Security

Practice by scenario

Filter questions by type — troubleshooting, exhibit, drag-and-drop, PBQ, ACLs, OSPF, and more.

Browse scenarios→

Continue studying

All Workload-Specific Database Design setsAll Workload-Specific Database Design questionsDBS-C01 Practice Hub