AWS Certified SysOps Administrator – AssociateCost and Performance OptimizationHard

A data analytics team is using an Amazon Redshift cluster for their data warehousing needs. They frequently run complex analytical queries that involve large joins and aggregations, which sometimes cause query performance to degrade due to contention for resources. The cluster currently uses a single node type with default WLM (Workload Management) settings. The SysOps Administrator needs to improve query performance, especially for critical analytical queries, without significantly increasing the overall cluster size. What is the most effective approach?

  1. AEnable Concurrency Scaling for the Redshift cluster.
  2. BMigrate the Redshift cluster to a larger instance type (e.g., from ra3.xlplus to ra3.4xlplus).
  3. CScale out the Redshift cluster by adding more nodes.
  4. DImplement a WLM configuration to prioritize critical analytical queries.
Show answer & explanation

Correct answer: D. Implement a WLM configuration to prioritize critical analytical queries.

Workload Management (WLM) in Amazon Redshift allows you to define query queues and allocate resources (memory and concurrency) to different types of queries. By creating a WLM queue specifically for critical analytical queries and assigning it higher priority and sufficient resources, you can ensure their consistent performance, even during periods of high cluster utilization, without necessarily increasing the cluster's overall size.

Why the other options are wrong

  • A. Concurrency Scaling allows Redshift to automatically add temporary capacity for bursty, read-only workloads. While it helps with overall concurrency, it might not directly address the prioritization of *critical* queries within the existing cluster resources, especially if the contention is due to resource allocation among different query types.
  • B. Migrating to a larger instance type (vertical scaling) might improve performance but would significantly increase costs and might not be the most targeted solution for contention issues among different query types.
  • C. Adding more nodes (horizontal scaling) would increase overall capacity and cost. While it can improve performance, WLM is a more precise approach for managing contention among specific query types.

Redshift Workload Management (WLM)

A feature in Amazon Redshift that allows administrators to manage query queues and allocate cluster resources to different workloads to ensure consistent performance.

  • Prioritizes critical queries.
  • Allocates specific memory and concurrency slots.
  • Improves performance during contention.

Memory trick: Redshift speed: manage queries, scale nodes, or tune the data.

More Cost and Performance Optimization questions