AWS Certified Data Engineer Associate DEA-C01 Practice Question

A company runs an Amazon Redshift cluster that serves dashboards refreshed every few seconds. Once a month the data engineering team needs to run a long-running UPDATE statement that backfills a 3 TB fact table. During the backfill, BI users must not be able to read the table until the update has finished and the transaction is committed. What is the MOST appropriate way to meet this requirement while keeping the solution simple and cost-effective?

  • Revoke SELECT permissions from BI user groups before the UPDATE and grant them again after the commit.

  • Create a new table, load the updated data, then atomically swap tables with ALTER TABLE ... RENAME.

  • Pause the Amazon Redshift cluster, run the UPDATE, and resume the cluster when finished.

  • Start a transaction, run LOCK fact_table IN ACCESS EXCLUSIVE MODE, execute the UPDATE, then commit.

AWS Certified Data Engineer Associate DEA-C01
Data Store Management
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot