nerdexam
Amazon

DBS-C01 · Question #224

A manufacturing company has an. inventory system that stores information in an Amazon Aurora MySQL DB cluster. The database tables are partitioned. The database size has grown to 3 TB. Users run…

The correct answer is B. Enable hash joins on the database by setting the variable optimizer_switch to hash_join=on. https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraMySQL.BestPractices

Submitted by olafpl· Mar 6, 2026Workload-Specific Database Design

Question

A manufacturing company has an. inventory system that stores information in an Amazon Aurora MySQL DB cluster. The database tables are partitioned. The database size has grown to 3 TB. Users run one-time queries by using a SQL client. Queries that use an equijoin to join large tables are taking a long time to run. Which action will improve query performance with the LEAST operational effort?

Options

  • AMigrate the database to a new Amazon Redshift data warehouse.
  • BEnable hash joins on the database by setting the variable optimizer_switch to hash_join=on.
  • CTake a snapshot of the DB cluster. Create a new DB instance by using the snapshot, and enable
  • DAdd an Aurora read replica.

How the community answered

(27 responses)
  • A
    7% (2)
  • B
    74% (20)
  • C
    4% (1)
  • D
    15% (4)

Explanation

https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraMySQL.BestPractices

Topics

#Aurora MySQL#query performance tuning#hash joins#optimizer configuration

Community Discussion

No community discussion yet for this question.

Full DBS-C01 Practice