Courseiva

CCNA Troubleshooting Questions

75 of 289 questions · Page 1/4 · Troubleshooting topic · Answers revealed

1
MCQhard

A company notices that its Aurora MySQL cluster has a high number of locks and deadlocks. The application uses read replicas for read scaling. What is the MOST likely cause?

A.Performance Insights is enabled
B.The writer and reader instances are of different sizes
C.Long-running transactions on the writer instance
D.Read replicas are performing write operations
AnswerC

Long transactions hold locks, increasing contention and deadlock probability.

Why this answer

Long-running transactions on the writer instance hold locks for extended periods, increasing the probability of lock contention and deadlocks. Option A is incorrect because Performance Insights is a monitoring tool and does not cause locks or deadlocks. Option B is incorrect because mismatched instance sizes may affect performance but do not directly cause locks or deadlocks.

Option D is incorrect because Aurora read replicas are read-only and cannot perform write operations.

2
MCQhard

A company uses Amazon DynamoDB with global tables. During a regional failure, the application in the secondary region experiences higher latency and throttling. The DynamoDB table's WriteCapacityUnits are set to 10000 in both regions. Which action should be taken to reduce throttling during failover?

A.Switch the table to on-demand capacity mode
B.Enable DynamoDB auto scaling for write capacity in both regions
C.Disable global tables and use application-level replication
D.Increase the write capacity of the secondary region to 20000
AnswerB

Enabling DynamoDB auto scaling dynamically adjusts write capacity based on actual traffic, helping reduce throttling during failover when secondary region traffic increases.

Why this answer

Enabling DynamoDB auto scaling allows the table to dynamically adjust write capacity based on actual traffic, which helps reduce throttling during failover when secondary region traffic increases. Option A is incorrect because switching to on-demand capacity mode may reduce throttling but is more expensive and not the most direct fix for capacity limits; auto scaling provides a more cost-effective solution. Option C is incorrect because disabling global tables would stop cross-region replication, defeating the purpose of multi-region disaster recovery.

Option D is incorrect because increasing write capacity of only the secondary region to 20000 may lead to over-provisioning and cost, while auto scaling provides a more efficient and automated solution to handle varying load.

3
MCQhard

A developer receives a 'ResourceNotFoundException' when trying to describe a DynamoDB table. The developer runs the command shown in the exhibit and gets the output. What is the most likely cause?

A.The developer is using a different AWS region or the table name has incorrect case.
B.The table is not in ACTIVE state.
C.The table ARN is incorrect.
D.The developer does not have permission to describe the table.
AnswerA

Correct. The developer may be using a different AWS region or the table name has incorrect case, causing the table not to be found.

Why this answer

The 'ResourceNotFoundException' indicates the table was not found. The command output lists tables in a specific region. If the table exists in another region, it will not appear.

Additionally, DynamoDB table names are case-sensitive. Option A correctly identifies these as the most likely causes. Option B is incorrect because a table not in ACTIVE state would generate a different error.

Option C is unlikely because the describe command uses the table name, not the ARN. Option D is incorrect because the describe command succeeded (returned a list), but the specific table was not found due to region or case mismatch.

4
MCQmedium

A company uses Amazon DynamoDB global tables for a multi-region application. They notice that writes in one region are not appearing in another region after several minutes. What should they check first?

A.Check the ReplicationLatency metric in Amazon CloudWatch
B.Verify that auto scaling is configured identically in both regions
C.Ensure DynamoDB Streams are enabled on the table
D.Check the table size in both regions
AnswerA

This metric shows the lag between regions.

Why this answer

The ReplicationLatency metric in CloudWatch directly measures the delay between a write in one region and its replication to another region in DynamoDB global tables. This is the most relevant metric to diagnose replication delays. Option B (auto scaling) affects capacity provisioning, not replication timing.

Option C (DynamoDB Streams) are enabled by default for global tables to facilitate replication, but checking the metric is the immediate next step if delays are observed. Option D (table size) does not directly cause replication delays; replication is asynchronous and not size-dependent.

5
Multi-Selectmedium

A database specialist is troubleshooting an Amazon DynamoDB table that is experiencing high throttling on write requests. The table has on-demand capacity and uses a composite primary key (partition key and sort key). Which TWO actions should the specialist take to identify and resolve the issue?

Select 2 answers
A.Examine the partition key value distribution to identify hot partitions
B.Implement DynamoDB Accelerator (DAX) to offload read traffic
C.Change the table to provisioned capacity mode
D.Increase the read capacity units on the table
E.Review Amazon CloudWatch metrics for 'WriteThrottleEvents' and 'ConsumedWriteCapacityUnits'
AnswersA, E

Correct. Uneven partition key value distribution leads to hot partitions that exceed per-partition throughput limits. Examining the distribution helps identify the bottleneck, and strategies like write sharding or adjusting the partition key design can resolve the issue.

Why this answer

High throttling on write requests often results from uneven partition key distribution, creating hot partitions. Option A is correct: examining the partition key value distribution helps identify hot partitions. Option E is correct: reviewing CloudWatch metrics for WriteThrottleEvents and ConsumedWriteCapacityUnits helps identify throttled write requests and analyze capacity usage.

Options B, C, and D are incorrect: DAX is a read cache and does not affect write throughput; changing to provisioned capacity or increasing read capacity units does not resolve write throttling caused by hot partitions.

Exam trap

The trap here is that candidates may confuse read and write capacity units or assume that on-demand capacity eliminates all throttling, when in fact hot partitions can still cause throttling regardless of the capacity mode.

6
MCQmedium

A company is using Amazon ElastiCache for Redis as a caching layer. The application performance degrades when cache misses increase. Which metric should be monitored to track the cache hit rate?

A.CurrConnections
B.CacheHits and CacheMisses
C.CPUUtilization
D.Evictions
AnswerB

CacheHits and CacheMisses are used to calculate hit rate.

Why this answer

CacheHits and CacheMisses. The cache hit rate is calculated as CacheHits / (CacheHits + CacheMisses), so monitoring both metrics is essential. Option A (CurrConnections) tracks active connections, not hit rate.

Option C (CPUUtilization) reflects resource usage. Option D (Evictions) indicates memory pressure but does not directly measure hit rate.

7
MCQmedium

A team is using Amazon RDS for Oracle with an option group that includes the Oracle Enterprise Manager (OEM) option. After modifying the option group to add a new option, the DB instance is stuck in the 'modifying' state for an extended period. What should the team do?

A.Reboot the DB instance to complete the modification.
B.Contact AWS Support to force the modification.
C.Create a new DB instance with the desired options and migrate the data.
D.Modify the DB instance again to reset the state.
AnswerA

Some option changes require a reboot to take effect.

Why this answer

Adding certain options may require a reboot. Option B is incorrect because the option group modification is likely valid; the issue is that it requires a reboot. Option C is incorrect because modifying the DB instance again would not help.

Option D is incorrect because the DB instance is not in a failed state.

8
MCQhard

Refer to the exhibit. An IAM policy is attached to a user. The user reports that they cannot delete the production-db database. Which statement best explains the behavior?

A.An explicit Deny statement prevents the deletion of the production-db instance
B.The user needs additional permissions to delete any DB instance
C.The user does not have permission to describe DB instances
D.The user does not have permission to create a DB instance
AnswerA

Explicit Deny overrides Allow.

Why this answer

The IAM policy includes an explicit Deny statement that specifically denies the DeleteDBInstance action on the production-db instance. In IAM, an explicit Deny overrides any Allow, so even if other statements allow DeleteDBInstance, this Deny prevents the deletion. Option B is incorrect because the policy does allow DeleteDBInstance on other resources, so the issue is not a lack of general permissions.

Option C is incorrect because the policy includes Allow on DescribeDBInstances. Option D is incorrect because the policy does not restrict CreateDBInstance; the problem is specific to deletion of production-db.

9
MCQeasy

A company is using Amazon DynamoDB and has enabled DynamoDB Streams. The application needs to process stream records in real-time. Which AWS service can be used to invoke a Lambda function automatically for each stream record?

A.Amazon Kinesis Data Firehose
B.Amazon Simple Queue Service (SQS)
C.AWS Step Functions
D.AWS Lambda
AnswerD

AWS Lambda can be directly integrated with DynamoDB Streams to automatically process each stream record in real-time.

Why this answer

DynamoDB Streams can be directly integrated with AWS Lambda, enabling automatic invocation of a Lambda function for each stream record in near real-time. This is the natural choice for processing stream records without additional services. Option A (Amazon Kinesis Data Firehose) is used to load streaming data into data stores, not to invoke Lambda.

Option B (Amazon SQS) is a message queue service; DynamoDB Streams does not directly integrate with SQS, and Lambda would still be needed to poll or process. Option C (AWS Step Functions) orchestrates workflows but does not directly trigger from DynamoDB Streams without Lambda.

10
MCQmedium

A database specialist is investigating a sudden increase in Amazon RDS for PostgreSQL connections. The DB instance's CloudWatch metric DatabaseConnections shows a spike from 100 to 500 within minutes. The application connects using a connection pool. Which step should the specialist take first to mitigate the issue while preserving application availability?

A.Use the RDS console to terminate all active connections and then restart the database.
B.Modify the security group to restrict inbound traffic to the database.
C.Increase the DB instance size to handle more connections.
D.Modify the DB parameter group to reduce the max_connections value and reboot the instance to apply changes.
AnswerD

Lowering max_connections limits the number of concurrent connections, preventing overload.

Why this answer

Reducing the max_connections value in the DB parameter group and rebooting the instance will limit the number of concurrent connections, preventing the database from being overwhelmed. This is the fastest way to mitigate the spike while preserving application availability. Option A is wrong because terminating all connections and restarting the database would disrupt the application.

Option B is wrong because modifying the security group does not affect the number of connections, only the allowed sources. Option C is wrong because increasing the instance size may take time to provision and does not immediately address the connection spike.

11
Multi-Selecteasy

A company is using Amazon RDS for MySQL and has enabled Enhanced Monitoring. The database administrator wants to identify the top contributors to disk I/O. Which THREE metrics from Enhanced Monitoring should they examine?

Select 3 answers
A.DirtyBufferFlushRate
B.NetworkThroughput
C.LogicalReads
D.WriteOps
E.PhysicalReads
AnswersA, D, E

Indicates how often dirty buffers are written to disk.

Why this answer

(DirtyBufferFlushRate) is correct because it indicates the rate at which dirty (modified) buffers are flushed from memory to disk, directly contributing to disk writes and I/O. Option D (WriteOps) is correct as it measures the number of write operations performed on disk, a direct contributor to disk I/O. Option E (PhysicalReads) is correct because it represents read operations that actually hit the disk (i.e., cache misses), contributing to disk I/O.

Options B (NetworkThroughput) and C (LogicalReads) are incorrect: NetworkThroughput relates to network traffic, not disk I/O; LogicalReads are reads satisfied from the buffer pool (memory), not disk.

12
MCQeasy

A database specialist is troubleshooting a slow Amazon RDS for PostgreSQL query. The specialist has enabled Performance Insights and sees that the database load is high. Which additional tool can provide detailed information about the specific queries causing the load?

A.Use VPC Flow Logs to analyze network traffic to the database.
B.Use Amazon CloudWatch Logs to analyze the PostgreSQL error logs.
C.Use Enhanced Monitoring to view OS-level metrics and correlate with performance insights.
D.Use AWS CloudTrail to view database API calls.
AnswerC

Enhanced Monitoring provides OS metrics that help diagnose resource contention.

Why this answer

Enhanced Monitoring provides OS-level metrics (CPU, memory, disk I/O, etc.), which when combined with Performance Insights' query-level details, gives a comprehensive view of database performance. Option A is wrong because VPC Flow Logs capture network traffic information, not query-specific details. Option B is wrong because CloudWatch Logs can analyze PostgreSQL error logs, but this does not provide detailed query-level load information.

Option D is wrong because AWS CloudTrail records API calls, not database queries.

13
Multi-Selecthard

A company is running a critical Oracle database on Amazon RDS. The DBA wants to set up monitoring to detect if the database is experiencing a high number of full table scans, which may indicate missing indexes. Which TWO metrics should the DBA monitor? (Choose TWO.)

Select 2 answers
A.TableScanRows
B.FullTableScans
C.BufferCacheHitRatio
D.UserCommits
E.RedoLogSpaceUsage
AnswersA, B

Shows the number of rows scanned in full table scans.

Why this answer

The DBA should monitor TableScanRows (A) and FullTableScans (B). FullTableScans directly counts the number of full table scan operations, while TableScanRows indicates the number of rows read during full scans. High values in either metric suggest missing indexes.

BufferCacheHitRatio (C) measures cache efficiency, not full scans. UserCommits (D) tracks transaction commits, and RedoLogSpaceUsage (E) relates to redo log activity, neither of which indicate full table scans.

14
Multi-Selecteasy

Which TWO AWS services can be used to monitor the performance of an Amazon DynamoDB table and send alerts when throttling occurs? (Choose two.)

Select 2 answers
A.Amazon Inspector
B.Amazon CloudWatch Alarms
C.VPC Flow Logs
D.AWS Config
E.Amazon CloudWatch
AnswersB, E

CloudWatch Alarms can trigger notifications based on metrics.

Why this answer

Amazon CloudWatch provides metrics such as ConsumedReadCapacityUnits, ConsumedWriteCapacityUnits, and ThrottledRequests for DynamoDB. You can create CloudWatch Alarms to monitor these metrics and send notifications (e.g., via SNS) when throttling occurs. Therefore, both B (CloudWatch Alarms) and E (CloudWatch) are correct.

Option A (Amazon Inspector) is a security assessment service, not a monitoring service. Option C (VPC Flow Logs) captures network traffic, not database performance. Option D (AWS Config) tracks resource configuration changes, not performance metrics.

15
MCQhard

A company is using Amazon DynamoDB with auto scaling for a social media application. The table has a partition key of 'user_id'. The application performs many small writes (update user profile) and reads (fetch user profile). Recently, the application's response time has increased. The DBA checks CloudWatch and sees that 'ConsumedWriteCapacityUnits' is close to 'ProvisionedWriteCapacityUnits', and 'WriteThrottleEvents' is low. However, 'ReadThrottleEvents' is high. The table has 1000 WCU and 1000 RCU provisioned. The auto scaling is configured to add capacity when utilization exceeds 70%. The DBA also notices that 'ReadThrottleEvents' spikes during peak hours. What should the DBA do to reduce read throttling?

A.Decrease the provisioned write capacity to 500 WCU to free up resources.
B.Increase the auto scaling target utilization to 90% to allow more headroom.
C.Change the storage type to General Purpose SSD (gp2) to improve I/O.
D.Increase the provisioned read capacity to 2000 RCU or implement DAX caching.
AnswerD

Increasing RCU reduces throttling; DAX offloads reads.

Why this answer

Increasing provisioned read capacity to 2000 RCU would directly address the read throttling, and implementing DAX caching would offload read traffic, reducing the load on the DynamoDB table. Option A is incorrect because decreasing write capacity does not free up read capacity; DynamoDB provisioned capacity for reads and writes is independent. Option B is incorrect because increasing the auto scaling target utilization to 90% would actually cause scaling to trigger at a higher utilization, potentially leading to more throttling, not less.

Option C is incorrect because DynamoDB does not use storage types like GP2; that is a concept for Amazon EBS volumes, not applicable to DynamoDB.

16
MCQmedium

A company is running a production Amazon Aurora MySQL database. The database performance has degraded over the past week. The DBA suspects an increase in lock waits. Which tool should be used to identify queries experiencing lock waits?

A.Amazon CloudWatch Logs
B.Amazon RDS Enhanced Monitoring
C.Amazon RDS Performance Insights
D.AWS Trusted Advisor
AnswerC

Performance Insights shows wait events like lock waits.

Why this answer

Amazon RDS Performance Insights provides a database load visualization and detailed wait event analysis, allowing you to identify queries experiencing lock waits. Option A is incorrect because CloudWatch Logs captures log streams but does not directly show lock wait events. Option B is incorrect because Enhanced Monitoring provides OS-level metrics (CPU, memory, disk I/O) but not database-specific lock waits.

Option D is incorrect because AWS Trusted Advisor offers best-practice recommendations but does not monitor real-time database performance or lock waits.

17
MCQmedium

A developer is trying to connect to an RDS for PostgreSQL instance using the endpoint shown in the exhibit. The connection fails with a timeout. Which of the following is the most likely cause?

A.The endpoint address is incorrect.
B.The DB instance requires SSL encryption to connect.
C.The security group does not allow inbound traffic on port 5432 from the client IP.
D.The DB instance is in a Multi-AZ configuration and requires a different endpoint.
AnswerC

Correct. A timeout often indicates network connectivity issues, such as security group rules blocking the port.

Why this answer

The most likely cause is that the security group does not allow inbound traffic on port 5432 from the client IP, causing a timeout. Option A is incorrect because the endpoint is correctly provided by AWS; an incorrect endpoint would produce a different error. Option B is incorrect because SSL encryption is not required by default; if it were, the error would be an SSL handshake failure, not a timeout.

Option D is incorrect because Multi-AZ configurations use the same endpoint; no separate endpoint is needed.

18
MCQmedium

Refer to the exhibit. A database administrator runs the AWS CLI command to describe events for an RDS instance. Which conclusion is most likely correct based on the output?

A.The Multi-AZ failover failed and the instance restarted.
B.The DB instance was manually restarted by an administrator.
C.The DB instance experienced a Multi-AZ failover and subsequently restarted.
D.The DB instance was restored from a snapshot and then restarted.
AnswerC

The sequence shows a failover completed, then the instance restarted.

Why this answer

The output shows a failover event followed by a restart, which is typical after a failover. Option A is incorrect because the events show a failover, not a manual restart. Option B is incorrect because the failover was completed, not failed.

Option D is incorrect because there is no indication of a snapshot restore.

19
MCQeasy

A DBA is investigating a sudden increase in database connections to an Amazon RDS for SQL Server instance. The application is running on Amazon EC2 instances behind an Application Load Balancer. Which tool can provide real-time information about active connections?

A.AWS Trusted Advisor
B.VPC Flow Logs
C.Amazon RDS Performance Insights
D.AWS CloudTrail
AnswerC

Correct. Amazon RDS Performance Insights shows active sessions and connections in real time.

Why this answer

Amazon RDS Performance Insights provides real-time information about active database connections and sessions. Option A (AWS Trusted Advisor) is incorrect because it offers best practice recommendations, not connection monitoring. Option B (VPC Flow Logs) is incorrect because they capture network traffic metadata, not database-level connection details.

Option D (AWS CloudTrail) is incorrect because it records API calls for auditing, not real-time database connections.

20
Multi-Selecthard

A company is using Amazon DynamoDB with auto scaling for read and write capacity. During a traffic spike, write requests are being throttled even though the table's write capacity is below the maximum limit. Which TWO actions should the team take to resolve the throttling?

Select 2 answers
A.Enable DynamoDB Streams on the table to offload writes to a Lambda function
B.Create a DynamoDB global table to distribute writes across regions
C.Review the table's partition key design to ensure even distribution of write traffic
D.Decrease the read capacity to free up resources for writes
E.Pre-warm the table by temporarily increasing the write capacity manually before the expected spike
AnswersC, E

Uneven distribution can cause hot partitions and throttling.

Why this answer

A suboptimal partition key can cause a hot partition, leading to throttling even when overall table capacity is not exhausted. Option E is correct because DynamoDB auto scaling has a lag in provisioning capacity; pre-warming by manually increasing write capacity before a spike can prevent throttling. Option A is incorrect because DynamoDB Streams offloads data but does not increase write capacity.

Option B is incorrect because global tables replicate data across regions but do not resolve local hot partitions or capacity lag. Option D is incorrect because reducing read capacity does not increase write capacity.

21
MCQhard

A company has an Amazon DynamoDB table with on-demand capacity. Users report that write requests are occasionally throttled during peak hours. The application uses the AWS SDK and retries with exponential backoff. Which monitoring approach should be used to identify the cause of throttling?

A.Use AWS CloudTrail to monitor PutItem API calls for throttling errors.
B.Analyze VPC Flow Logs to check for network congestion.
C.Monitor CloudWatch metrics for ThrottledRequests and ConsumedWriteCapacityUnits.
D.Enable DynamoDB Streams and process records to monitor throttled requests.
AnswerC

Correct. CloudWatch metrics such as ThrottledRequests and ConsumedWriteCapacityUnits directly indicate when throttling occurs and how much capacity is being consumed, allowing identification of the cause.

Why this answer

CloudWatch metrics such as ThrottledRequests and ConsumedWriteCapacityUnits directly indicate throttling events and capacity usage, enabling identification of throttling causes even with on-demand capacity. Option A is incorrect because AWS CloudTrail logs API calls but does not provide detailed throttling metrics at the item level. Option B is incorrect because VPC Flow Logs capture network traffic, not database-level throttling.

Option D is incorrect because DynamoDB Streams capture item-level changes, not throttling events.

22
MCQeasy

A developer is troubleshooting an application that is unable to write to a DynamoDB table. The above IAM policy is attached to the IAM role used by the application. What is the likely cause?

A.The Deny statement overrides the Allow statement, blocking all DynamoDB actions.
B.The table name in the Resource ARN is incorrect.
C.The IAM user does not exist.
D.The role is not correctly assumed by the application.
AnswerA

Correct. The Deny statement overrides the Allow, blocking all DynamoDB actions.

Why this answer

The Deny statement for all DynamoDB actions overrides the Allow for PutItem. Deny statements always take precedence over Allow statements. Option B is incorrect because the table name in the Resource ARN is correct.

Option C is incorrect because the IAM user does exist. Option D is incorrect because the role is assumed correctly.

23
MCQhard

A database specialist is monitoring an Amazon DynamoDB global table with two replicas in separate regions. The specialist notices that the 'ReplicatedWriteConflictCount' metric is increasing. What is the MOST likely cause?

A.Insufficient write capacity in one of the regions
B.High network latency between the regions
C.The application is using strongly consistent reads
D.The same item is being written concurrently in multiple regions
AnswerD

Global tables use last-writer-wins; concurrent writes increase conflict count.

Why this answer

Concurrent writes to the same item in different regions cause conflicts. Option A is wrong because provisioned throughput affects throttling, not conflicts. Option B is wrong because network latency does not cause conflicts.

Option C is wrong because eventual consistency does not cause conflicts.

24
MCQeasy

A developer is troubleshooting a slow query on Amazon RDS for MySQL. The query joins three large tables and runs frequently. What is the most effective way to identify the bottleneck?

A.Check the RDS Events for any maintenance notifications
B.Review Amazon CloudWatch CPU and memory metrics
C.Enable the slow query log and analyze the output
D.Use AWS Database Migration Service to migrate to a larger instance
AnswerC

Slow query log records queries that take longer than a set time.

Why this answer

Enabling the slow query log on RDS for MySQL captures queries that exceed a specified execution time, allowing the developer to identify which queries are slow and analyze their execution plan to find bottlenecks. Option A is wrong because RDS Events are for maintenance and operational notifications, not query performance. Option B is wrong because CloudWatch CPU and memory metrics show overall resource utilization but do not pinpoint specific slow queries.

Option D is wrong because migrating to a larger instance may help but does not directly identify the bottleneck; it addresses symptoms rather than root cause analysis.

25
MCQeasy

A company is migrating an on-premises Oracle database to Amazon RDS for Oracle. After migration, the application team reports that queries are slower than before. Which metric in CloudWatch should the DBA review first to check if the instance is resource-constrained?

A.SwapUsage
B.CPUUtilization
C.FreeableMemory
D.DatabaseConnections
AnswerB

High CPU could indicate resource contention affecting query performance.

Why this answer

(CPUUtilization). When migrating an on-premises Oracle database to Amazon RDS for Oracle, slower queries can indicate resource constraints. CPUUtilization is the primary metric to review first because high CPU usage directly impacts query performance.

Option A (SwapUsage) is more relevant for memory pressure but not the first indicator. Option C (FreeableMemory) is important but CPU is typically the first bottleneck. Option D (DatabaseConnections) shows concurrent connections but does not directly measure resource saturation.

26
MCQhard

A company runs a critical e-commerce application on Amazon Aurora MySQL with a single DB instance. The database has 8 TB of data and uses the default writer endpoint. Recently, the application experienced a 10-minute outage during a primary instance failover. The failover was triggered by an underlying hardware issue. The database specialist needs to minimize downtime during future failovers. The application team is unwilling to modify the application code to handle connection retries. The company has a 99.99% SLA requirement. Which solution should the database specialist implement to meet the SLA with minimal application changes?

A.Increase the DB instance class to a larger size to improve performance and reduce failover time
B.Enable Multi-AZ deployment with automatic failover
C.Create an Amazon RDS Proxy and configure the application to connect to the proxy endpoint
D.Create a cross-Region read replica and promote it to primary during failover
AnswerC

RDS Proxy handles failover seamlessly by preserving connections and reducing downtime.

Why this answer

Amazon RDS Proxy sits between the application and the database, pooling and reusing database connections. During a failover, RDS Proxy maintains the client connections and transparently reconnects to the new primary instance, so the application does not experience a connection loss and does not need to implement retry logic. This directly addresses the 10-minute outage by reducing failover downtime to seconds, meeting the 99.99% SLA without application code changes.

Exam trap

The trap here is that candidates often assume Multi-AZ (Option B) is sufficient for zero-downtime failover, but they overlook that the application must handle connection retries, which the question explicitly prohibits, making RDS Proxy the only solution that provides transparent failover without code changes.

How to eliminate wrong answers

Option A is wrong because increasing the DB instance class does not reduce failover time; failover duration is determined by the time to detect the failure, promote a replica, and flush transactions, not by instance size. Option B is wrong because while Multi-AZ with automatic failover provides a standby in a different Availability Zone, the application still experiences a connection break during failover and must handle retries, which the team is unwilling to do; the outage would still be several minutes. Option D is wrong because a cross-Region read replica requires manual promotion and DNS changes, leading to significantly longer downtime than 10 minutes, and it does not provide automatic failover or transparent reconnection without application changes.

27
Multi-Selecteasy

A company uses Amazon RDS for PostgreSQL with Multi-AZ. The primary instance fails and a failover occurs. After failover, the application reports elevated write latency. Which TWO are possible causes?

Select 2 answers
A.A read replica is now promoting to primary
B.The buffer pool is not warm on the new primary
C.The new primary has a smaller instance size
D.Automated backups are running on the new primary
E.Application DNS cache still points to the old primary IP
AnswersB, E

Cold buffer pool increases read I/O.

Why this answer

After a Multi-AZ failover, the new primary instance starts with a cold buffer pool (no cached data blocks). PostgreSQL relies on shared buffers to cache frequently accessed data; without a warm cache, every read request must fetch data from disk, which increases I/O and write latency because writes often require reading the affected pages first. This is a known behavior in RDS for PostgreSQL after failover, and it resolves as the buffer pool warms up over time.

Exam trap

The trap here is that candidates often confuse Multi-AZ failover with read replica promotion, or assume that automated backups cause performance degradation, when in fact the cold buffer pool is the primary culprit for elevated write latency after failover.

28
MCQhard

A DevOps engineer notices that an Amazon RDS for PostgreSQL instance has been in 'storage-full' state for the past 30 minutes. The instance has 500 GB of General Purpose SSD (gp2) storage, and the free storage space is 0 bytes. The database is critical and cannot tolerate downtime. What is the MOST efficient way to resolve this issue while minimizing downtime?

A.Take a snapshot of the DB instance and restore it to a new instance with larger storage
B.Modify the DB instance to increase allocated storage to 1,000 GB
C.Enable storage auto-scaling on the DB instance
D.Delete unnecessary data, such as old logs or temporary tables
AnswerB

Modifying storage online adds space without downtime.

Why this answer

Modifying the storage allocation for an RDS instance can be done without downtime; the instance remains available during the modification. Increasing storage from 500 GB to 1,000 GB immediately resolves the 'storage-full' state. Option A is wrong because taking a snapshot and restoring to a new instance incurs downtime.

Option C is wrong because enabling storage auto-scaling does not address the current full state; it only prevents future issues. Option D is wrong because deleting data may not free enough space and requires time-consuming intervention, risking downtime.

29
MCQhard

A company is using Amazon DynamoDB for a high-traffic application. Users report occasional 'ProvisionedThroughputExceededException' errors. The application uses consistent reads and retries with exponential backoff. What is the MOST efficient way to handle these errors and reduce the number of retries?

A.Increase the provisioned read capacity units manually
B.Switch to eventually consistent reads
C.Enable DynamoDB Auto Scaling for the table
D.Increase the provisioned write capacity units manually
AnswerC

DynamoDB Auto Scaling adjusts the provisioned throughput automatically in response to traffic patterns, reducing throttling and the need for retries.

Why this answer

DynamoDB Auto Scaling adjusts the provisioned throughput automatically in response to traffic patterns, reducing throttling and the need for retries. Option A is wrong because increasing read capacity manually is inefficient and does not adapt to fluctuating traffic. Option B is wrong because switching to eventually consistent reads changes the consistency model, which may not be acceptable for the application's requirements.

Option D is wrong because increasing write capacity does not address read throttling.

30
MCQmedium

A company is monitoring an Amazon Aurora MySQL DB cluster. They observe that the AuroraReplicaLagMaximum metric is consistently above 10 seconds. Which action would best reduce the replica lag?

A.Increase the instance size of the writer.
B.Increase the instance size of the reader.
C.Reduce the number of transactions per second.
D.Enable Multi-AZ on the cluster.
AnswerB

Correct. A larger reader instance can apply changes faster, reducing lag.

Why this answer

Increasing the instance size of the reader can improve its ability to apply changes faster. Option A is wrong because increasing the writer size may not help if the reader is the bottleneck. Option C is wrong because reducing transaction size helps but may not be feasible.

Option D is wrong because Multi-AZ is always enabled for Aurora.

31
MCQeasy

A developer is troubleshooting a slow-running query on an Amazon RDS for PostgreSQL instance. The query is performing a sequential scan on a large table. Which AWS service or feature should the developer use to identify the missing index?

A.Amazon RDS Enhanced Monitoring
B.AWS CloudTrail
C.Amazon RDS Performance Insights
D.Amazon CloudWatch Logs
AnswerC

Correct. Performance Insights helps identify performance bottlenecks such as missing indexes.

Why this answer

Amazon RDS Performance Insights provides database performance analysis with a dashboard that helps identify performance bottlenecks, such as missing indexes causing sequential scans. Option A is wrong because Amazon RDS Enhanced Monitoring provides OS-level metrics, not database query details. Option B is wrong because AWS CloudTrail logs API calls to AWS services, not database queries.

Option D is wrong because Amazon CloudWatch Logs can store database logs but does not analyze query performance to identify missing indexes.

32
MCQeasy

Refer to the exhibit. A database administrator retrieves CloudWatch metrics for an RDS instance. What is the trend of CPU utilization during the monitored period?

A.CPU utilization is decreasing over time.
B.CPU utilization is constant around 90%.
C.CPU utilization fluctuates randomly.
D.CPU utilization is increasing over time.
AnswerD

The average values go from 75.5% to 98.2%.

Why this answer

The average CPU utilization increases from 75.5% to 98.2% over the hour, indicating a steady increase. Option A is incorrect because it is not decreasing. Option B is incorrect because it is not constant around 90%.

Option C is incorrect because it does not fluctuate randomly; it increases monotonically.

33
MCQmedium

A company's RDS for SQL Server instance is frequently running out of disk space. The instance uses General Purpose SSD (gp2) storage. Which monitoring step will help identify the root cause?

A.Review CloudTrail logs for API calls
B.Monitor FreeStorageSpace and BinaryLogUsage metrics
C.Monitor BackupStorageUsed metric
D.Enable Enhanced Monitoring
AnswerD

Enhanced Monitoring provides per-second OS-level metrics including disk utilization, which can reveal disk space consumption and help identify the root cause.

Why this answer

Enhanced Monitoring provides OS-level metrics such as disk space usage, which can help identify if the instance is running out of disk space due to growth of database files or logs. Option B is incorrect because BinaryLogUsage is a metric specific to MySQL, not SQL Server; RDS for SQL Server uses different metrics like Transaction Log Disk Usage. Options A and C are unrelated to instance disk space.

Exam trap

A common trap is confusing MySQL-specific metrics (BinaryLogUsage) with SQL Server metrics. For RDS SQL Server, monitor Transaction Log Disk Usage instead.

34
Multi-Selecteasy

A company uses Amazon Redshift and notices that queries are taking longer than usual. CloudWatch metrics show 'CPUUtilization' is high and 'DiskSpace' is low. Which TWO actions can help improve query performance?

Select 2 answers
A.Disable concurrency scaling to free resources
B.Add more nodes to the cluster
C.Enable Multi-AZ to distribute load
D.Run VACUUM to reclaim space
E.Optimize sort keys to reduce data scanned
AnswersB, E

Adding nodes increases parallelism and resources for queries.

Why this answer

Adding nodes increases both compute capacity and storage, addressing high CPU and low disk space. Option E is correct because optimizing sort keys reduces the amount of data scanned per query, which lowers CPU usage and speeds up queries. Option A is incorrect because disabling concurrency scaling would reduce the cluster's ability to handle concurrent queries, increasing wait times.

Option C is incorrect because Multi-AZ is not a feature of Amazon Redshift; it's used for RDS. Option D is incorrect because VACUUM reorganizes data but requires free disk space to operate; with low disk space, it may fail or not help.

35
MCQhard

A company is running a self-managed MongoDB cluster on Amazon EC2. The cluster consists of three replica set members in different Availability Zones. The primary node recently experienced a crash, and the cluster failed over to a secondary. However, the new primary is showing significantly higher latency. The operations team wants to ensure that failover is fast and consistent. What should be done to improve the failover reliability?

A.Use Amazon EBS io2 Block Express volumes with provisioned IOPS.
B.Use Amazon EBS Multi-Attach to allow all replicas to share the same volume.
C.Switch to instance store volumes for better I/O performance.
D.Configure EBS snapshots to be taken every 5 minutes.
AnswerA

Using Amazon EBS io2 Block Express volumes with provisioned IOPS provides high throughput and low latency, which helps the secondary node catch up quickly after a failover, reducing latency and improving reliability.

Why this answer

Amazon EBS io2 Block Express volumes provide high IOPS and low latency, which can significantly reduce the time required for a secondary node to catch up and become the new primary after a failover. This improves failover reliability and reduces latency spikes. Option B is incorrect: EBS Multi-Attach is designed for shared block storage across multiple instances and is not suitable for MongoDB replica sets; using it could lead to data corruption.

Option C is incorrect: while instance store volumes offer high I/O performance, they are ephemeral; if the instance fails, data is lost, making them unreliable for database workloads. Option D is incorrect: EBS snapshots are for backup and disaster recovery, not for improving failover performance.

36
MCQhard

A company runs an e-commerce platform using Amazon Aurora MySQL with Multi-AZ deployment. The application has a read-heavy workload and uses a mix of SELECT and UPDATE queries. Recently, the company migrated from a db.r5.large to a db.r5.2xlarge instance class to handle increased traffic. However, after the migration, the CPU utilization remains high during peak hours, and the application's page load times have increased. The DBA notices that the 'Read IOPS' metric is high, but the 'Read Latency' metric is low. There is also a high number of 'Select' queries in the database. The application uses a single database endpoint. What should the DBA do to reduce CPU utilization and improve read performance?

A.Enable Multi-AZ with one standby replica.
B.Enable Performance Insights and analyze the top SQL.
C.Upgrade the instance class to db.r5.4xlarge.
D.Create one or more Aurora Replicas and modify the application to use read-only endpoints for SELECT queries.
AnswerD

Read replicas offload read traffic, reducing CPU on primary.

Why this answer

Creating Aurora Replicas offloads read-only SELECT queries from the primary instance, reducing CPU utilization on the primary and improving overall read throughput. Option A is incorrect because enabling Multi-AZ with one standby replica provides high availability but does not help with read scaling; the standby is not used for reads. Option B is incorrect because Performance Insights is a monitoring tool that helps identify performance bottlenecks but does not directly reduce CPU utilization.

Option C is incorrect because simply upgrading to a larger instance class may temporarily alleviate the issue but is not cost-effective and does not address the root cause of read-heavy workload imbalance; adding read replicas scales reads horizontally.

37
MCQhard

A company runs an e-commerce platform on AWS using a multi-tier architecture. The application tier consists of Auto Scaling groups of EC2 instances behind an Application Load Balancer. The database tier uses Amazon RDS for MySQL with Multi-AZ deployment. Recently, the operations team noticed that during flash sales, the application becomes unresponsive and users receive 503 errors. The team checks CloudWatch metrics and sees that the RDS instance's CPU utilization spikes to 100%, and the `DatabaseConnections` metric also spikes to the maximum allowed value of 500. The application uses connection pooling with a maximum of 200 connections, but the metric shows 500 connections. The team suspects that the connection pooling configuration is not being honored. The application code is written in Python and uses SQLAlchemy with a connection pool size of 10 per application instance. There are 20 application instances in the Auto Scaling group during peak times. The team wants to resolve the issue without increasing the database instance size. What should the team do?

A.Reduce the Auto Scaling group's desired capacity to 10 instances during flash sales
B.Set the `max_connections` parameter in the RDS parameter group to 200 and configure the application to handle connection errors with retry logic
C.Migrate the database to Amazon Aurora MySQL with Auto Scaling enabled
D.Increase the SQLAlchemy pool size to 25 per instance to reduce connection contention
AnswerB

Limiting max_connections to 200 ensures the database does not accept more connections than the application intends, and retry logic handles connection failures.

Why this answer

Setting the `max_connections` parameter in the RDS parameter group enforces a hard limit at the database level, preventing the database from accepting more than 200 connections. With 20 application instances each using a connection pool of 10, the total intended connections are 200. By setting `max_connections` to 200, any excess connection attempts will be rejected, and the application should handle connection errors with retry logic, preventing the database from being overwhelmed.

Option A is wrong: reducing the Auto Scaling group's desired capacity to 10 instances would reduce the total connection pool to 100, which might temporarily reduce load but is not a scalable solution and does not address the root cause that the application's connection pooling is not being honored. Option C is wrong: migrating to Amazon Aurora MySQL with Auto Scaling does not directly solve the connection pooling issue. Aurora may allow more connections, but the root cause is that the application is opening more connections than configured, and a migration is a costly change that doesn't fix the configuration problem.

Option D is wrong: increasing the SQLAlchemy pool size per instance to 25 would increase the total potential connections to 500 (20 instances × 25), which would worsen the connection spike and exceed the database's maximum, increasing contention and load.

38
MCQhard

A company is using Amazon DynamoDB as the primary database for a global e-commerce application. During the holiday season, the application experiences throttling on write requests even though the read and write capacity units are well below the provisioned limits. The table uses on-demand capacity mode. What is the most likely cause of this throttling?

A.There is a hot partition due to an uneven write distribution across partition keys.
B.The table's provisioned write capacity is set too low.
C.The table has exceeded the maximum write capacity units per partition.
D.The AWS account has reached the DynamoDB write throughput limit per region.
AnswerA

Correct. Uneven write distribution creates a hot partition that exceeds the partition's throughput limit, causing throttling even in on-demand mode.

Why this answer

In DynamoDB on-demand capacity mode, throughput scales automatically based on traffic. However, throttling can still occur if a single partition receives more write requests than the partition's maximum throughput capacity (1,000 WCU per partition). This is known as a hot partition, caused by an uneven distribution of write activity across partition keys.

Option A correctly identifies this. Option B is incorrect because on-demand mode does not use provisioned capacity. Option C uses incorrect terminology—there is no 'maximum write capacity units per partition' that the table as a whole can exceed.

Option D is incorrect because DynamoDB does not have a per-region account-level write limit that causes throttling on a single table.

39
MCQeasy

A developer reports that an application's write requests to a DynamoDB table are failing with ProvisionedThroughputExceededException. The table uses provisioned capacity. Which immediate action will resolve the issue?

A.Switch the table to on-demand capacity
B.Implement exponential backoff in the application
C.Enable DynamoDB Accelerator (DAX)
D.Delete all global secondary indexes
AnswerB

Exponential backoff retries requests with increasing delays, reducing throttling.

Why this answer

The correct immediate action is to implement exponential backoff in the application. This retry mechanism gradually increases wait time between retries, reducing the request rate to stay within provisioned throughput limits. Option A is incorrect because switching to on-demand capacity takes time and is not immediate.

Option C is incorrect because DAX is a read cache and does not affect write throughput. Option D is incorrect because deleting GSIs does not resolve write throttling to the base table.

40
MCQeasy

A startup is using Amazon DynamoDB for a gaming leaderboard. The table has a partition key of 'game_id' and a sort key of 'score'. The application frequently queries the top 10 scores for a given game. Recently, users have reported that the leaderboard is showing stale data. The DBA checks the CloudWatch metrics and sees no throttling. The table has auto scaling enabled. The application uses eventual consistent reads. The DBA suspects that the issue is related to write conflicts. What should the DBA do to ensure the leaderboard shows the most recent data?

A.Modify the application to use strongly consistent reads for leaderboard queries.
B.Enable DynamoDB Streams and process updates in near-real-time.
C.Enable DynamoDB Accelerator (DAX) for caching.
D.Increase the write capacity units to reduce write throttling.
AnswerA

Strongly consistent reads guarantee that the read returns the most recent write. This directly addresses the stale data issue.

Why this answer

Strongly consistent reads return the most up-to-date data from DynamoDB, ensuring the leaderboard displays the latest scores. Option B is incorrect because DynamoDB Streams capture changes but do not affect read consistency. Option C is incorrect because DAX is a caching layer that may serve stale data, not improve consistency.

Option D is incorrect because write capacity adjustments do not address read consistency issues.

41
MCQmedium

A company is using Amazon DynamoDB for a gaming leaderboard. The table has a partition key of 'game_id' and a sort key of 'score'. The table is configured with on-demand capacity. During a major tournament, the application experiences high latency and some requests return 'ProvisionedThroughputExceededException' errors. The CloudWatch metric 'ThrottledRequests' spikes. The application uses a single partition key for all writes during the tournament (game_id = 'tournament_final'). What is the most likely cause of the throttling, and what is the best solution?

A.The application is using a single partition key, causing all writes to go to one partition. The team should redesign the partition key to distribute writes across multiple partitions
B.The application is using a single partition key, causing all writes to go to one partition. The team should implement DAX to cache writes
C.The table has a global secondary index that is throttling writes; the team should remove the GSI
D.The table is using on-demand capacity, which has a maximum throughput limit per partition; the team should switch to provisioned capacity with auto scaling
AnswerA

Distributing the write load across partitions avoids throttling.

Why this answer

Even with on-demand capacity, each partition has a maximum throughput limit (read/write capacity per partition). When all writes use the same partition key ('tournament_final'), they all go to a single partition, exceeding its limit and causing throttling (ThrottledRequests and ProvisionedThroughputExceededException). The best solution is to redesign the partition key to distribute writes across multiple partitions (e.g., add a suffix like user_id or timestamp).

Option B is incorrect because DAX is a caching layer for reads, not writes; it does not alleviate write throttling. Option C is incorrect because the question does not mention a GSI, and a GSI would not cause this issue on the base table. Option D is incorrect because switching to provisioned capacity does not solve the hot partition problem; the same partition key would still overload a single partition under provisioned capacity.

Exam trap

The trap is assuming that on-demand capacity eliminates all throttling. In reality, on-demand capacity has per-partition limits (up to 1,000 write capacity units per partition) that can still be exceeded if a single partition receives all traffic.

42
MCQmedium

A company's Amazon Redshift cluster is experiencing slow query performance. The cluster has three nodes. The administrator wants to identify if the issue is due to data distribution skew. Which approach should be used?

A.Examine the STL_QUERY table to analyze query execution times.
B.Check the STV_WLM_SERVICE_STATE table to see current queue state.
C.Query the STV_SLICES table to compare disk usage across slices.
D.Review CloudWatch metrics for CPUUtilization per node.
AnswerC

STV_SLICES shows disk usage per slice, indicating skew.

Why this answer

The correct approach is to query the STV_SLICES table. STV_SLICES provides disk usage per slice, which can identify data distribution skew. Option A is wrong because STL_QUERY stores query execution times, not distribution.

Option B is wrong because STV_WLM_SERVICE_STATE shows current workload management queue state. Option D is wrong because CloudWatch CPUUtilization measures CPU load, not data distribution.

43
MCQhard

An application uses Amazon ElastiCache for Redis as a session store. Users report that sessions are being lost intermittently. The ElastiCache cluster has replication enabled with one replica. CloudWatch metrics show 'Evictions' spiking during peak hours. What is the MOST likely cause?

A.Replication lag between primary and replica is causing read failures
B.Encryption in transit is enabled and causes decryption errors
C.The cache's memory is full and the eviction policy is removing keys
D.The cluster is performing automatic snapshots that block writes
AnswerC

Eviction spikes indicate that the cache is out of memory and is removing keys to make space, causing session loss.

Why this answer

A spike in 'Evictions' CloudWatch metric indicates that the cache's memory is full, and ElastiCache is evicting keys based on the configured eviction policy (e.g., allkeys-lru). This removal of keys directly causes session data to be lost. Option A is incorrect: replication lag can cause stale reads but not evictions or loss of keys.

Option B is incorrect: encryption in transit does not affect memory usage or evictions. Option D is incorrect: automatic snapshots may cause a brief latency spike but do not result in evictions.

44
MCQeasy

A company uses Amazon DocumentDB (with MongoDB compatibility) for its content management system. The application runs on EC2 instances and connects to a DocumentDB cluster with one instance (db.r5.large). Recently, users reported that retrieving documents takes longer than usual. CloudWatch metrics show that the CPU utilization of the DocumentDB instance is at 90% and the freeable memory is below 100 MB. The team has verified that no query optimization is possible. Which action should the team take FIRST to improve performance?

A.Add a read replica instance to offload read traffic.
B.Create additional indexes on frequently queried fields.
C.Increase the storage volume size to improve I/O performance.
D.Scale up the instance to db.r5.xlarge.
AnswerD

Scaling up to a larger instance (db.r5.xlarge) provides more CPU and memory resources, directly addressing the high CPU and low memory issues.

Why this answer

High CPU utilization (90%) and low freeable memory (<100 MB) indicate that the current instance size (db.r5.large) is insufficient for the workload. Scaling up to db.r5.xlarge provides additional CPU and memory resources, directly addressing the performance bottleneck. Option A (adding a read replica) offloads read traffic but does not reduce CPU/memory pressure on the primary writer.

Option B (creating additional indexes) could improve query performance, but the team has verified that no query optimization is possible. Option C (increasing storage volume) improves I/O performance but does not directly affect CPU or memory usage.

45
Multi-Selecthard

An Amazon DynamoDB table is experiencing throttled write requests. The table uses provisioned capacity with auto-scaling enabled. Which THREE factors could contribute to throttling despite auto-scaling?

Select 3 answers
A.Global secondary index is defined with same partition key
B.Auto-scaling maximum capacity is set too low
C.Sudden traffic spike that exceeds the max capacity
D.Use of eventually consistent reads
E.Uneven key distribution causing hot partitions
AnswersB, C, E

If max is reached, throttling occurs.

Why this answer

Auto-scaling can prevent throttling only if the maximum capacity is set appropriately and traffic patterns are predictable. Option B is correct because if the auto-scaling maximum capacity is set too low, the table cannot scale enough to handle the write demand. Option C is correct because auto-scaling reacts to sustained traffic but cannot instantly accommodate a sudden traffic spike that exceeds the maximum capacity.

Option E is correct because even with auto-scaling, an uneven partition key distribution can cause a single partition to exceed its throughput capacity, leading to throttling. Option A is incorrect; a global secondary index with the same partition key does not inherently cause throttling on the base table. Option D is incorrect because eventually consistent reads affect read capacity, not write capacity, and do not cause write throttling.

46
Multi-Selecthard

A company is using Amazon DynamoDB with auto scaling enabled. The table has a provisioned read capacity of 10,000 RCU and write capacity of 5,000 WCU. Auto scaling target utilization is 70%. The table experiences a sudden spike in read traffic, reaching 12,000 RCU. The table throttles some requests. Which THREE actions should the company take to prevent future throttling?

Select 3 answers
A.Implement exponential backoff in the application to retry throttled requests.
B.Increase the maximum read capacity in the auto scaling configuration.
C.Decrease the auto scaling target utilization to 50% to scale out earlier.
D.Increase the write capacity to 10,000 WCU.
E.Enable DAX to cache read requests and reduce the load on the table.
AnswersA, B, E

Exponential backoff helps handle throttled requests gracefully by retrying with delays.

Why this answer

Implementing exponential backoff with jitter helps handle throttled requests gracefully by retrying after increasing delays, reducing further load on the table. Option B is correct because increasing the maximum read capacity in the auto scaling configuration allows the table to scale up further (beyond 10,000 RCU) during traffic spikes, preventing throttling. Option E is correct because enabling DynamoDB Accelerator (DAX) caches read requests, offloading the table and reducing the read load that can cause throttling.

Option C is wrong because decreasing the target utilization would cause auto scaling to trigger earlier, but it does not increase the maximum capacity; the table would still be limited to the max capacity set, and the spike might exceed it. Option D is wrong because the issue is read traffic, not write capacity, so increasing write capacity does not address read throttling.

47
Multi-Selectmedium

Which TWO CloudWatch metrics should be monitored to detect storage performance issues for an Amazon RDS for MySQL instance? (Choose two.)

Select 2 answers
A.NetworkReceiveThroughput
B.DatabaseConnections
C.WriteIOPS
D.CPUUtilization
E.ReadIOPS
AnswersC, E

WriteIOPS indicates storage write performance.

Why this answer

Options C and E are correct. ReadIOPS and WriteIOPS measure the input/output operations per second, which directly indicate storage performance for an RDS MySQL instance. High or erratic IOPS can signal storage contention or saturation.

Option A (NetworkReceiveThroughput) tracks network traffic, not storage. Option B (DatabaseConnections) reflects concurrent connections, unrelated to storage performance. Option D (CPUUtilization) measures CPU usage, which may impact overall performance but is not a direct storage metric.

48
MCQeasy

A DevOps engineer notices that an Amazon DynamoDB table's read capacity is frequently throttled during peak hours. The table has read-once, read-many workload. Which action is MOST cost-effective to reduce throttling?

A.Enable auto-scaling for read capacity
B.Enable DynamoDB Accelerator (DAX)
C.Switch to On-Demand capacity mode
D.Increase the provisioned read capacity units
AnswerB

DAX caches reads, reducing read load on the table.

Why this answer

DynamoDB Accelerator (DAX) caches frequently read items, reducing the number of read requests to the table. For a read-once, read-many workload, this significantly lowers read capacity consumption, thus reducing throttling cost-effectively. Option A is incorrect: Enabling auto-scaling for read capacity would help reduce throttling by automatically adjusting capacity, but it does not reduce the number of reads; it increases capacity when needed, which can be more expensive than using DAX.

Option C is incorrect: Switching to On-Demand capacity mode eliminates throttling by paying per request, but for a predictable, high-read workload, this is typically more expensive than provisioned capacity with DAX. Option D is incorrect: Increasing the provisioned read capacity units would reduce throttling, but it increases cost because you pay for higher capacity even during off-peak hours. DAX is more cost-effective as it reduces the required capacity.

49
MCQmedium

A company is using Amazon DocumentDB (with MongoDB compatibility) for a content management system. The application team notices that write operations are taking longer than usual. CloudWatch metrics show high WriteLatency and a growing number of documents in the oplog. Which step should the database specialist take to troubleshoot the issue?

A.Enable Multi-AZ on the cluster to offload reads to the standby.
B.Increase the instance size of the primary instance to handle more writes.
C.Increase the allocated storage to improve I/O throughput.
D.Check the CPU and memory utilization of the secondary instance and consider scaling it up.
AnswerD

Secondary might be bottlenecked; scaling it up can reduce replication lag and write latency.

Why this answer

High WriteLatency and growing oplog suggest that the secondary instance is too slow to apply operations, causing replication lag. Checking the secondary's metrics helps diagnose. Option A is wrong because enabling Multi-AZ does not directly address write latency.

Option B is wrong because increasing the instance class may help but should be done after diagnosis. Option C is wrong because increasing storage does not improve write performance.

50
Multi-Selecthard

A database administrator is monitoring an Amazon RDS for MySQL instance and sees the following CloudWatch metrics: 'DiskQueueDepth' is consistently at 10, 'WriteLatency' is 20 ms, 'FreeStorageSpace' is less than 10% of total. The instance uses gp2 storage. Which THREE actions should be taken to improve performance?

Select 3 answers
A.Switch to Provisioned IOPS (io1 or io2) for consistent performance
B.Increase allocated storage to improve baseline IOPS
C.Delete unnecessary data to free up storage space
D.Enable Multi-AZ to increase I/O capacity
E.Enable Performance Insights to identify slow queries
AnswersA, B, C

Provisioned IOPS ensures consistent I/O performance regardless of storage size.

Why this answer

High 'WriteLatency' and 'DiskQueueDepth' indicate an I/O bottleneck. Switching to Provisioned IOPS (io1 or io2) provides consistent low-latency I/O performance. Option B is correct: gp2 storage baseline IOPS scales with storage size.

Increasing allocated storage raises the baseline IOPS, which can improve performance. Option C is correct: Low free storage space on gp2 can cause performance degradation because write operations may be throttled. Deleting unnecessary data frees up space and alleviates this issue.

Option D is incorrect: Multi-AZ provides high availability and disaster recovery, not increased I/O capacity. It can add write latency due to synchronous replication. Option E is incorrect: Performance Insights is a monitoring tool for analyzing database performance; it helps identify slow queries but does not directly improve performance.

Therefore, the correct actions are A, B, and C.

51
MCQeasy

A company is using Amazon DynamoDB for a gaming leaderboard application. Recently, users have experienced increased latency when updating scores. The DynamoDB table has on-demand capacity mode. The application performs UpdateItem calls with a condition expression. Which action is most likely to reduce the latency?

A.Add a global secondary index (GSI) with the score as the sort key to improve update performance.
B.Switch the table to provisioned capacity and increase the read capacity units to handle peak load.
C.Disable conditional writes to reduce the overhead of condition expression evaluation.
D.Ensure that there are no throttled requests in the CloudWatch metrics and verify that the table is not experiencing hot partitions.
AnswerD

On-demand mode automatically scales, but hot partitions can cause latency; checking metrics helps identify partition issues.

Why this answer

Increased latency in DynamoDB can be caused by hot partitions where many requests hit the same partition, leading to throttling even with on-demand capacity if the partition limits are exceeded. Checking CloudWatch metrics for throttled requests and partition metrics helps identify hot partitions. Option A is incorrect because adding a GSI does not improve UpdateItem performance; it only helps query performance.

Option B is incorrect: on-demand mode already handles capacity, and increasing read capacity units does not affect write operations like UpdateItem. Option C is incorrect: disabling conditional writes would break the application's concurrency control and does not guarantee latency reduction; condition evaluation is a fast, internal operation.

52
MCQmedium

A company uses Amazon Aurora MySQL. They notice that the DB cluster's failover took longer than expected during a recent primary instance failure. CloudWatch shows Failover latency of 120 seconds. Which configuration change would most likely reduce the failover time?

A.Increase the instance class of the primary and replica instances.
B.Increase the backup retention period to 35 days.
C.Enable Multi-AZ on the DB cluster.
D.Configure the application to use the cluster endpoint with Aurora JDBC driver's fast failover feature.
AnswerD

Using the cluster endpoint with the Aurora JDBC driver's fast failover feature reduces failover time by enabling the driver to quickly detect the new writer and reconnect without waiting for DNS propagation.

Why this answer

Configuring the application to use the cluster endpoint with the Aurora JDBC driver's fast failover feature allows the driver to quickly detect the new writer after a failover and reconnect, significantly reducing the perceived failover time by avoiding DNS propagation delays. Option A is incorrect because increasing the instance class improves performance but does not affect failover speed. Option B is incorrect because backup retention period is unrelated to failover latency.

Option C is incorrect because Aurora MySQL is already Multi-AZ by design; enabling Multi-AZ is not a separate configuration step.

53
MCQmedium

A company uses Amazon ElastiCache for Redis as a caching layer for a web application. They notice increased latency and cache miss rates. The cache cluster has 5 nodes with replication. Which metric should be monitored to identify if the cache is under-provisioned?

A.ReplicationLag
B.CacheHits
C.CPUUtilization
D.Evictions
AnswerC

High CPU suggests nodes are processing too many requests.

Why this answer

High CPUUtilization indicates the cache nodes are overloaded, suggesting the cache is under-provisioned and cannot handle the request volume. Option A is incorrect because ReplicationLag measures replication delays, not overall capacity. Option B is incorrect because CacheHits measure cache effectiveness, but a high miss rate could be due to capacity or other factors; CPU is more direct for throughput.

Option D is incorrect because Evictions occur when memory is full, but CPU utilization is a better indicator of processing capacity constraints.

54
MCQeasy

A developer is troubleshooting slow queries in Amazon RDS for MySQL. The 'Threads_running' status variable is consistently above 200. The application uses connection pooling. Which metric should be monitored to identify the root cause?

A.Innodb_row_lock_current_waits
B.Queries_per_second
C.Slow_queries
D.Threads_connected
AnswerA

High thread count with many lock waits indicates contention.

Why this answer

High 'Threads_running' consistently above 200 often indicates queries waiting on locks or I/O. 'Innodb_row_lock_current_waits' directly measures the number of row lock waits, which is a common cause of blocked queries when connection pooling is used. Option B is wrong because 'Queries_per_second' measures throughput, not concurrent active queries. Option C is wrong because 'Slow_queries' counts only queries exceeding a time threshold, not all concurrent queries.

Option D is wrong because 'Threads_connected' shows the number of open connections, not necessarily active queries; with connection pooling, many connections may be idle.

55
MCQmedium

A company is running Amazon RDS for MySQL and notices that the database CPU utilization is consistently above 80% during peak hours. The application performance is degrading. Which action should be taken first to troubleshoot the issue?

A.Increase the instance size of the RDS instance immediately.
B.Create a read replica to offload read traffic.
C.Enable Performance Insights to identify the queries causing high CPU usage.
D.Switch the database engine to Amazon Aurora for better performance.
AnswerC

Performance Insights helps identify performance bottlenecks.

Why this answer

Enabling Performance Insights provides detailed analysis of database performance, helping to identify the root cause of high CPU utilization. Option A is wrong because increasing instance size without understanding the cause may lead to unnecessary costs. Option B is wrong because creating a read replica does not directly address CPU utilization on the primary instance.

Option D is wrong because switching to a different database engine is a major change and not a troubleshooting step.

56
Multi-Selectmedium

A company is troubleshooting an Amazon DynamoDB table that is throttling write requests. The table has a partition key ('userId') and a sort key ('timestamp'). The 'WriteCapacityUnits' is set to 1000. CloudWatch shows 'ThrottledWriteRequests' but the 'ConsumedWriteCapacityUnits' is only 500. Which TWO actions could resolve the throttling?

Select 2 answers
A.Add a random suffix to the partition key to distribute writes more evenly
B.Enable DynamoDB Accelerator (DAX) to cache writes
C.Increase the write capacity units to allow more throughput
D.Enable Global Tables to replicate writes across regions
E.Remove the sort key and use only a partition key
AnswersA, C

Randomizing the partition key helps distribute write load across partitions, reducing throttling.

Why this answer

The issue is throttling on write requests despite consumed capacity below provisioned. This indicates a hot partition where one partition receives more writes than its limit (1000 WCU per partition). Option A (add random suffix to partition key) distributes writes across partitions, preventing any single partition from exceeding its limit.

Option C (increase write capacity units) can increase the number of partitions, thereby distributing the load and potentially raising the per-partition limit. Option B is incorrect because DAX is a read cache and does not affect write throughput. Option D (Global Tables) does not resolve throttling and may add latency.

Option E (removing sort key) does not address partition hotness.

Exam trap

Candidates often confuse throttling due to hot partitions with overall capacity shortage. They may think increasing capacity is unnecessary when consumed capacity is low, but it can help by increasing partitions.

57
MCQhard

Refer to the exhibit. An IAM policy is attached to a user who is attempting to run a Scan operation on the Orders table using the AWS CLI. The Scan operation fails with an AccessDeniedException. What is the most likely reason?

A.The resource ARN does not include the table name.
B.The Scan action is not allowed in the policy.
C.The condition requires the partition key to be 'CustomerID', but the Scan operation does not specify a partition key.
D.The 'ForAllValues:StringEquals' condition set operator prevents the Scan operation because it requires all leading keys to match a single value, which is impossible for a Scan.
AnswerD

'ForAllValues' evaluates to false if the request has no leading keys (as in Scan) or multiple keys.

Why this answer

The condition 'dynamodb:LeadingKeys' applies only to Query and Scan operations when the condition key is used to restrict partition key values. However, the condition 'ForAllValues:StringEquals' requires that all leading keys in the request match the specified value. For a Scan operation without a specific partition key, the condition cannot be satisfied, leading to denial.

Option A is incorrect because the resource ARN includes the table name, so it is valid. Option B is incorrect because the policy allows Scan action. Option C is incorrect because the condition is on LeadingKeys, not on the table.

58
MCQmedium

A company is using Amazon RDS for MySQL with Multi-AZ deployment. The database experiences a sudden increase in latency and the application reports timeouts. CloudWatch shows elevated 'ReadLatency' and 'WriteLatency' metrics, while 'CPUUtilization' and 'DatabaseConnections' remain normal. Which is the MOST likely cause?

A.A runaway query is consuming CPU resources
B.A Multi-AZ failover occurred
C.A large transaction is being processed
D.The database has insufficient provisioned IOPS
AnswerC

Large transactions can cause high I/O wait and latency without high CPU or connections.

Why this answer

A large transaction can cause increased latency without high CPU or connection count, as it may be waiting on disk I/O or replication. Option A is wrong because a runaway query consuming CPU would show elevated CPUUtilization, which is normal. Option B is wrong because a Multi-AZ failover would cause a brief spike in latency followed by recovery, not sustained latency.

Option D is wrong because insufficient provisioned IOPS would typically show BurstBalance or IOPS metrics, not just ReadLatency and WriteLatency.

59
MCQeasy

A developer notices that an Amazon RDS for PostgreSQL DB instance is running low on free storage space. The instance has 100 GB of allocated storage. What is the recommended first step to troubleshoot this issue?

A.Enable storage auto scaling
B.Modify the DB instance to increase allocated storage
C.Check for unused indexes or table bloat using pg_repack or similar tools
D.Delete the oldest transaction logs
AnswerC

Index bloat and table bloat are common causes of storage consumption.

Why this answer

Checking for unused indexes or bloat is a typical starting point for storage issues. Option A is wrong because enabling storage auto scaling is a preventive measure, not a troubleshooting step. Option B is wrong because modifying storage is a solution, not a troubleshooting step.

Option D is wrong because deleting transaction logs may not recover significant space and can affect point-in-time recovery.

60
MCQmedium

A company is using Amazon Redshift for data warehousing. Users report that queries are taking longer than expected. Which CloudWatch metric should be monitored to identify if queries are waiting for resources due to concurrency scaling?

A.WLMQueueLength
B.DiskSpaceUsage
C.QueryDuration
D.ConcurrencyScalingActiveQueries
AnswerD

This metric shows the number of queries running on concurrency scaling clusters.

Why this answer

ConcurrencyScalingActiveQueries measures the number of queries currently running on concurrency scaling clusters, helping identify if queries are waiting due to concurrency scaling. Option A is incorrect because WLMQueueLength indicates queries waiting in the workload management queue, not necessarily due to concurrency scaling. Option B is incorrect because DiskSpaceUsage tracks storage consumption, not query waiting.

Option C is incorrect because QueryDuration measures execution time but does not indicate waiting for concurrency scaling resources.

61
MCQeasy

An Amazon RDS for Oracle instance is experiencing high swap usage. Which metric should be monitored to determine if the instance is memory-constrained?

A.CPUUtilization
B.SwapUsage
C.WriteIOPS
D.FreeableMemory
AnswerB

High swap usage indicates memory pressure.

Why this answer

SwapUsage indicates that the instance is using swap space, which is a sign of memory pressure. CPUUtilization is for CPU, not memory. FreeableMemory shows available memory, but swap usage directly indicates memory constraint.

62
MCQeasy

A database specialist is trying to connect to an Amazon RDS for MySQL instance from an EC2 instance but receives a 'Connection timed out' error. The security group for the RDS instance allows inbound traffic on port 3306 from the security group of the EC2 instance. What should the specialist check next?

A.Check the network ACL associated with the subnet of the RDS instance to ensure it allows inbound traffic on port 3306 and outbound traffic on ephemeral ports.
B.Check that the RDS instance has a public DNS name and the EC2 instance can resolve it.
C.Ensure that the VPC has an internet gateway attached and the route table has a route to it.
D.Verify that the security group for the EC2 instance allows outbound traffic on port 3306.
AnswerA

Network ACLs are stateless and must allow both inbound and outbound traffic.

Why this answer

The 'Connection timed out' error suggests the packet is being dropped at the network layer, likely by a network ACL. Since the security group allows inbound on port 3306, the next step is to check the network ACL associated with the RDS instance's subnet. Network ACLs are stateless, so they must allow both inbound traffic on port 3306 and outbound traffic on ephemeral ports for the response.

Option B is incorrect because a timed out error occurs before the TCP handshake completes, so DNS resolution is not the issue. Option C is incorrect because an internet gateway and public route are irrelevant if both instances are in the same VPC or connected privately. Option D is incorrect because the security group for the EC2 instance can be stateful and typically allows outbound traffic by default; the timeout is not caused by missing outbound rules on the EC2 side.

63
MCQeasy

Refer to the exhibit. A developer runs the AWS CLI command and receives the output shown. What is this output?

A.The DNS endpoint of the DB instance
B.The private IP address of the DB instance
C.The reader endpoint of a Multi-AZ cluster
D.The resource ID of the DB instance
AnswerA

RDS provides a DNS endpoint for connections.

Why this answer

The output shown is the DNS endpoint of the RDS instance. This is the standard endpoint used to connect to the DB instance. Option A is correct because it matches this output.

Option B is incorrect because the output is a DNS name, not a private IP address. Option C is incorrect because a reader endpoint includes a '-ro' suffix and applies only to Multi-AZ clusters. Option D is incorrect because the resource ID is a different identifier, not a DNS endpoint.

64
MCQmedium

A company is using Amazon RDS for MySQL and notices that database connections are being rejected intermittently. The application logs show 'Too many connections' errors. The DB instance has 1000 max_connections. Which action should the DBA take to troubleshoot and resolve this issue without impacting performance?

A.Increase the max_connections parameter to 5000 in the DB parameter group
B.Create a read replica to offload read traffic
C.Enable Performance Insights and review the 'DB Connections' metric to identify spikes and troubleshoot application connection pooling
D.Set the 'wait_timeout' parameter to a lower value to close idle connections faster
AnswerC

Performance Insights helps identify the source of connection bursts and allows tuning of the application's connection pooling behavior.

Why this answer

Enabling Performance Insights allows the DBA to monitor the 'DB Connections' metric in near real-time, identify exactly when connection spikes occur, and correlate those spikes with application behavior. This diagnostic approach pinpoints the root cause—such as a connection leak or insufficient connection pooling—without making changes that could degrade performance. Increasing max_connections or lowering wait_timeout without understanding the usage pattern can lead to resource exhaustion or premature connection termination.

Exam trap

The trap here is that candidates assume increasing max_connections or lowering timeouts is a quick fix, but AWS tests the ability to diagnose first using monitoring tools (Performance Insights) before making configuration changes that could harm performance or availability.

How to eliminate wrong answers

Option A is wrong because blindly increasing max_connections to 5000 does not resolve the underlying cause of connection spikes and can overwhelm the DB instance's memory and CPU, leading to worse performance or instability. Option B is wrong because a read replica offloads read traffic but does not address the 'Too many connections' error, which is a connection limit issue affecting all connections (reads and writes) on the primary instance. Option D is wrong because reducing wait_timeout may close idle connections faster, but it can disrupt long-running transactions or applications with legitimate idle periods, and it does not fix the root cause of connection spikes or leaks.

65
MCQhard

A company is running an Amazon RDS for Oracle database in Multi-AZ. The primary instance fails over unexpectedly. The DBA wants to determine the cause of the failover. What should the DBA do?

A.Review the Enhanced Monitoring metrics for the primary instance.
B.Query the database error logs for the failover time.
C.View the RDS events in the AWS Management Console.
D.Check AWS CloudTrail for any database-related API calls.
AnswerC

RDS events provide details about failover reasons.

Why this answer

RDS events log failover reasons. Option A is wrong because Enhanced Monitoring does not capture failover events. Option B is wrong because error logs may not include the failover cause.

Option D is wrong because CloudTrail logs API calls, not failover reasons.

66
MCQhard

A company's Amazon RDS for PostgreSQL instance is experiencing a high number of connections, causing performance degradation. The DBA wants to identify which user and application are creating the most connections. What should the DBA do?

A.Enable AWS CloudTrail to log database logins.
B.Enable Performance Insights and use the 'db.sql_tokenized' dimension to analyze connections by user.
C.Enable Enhanced Monitoring and check the 'Connection Count' metric.
D.Enable VPC Flow Logs to track connection attempts.
AnswerB

Performance Insights provides SQL-level performance data, including top users and applications.

Why this answer

Performance Insights with the 'db.sql_tokenized' dimension allows database administrators to group and analyze database connections by user and application, helping identify the source of high connection counts. Option A (CloudTrail) logs API calls, not database-level logins. Option C (Enhanced Monitoring) provides OS-level metrics like connection count but does not break down by user or application.

Option D (VPC Flow Logs) captures network traffic metadata, not database connection details.

67
MCQeasy

A developer needs to monitor the number of throttled read requests for a DynamoDB table. Which CloudWatch metric should be used?

A.ReadThrottleEvents
B.ThrottledWriteEvents
C.SuccessfulRequestLatency
D.ConsumedReadCapacityUnits
AnswerA

This metric directly counts throttled read requests.

Why this answer

(ReadThrottleEvents) is the correct CloudWatch metric for monitoring throttled read requests on a DynamoDB table. Option B (ThrottledWriteEvents) tracks write throttles, not reads. Option C (SuccessfulRequestLatency) measures latency, not throttling.

Option D (ConsumedReadCapacityUnits) shows read capacity consumption, not throttled requests.

68
MCQhard

A team is troubleshooting an Amazon RDS for SQL Server instance that is running out of storage. The instance uses General Purpose SSD (gp2) storage. The team wants to increase storage without downtime. Which action should they take?

A.Migrate to gp3 storage.
B.Add a read replica to offload queries.
C.Take a snapshot and restore to a larger instance.
D.Modify the DB instance to increase allocated storage.
AnswerD

Modifying the DB instance to increase allocated storage can be done without downtime, as RDS supports dynamic storage scaling.

Why this answer

Amazon RDS allows you to modify the allocated storage for a DB instance dynamically without downtime; the change takes effect during the next maintenance window or can be applied immediately. Option A is incorrect because migrating from gp2 to gp3 changes the storage type but does not increase the storage capacity. Option B is incorrect because adding a read replica does not increase storage on the primary instance; it only offloads read traffic.

Option C is incorrect because while you can restore a snapshot to a larger instance, this process involves downtime and is not as straightforward as modifying the storage directly.

69
MCQmedium

A company uses Amazon Redshift for data warehousing. They run a daily ETL job that loads data into the cluster. Recently, the job started failing with 'Disk Full' errors. The cluster has 5 RA3 nodes. Which step should be taken to resolve the issue?

A.Disable concurrency scaling to free up resources
B.Run a VACUUM command to reclaim space from deleted rows
C.Resize the cluster to a larger node type or add more nodes
D.Enable Redshift Spectrum to offload queries to S3
AnswerC

RA3 nodes separate compute and storage; you can increase storage by resizing or adding nodes.

Why this answer

Resize the cluster to a larger node type or add more nodes. RA3 nodes use managed storage with a local cache, and a 'Disk Full' error typically indicates that the local cache or the overall storage limit for the cluster is exhausted. Resizing adds more local cache and increases the total managed storage capacity, resolving the disk full error.

Option A is incorrect because disabling concurrency scaling does not free up disk space; it only affects query concurrency. Option B is incorrect because VACUUM reclaims space from deleted rows, but it requires temporary disk space; if the disk is already full, VACUUM may fail or not help. Option D is incorrect because Redshift Spectrum allows querying data directly from S3 without loading it into Redshift, but it does not resolve a disk full error on the Redshift cluster itself.

70
Multi-Selecthard

Which TWO settings should be verified when troubleshooting an RDS for MySQL instance that has a high number of aborted connections? (Choose 2.)

Select 2 answers
A.connect_timeout parameter
B.max_allowed_packet parameter
C.query_cache_type parameter
D.binlog_retention_hours parameter
E.max_connections parameter
AnswersA, B

Low connect_timeout can cause aborted connections if client takes too long.

Why this answer

Options A (connect_timeout) and B (max_allowed_packet) are correct because a low connect_timeout can cause connections to abort if not completed within the time limit, and a low max_allowed_packet can cause large queries to fail, resulting in aborted connections. Option C is incorrect because query_cache_type affects caching, not connection handling. Option D is incorrect because binlog_retention_hours is for binary log retention, unrelated to connections.

Option E is incorrect because max_connections limits the total number of simultaneous connections but does not directly cause aborted connections; excessive connection attempts might be due to other issues.

71
Multi-Selecthard

A company is using Amazon DynamoDB with provisioned capacity. The application is experiencing throttling on write requests. The database specialist needs to identify the cause. Which TWO metrics should be reviewed in CloudWatch? (Select TWO.)

Select 2 answers
A.ConsumedWriteCapacityUnits
B.WriteThrottleEvents
C.ThrottledWriteRequests
D.ReadThrottleEvents
E.SuccessfulRequestLatency
AnswersA, B

ConsumedWriteCapacityUnits shows the write capacity used; if it approaches provisioned capacity, throttling may occur.

Why this answer

'ConsumedWriteCapacityUnits' shows the actual write capacity used, helping to determine if provisioned capacity is exceeded, which leads to throttling. Option B is correct because 'WriteThrottleEvents' directly indicates the number of throttled write requests. Option C is incorrect because 'ThrottledWriteRequests' is not a valid CloudWatch metric for DynamoDB; the correct metric for throttled writes is 'WriteThrottleEvents'.

Option D is incorrect because 'ReadThrottleEvents' pertains to read throttling, not writes. Option E is incorrect because 'SuccessfulRequestLatency' measures latency, not throttling events.

72
MCQmedium

A company is running an Amazon Aurora MySQL database cluster. The database specialist notices that the write latency is high during peak hours. The cluster consists of one writer and two reader instances. Which action should the specialist take to reduce write latency?

A.Enable Auto Scaling on the cluster to automatically adjust capacity.
B.Increase the instance class of the writer instance to a larger size.
C.Enable Multi-AZ deployment for the cluster.
D.Add more reader instances to distribute the read load.
AnswerB

A larger instance class provides more CPU and memory, reducing write latency.

Why this answer

Increasing the instance class of the writer instance provides more CPU and memory resources, which can directly improve write throughput and reduce write latency during peak loads. Option A is incorrect because Auto Scaling in Aurora adjusts the number of reader instances, not the writer capacity. Option C is incorrect because Multi-AZ is already inherent in Aurora; enabling Multi-AZ does not affect write latency.

Option D is incorrect because adding more reader instances distributes read traffic but does not reduce write latency on the writer.

73
Multi-Selecteasy

A company uses Amazon ElastiCache for Redis. They want to monitor cache hit ratio. Which TWO metrics should be used to calculate the cache hit ratio?

Select 2 answers
A.GetTypeCmds
B.CacheHits
C.Evictions
D.CacheMisses
E.CurItems
AnswersB, D

Number of successful key lookups.

Why this answer

Cache hit ratio is calculated as CacheHits / (CacheHits + CacheMisses). Therefore, the two metrics needed are CacheHits (option B) and CacheMisses (option D). Options A, C, and E are not used in this calculation: GetTypeCmds counts total get commands, Evictions indicates memory pressure, and CurItems shows the number of items in the cache.

74
MCQmedium

A company is running an Amazon RDS for PostgreSQL DB instance with Multi-AZ deployment. They notice that the primary DB instance is experiencing high CPU utilization. The read replica shows normal CPU. Which action should the DBA take to reduce the load on the primary instance?

A.Failover to the standby instance
B.Increase the DB instance size
C.Convert the read replica to a Multi-AZ standby
D.Offload SELECT queries to the read replica
AnswerD

Offloading SELECT queries to the read replica directly reduces CPU utilization on the primary because read replicas can handle read-only traffic, leaving the primary to process write operations.

Why this answer

Offloading SELECT queries to the read replica reduces CPU utilization on the primary instance because read replicas can handle read traffic independently. Option A is incorrect: failing over to the standby instance does not reduce CPU load—the standby is only for high availability and becomes the new primary, still handling the same workload. Option B is incorrect: increasing the DB instance size would help but is not the best first step; it involves scaling costs and potential downtime, whereas using a read replica is more efficient and cost-effective for read-heavy workloads.

Option C is incorrect: converting the read replica to a Multi-AZ standby would make it a synchronous replica for failover, not for offloading reads, so it would not reduce CPU on the primary.

Exam trap

Candidates often confuse Multi-AZ standby with read replicas. The standby is only for high availability and does not serve read traffic, so failing over does not reduce CPU load.

75
MCQhard

A database team uses Amazon DynamoDB with auto scaling enabled. They observe frequent throttling on a table during peak hours. The table's read capacity is set to 5000 RCU with auto scaling range 3000-7000. The consumed read capacity graph shows spikes to 6000 RCU but throttling occurs at 5500. What is the most likely cause?

A.Write capacity units are insufficient
B.Auto scaling is disabled for the table
C.The table has too many partitions
D.Auto scaling cannot react quickly enough to sudden traffic spikes
AnswerD

Auto scaling has a lag; spikes can exceed provisioned capacity before scaling completes.

Why this answer

Auto scaling uses a target utilization (default 70%) and cannot scale fast enough for sudden spikes. Option A is wrong because auto scaling is enabled. Option B is wrong because WCU are separate.

Option C is wrong because partition count doesn't directly cause throttling if RCU is sufficient.

Page 1 of 4 · 289 questions totalNext →

Ready to test yourself?

Try a timed practice session using only Troubleshooting questions.