A company has an on-premises PostgreSQL database that contains customer data. The company wants to migrate the customer data to an Amazon Redshift data warehouse. The company has established a VPN connection between the on-premises database and AWS.
The on-premises database is continuously updated. The company must ensure that the data in Amazon Redshift is updated as quickly as possible.
Which solution will meet these requirements?
Option B is the only solution that supports near real-time updates from a continuously changing source to Amazon Redshift. The requirement says the on-premises PostgreSQL database is ''continuously updated'' and the target must be updated ''as quickly as possible.'' Nightly full backups or nightly full loads (Options A and D) inherently introduce at least a daily lag, which violates the freshness requirement. Similarly, exporting with pg_dump and reloading with COPY (Option C) is a batch approach and does not provide continuous change propagation.
The study material explicitly positions AWS Database Migration Service (DMS) for database migrations and highlights that it supports both full-load and change data capture (CDC), and that CDC enables continuous replication so ongoing changes can be applied after the initial load.
A company is building a new application that ingests CSV files into Amazon Redshift. The company has developed the frontend for the application.
The files are stored in an Amazon S3 bucket. Files are no larger than 5 MB.
A data engineer is developing the extract, transform, and load (ETL) pipeline for the CSV files. The data engineer configured a Redshift cluster and an AWS Lambda function that copies the data out of the files into the Redshift cluster.
Which additional steps should the data engineer perform to meet these requirements?
Option A is the most direct and operationally efficient way to trigger the existing Lambda-based load into Amazon Redshift whenever a new CSV file is uploaded to Amazon S3. The key requirement is event-driven automation on ''new object created'' events, and the study material explicitly describes using Amazon EventBridge to react to S3 uploads by creating a rule on the default event bus and routing matching events to a target application.
Compared with queue-based designs (Options B and D), Option A reduces components: there is no need to manage an SQS queue, batching/visibility timeout behavior, or retry semantics at the consumer layer. This is especially appropriate because the files are small ( 5 MB) and the Lambda function is already implemented to perform the copy/load step. Using DMS (Option C) is not designed for ''S3 object arrival Lambda Redshift'' event triggering; it introduces unnecessary services and operational work for a simple file-ingestion trigger.
A data engineer is troubleshooting an AWS Glue workflow that occasionally fails. The engineer determines that the failures are a result of data quality issues. A business reporting team needs to receive an email notification any time the workflow fails in the future.
Which solution will meet this requirement?
An ecommerce company wants to use AWS to migrate data pipelines from an on-premises environment into the AWS Cloud. The company currently uses a third-party too in the on-premises environment to orchestrate data ingestion processes.
The company wants a migration solution that does not require the company to manage servers. The solution must be able to orchestrate Python and Bash scripts. The solution must not require the company to refactor any code.
Which solution will meet these requirements with the LEAST operational overhead?
The ecommerce company wants to migrate its data pipelines into the AWS Cloud without managing servers, and the solution must orchestrate Python and Bash scripts without refactoring code. Amazon Managed Workflows for Apache Airflow (Amazon MWAA) is the most suitable solution for this scenario.
Option B: Amazon Managed Workflows for Apache Airflow (Amazon MWAA) MWAA is a managed orchestration service that supports Python and Bash scripts via Directed Acyclic Graphs (DAGs) for workflows. It is a serverless, managed version of Apache Airflow, which is commonly used for orchestrating complex data workflows, making it an ideal choice for migrating existing pipelines without refactoring. It supports Python, Bash, and other scripting languages, and the company would not need to manage the underlying infrastructure.
Other options:
AWS Lambda (Option A) is more suited for event-driven workflows but would require breaking down the pipeline into individual Lambda functions, which may require refactoring.
AWS Step Functions (Option C) is good for orchestration but lacks native support for Python and Bash without using Lambda functions, and it may require code changes.
AWS Glue (Option D) is an ETL service primarily for data transformation and not suitable for orchestrating general scripts without modification.
Amazon Managed Workflows for Apache Airflow (MWAA) Documentation
A data engineer needs to create a new empty table in Amazon Athena that has the same schema as an existing table named old-table.
Which SQL statement should the data engineer use to meet this requirement?
A.

B.

C.

D.

Problem Analysis:
The goal is to create a new empty table in Athena with the same schema as an existing table (old_table).
The solution must avoid copying any data.
Key Considerations:
CREATE TABLE AS (CTAS) is commonly used in Athena for creating new tables based on an existing table.
Adding the WITH NO DATA clause ensures only the schema is copied, without transferring any data.
Solution Analysis:
Option A: Copies both schema and data. Does not meet the requirement for an empty table.
Option B: Inserts data into an existing table, which does not create a new table.
Option C: Creates an empty table but does not copy the schema.
Option D: Creates a new table with the same schema and ensures it is empty by using WITH NO DATA.
Final Recommendation:
Use D. CREATE TABLE new_table AS (SELECT * FROM old_table) WITH NO DATA to create an empty table with the same schema.
Currently there are no comments in this discussion, be the first to comment!
Sharen
19 days agoEveline
26 days agoAbraham
1 month agoTelma
1 month agoLashawn
2 months agoLavelle
2 months agoSanjuana
2 months agoLatricia
2 months agoCorazon
3 months agoLaine
3 months agoCecily
3 months agoMarsha
3 months agoFelix
4 months agoCammy
4 months agoFloyd
4 months agoKarma
4 months agoDenise
5 months agoKenneth
5 months agoZona
5 months agoCyril
5 months agoRyann
6 months agoSue
6 months agoPamela
6 months agoTammara
6 months agoChantell
7 months agoJame
7 months agoStanton
7 months agoMargot
7 months agoStefanie
7 months agoNakisha
8 months agoCarlene
8 months agoBea
8 months agoTomoko
10 months agoCarlota
10 months agoJustine
10 months agoDallas
11 months agoHui
11 months agoLeonor
11 months agoRosenda
12 months agoDiego
12 months agoElbert
1 year agoJohnetta
1 year agoFletcher
1 year agoAndra
1 year agoKaitlyn
1 year agoCecilia
1 year agoMarquetta
1 year agoWade
1 year agoGlory
1 year agoTatum
1 year agoMelodie
1 year agoVicki
1 year agoGaston
1 year agoPedro
1 year agoTanesha
1 year agoFredric
1 year agoGlenn
1 year agoEliseo
1 year agoShawna
1 year agoEloisa
1 year agoDaron
1 year agoLashonda
1 year agoEdgar
1 year agoRessie
2 years agoIlene
2 years agoKarina
2 years ago