SAA-C03 practice question 19 of 35

A company is using an Amazon Redshift cluster to run analytics queries for multiple sales teams. In addition to the typical workload, on the last…

Full set: 972 questions

Domain Design High-Performing Architectures

A company is using an Amazon Redshift cluster to run analytics queries for multiple sales teams. In addition to the typical workload, on the last Monday morning of each month, thousands of users run reports. Users have reported slow response times during the monthly surge. The company must improve query performance without impacting the availability of the Redshift cluster. Which solution will meet these requirements?
Answer options
A: Resize the Redshift cluster by using the classic resize capability of Amazon Redshift before every monthly surge. Reduce the cluster to its original size after each surge.
B: Resize the Redshift cluster by using the elastic resize capability of Amazon Redshift before every monthly surge. Reduce the cluster to its original size after each surge.
C: Enable the concurrency scaling feature for the Redshift cluster for specific workload management (WLM) queues. Correct answer
D: Enable Amazon Redshift Spectrum for the Redshift cluster before every monthly surge.
Correct Answer:
C. Enable the concurrency scaling feature for the Redshift cluster for specific workload management (WLM) queues.
Explanation

The core issue is a predictable surge in concurrent read queries from thousands of users, leading to performance degradation. Amazon Redshift Concurrency Scaling is designed specifically for this scenario. It automatically adds and removes transient cluster capacity to handle bursts of read queries, ensuring consistently fast performance without requiring manual intervention or causing downtime. By enabling this feature on the relevant Workload Management (WLM) queues, the cluster can elastically scale its query processing power to meet the monthly demand surge, directly addressing the performance bottleneck without impacting availability.

Why Incorrect

A. Classic Resize: This operation makes the cluster read-only for an extended period, which significantly impacts availability and violates a key requirement of the solution.
B. Elastic Resize: While faster than classic resize, this operation still causes a brief period of cluster unavailability (a few minutes) as connections are dropped, violating the requirement.
D. Redshift Spectrum: This feature is for querying data directly in Amazon S3. It does not add compute capacity to the main cluster to handle an increased number of concurrent queries.

References

1. Amazon Redshift Documentation, "Concurrency scaling": "With concurrency scaling, you can support virtually unlimited concurrent users and concurrent queries, with consistently fast query performance. When you enable concurrency scaling, Amazon Redshift automatically adds additional cluster capacity when you need it to process an increase in concurrent read queries." This source confirms that Concurrency Scaling is the correct mechanism for handling query concurrency surges.

2. Amazon Redshift Documentation, "Resizing clusters - Elastic resize": "During an elastic resize, the cluster is unavailable for a few minutes... We recommend that you schedule an elastic resize during a time of low query activity." This confirms that elastic resize impacts availability.

3. Amazon Redshift Documentation, "Resizing clusters - Classic resize": "During a classic resize, Amazon Redshift places your existing cluster into read-only mode..." This confirms that classic resize impacts write availability.

4. Amazon Redshift Documentation, "Working with Concurrency Scaling": "To enable concurrency scaling, you configure the concurrencyscalingmode parameter in your workload management (WLM) configuration." This supports the implementation detail mentioned in the correct answer.

5. Amazon Redshift Documentation, "Querying external data using Amazon Redshift Spectrum": "Amazon Redshift Spectrum... enables you to run Amazon Redshift SQL queries against exabytes of data in Amazon S3." This clarifies that Spectrum's purpose is for querying external data, not scaling for concurrency on the main cluster.

Scroll to Top