Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
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: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
pikuantne
2 weeks ago
Selected Answer: B
Definitely B
upvoted 1 times
...
truongnguyen86
2 weeks, 1 day ago
Selected Answer: B
should be B with no data option to create empty table from CTAS
upvoted 1 times
...
2022MMTT
2 weeks, 4 days ago
B https://docs.aws.amazon.com/athena/latest/ug/ctas-examples.html#ctas-example-empty-table
upvoted 1 times
...
Parandhaman_Margan
2 weeks, 5 days 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 ...