exam questions

Exam AWS Certified Data Engineer - Associate DEA-C01 All Questions

View all questions & answers for the AWS Certified Data Engineer - Associate DEA-C01 exam

Exam AWS Certified Data Engineer - Associate DEA-C01 topic 1 question 220 discussion

A data engineer is using an AWS Glue ETL job to remove outdated customer records from a table that contains customer account information. The data engineer is using the following SQL command to remove customers that exist in a table named monthly_accounts_update table from the customer accounts table:

MERGE INTO accounts t USING monthly_accounts_update s

ON t.customer = s.customer -

WHEN MATCHED -

THEN DELETE -

What will happen when the data engineer runs the SQL command?

  • A. All customer records that exist in both the customer accounts table and the monthly_accounts_update table will be deleted from the accounts table.
  • B. Only customer records that are present in both tables will be retained in the customer accounts table.
  • C. The monthly_accounts_update table will be deleted.
  • D. No records will be deleted because the command syntax is not valid in AWS Glue.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
XP_2600
1 month ago
Selected Answer: A
Seems i was mistaken or there is some typos in post, i think its A
upvoted 1 times
...
XP_2600
1 month, 2 weeks ago
Selected Answer: D
Syntax is not valid glue syntax
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...