Topic 1 Question 189
2 つ選択A company has a data lake in Amazon S3. The company collects AWS CloudTrail logs for multiple applications. The company stores the logs in the data lake, catalogs the logs in AWS Glue, and partitions the logs based on the year. The company uses Amazon Athena to analyze the logs.
Recently, customers reported that a query on one of the Athena tables did not return any data. A data engineer must resolve the issue.
Which combination of troubleshooting steps should the data engineer take?
Confirm that Athena is pointing to the correct Amazon S3 location.
Increase the query timeout duration.
Use the MSCK REPAIR TABLE command.
Restart Athena.
Delete and recreate the problematic Athena table.
ユーザの投票
コメント(3)
Correct Answer: AC
A. Confirm that Athena is pointing to the correct Amazon S3 location.
This is a critical first step to ensure that the data source Athena is querying matches the actual location of the CloudTrail logs in S3. If the path is incorrect, Athena will not find the data. C. Use the MSCK REPAIR TABLE command.
If the data lake is partitioned, using the MSCK REPAIR TABLE command can help update the table metadata in Athena. This command will add any missing partitions to the table, which may resolve issues related to missing data if new partitions were added but not reflected in Athena.
👍 2kupo7772024/11/04- 正解だと思う選択肢: AC
B and D definitely wrong E should be dangerous
👍 2michele_scar2024/11/18 should be A, B. D and E are incorrect, C: MSCK REPAIR TABLE is a Hive command in Amazon Athena not for S3
👍 1truongnguyen862024/10/31
シャッフルモード