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 188 discussion

A data engineer needs to create an empty copy of an existing table in Amazon Athena to perform data processing tasks. The existing table in Athena contains 1,000 rows.

Which query will meet this requirement?

  • A. CREATE TABLE new_table -
    LIKE old_table;
  • B. CREATE TABLE new_table -
    AS SELECT *

    FROM old_table -
    WITH NO DATA;
  • C. CREATE TABLE new_table -
    AS SELECT *
    FROM old_table;
  • D. CREATE TABLE new_table -
    as SELECT *

    FROM old_cable -
    WHERE 1=1;
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

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
pikuantne
5 months, 4 weeks ago
Selected Answer: B
Definitely B
upvoted 2 times
...
truongnguyen86
5 months, 4 weeks ago
Selected Answer: B
should be B with no data option to create empty table from CTAS
upvoted 3 times
...
2022MMTT
6 months ago
B https://docs.aws.amazon.com/athena/latest/ug/ctas-examples.html#ctas-example-empty-table
upvoted 2 times
...
Parandhaman_Margan
6 months ago
Answer: B
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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago