Least Latency for AWS Glue Data Catalog Synchronization
Short answer
C Use code that writes data to Amazon S3 to invoke the Boto3 AWS Glue create_partition API call.
Question
Key Takeaways
The exam tests the distinction between event-driven synchronization and scheduled/batch processes, where immediate API calls provide zero latency compared to crawlers or manual repairs.
This question tests the method for synchronizing the AWS Glue Data Catalog with Amazon S3 partitions to achieve the least latency. The correct solution involves programmatically invoking the CreatePartition API immediately upon data write.
Common mistake: Many candidates select D (MSCK REPAIR TABLE) because it is a standard tool for syncing partition metadata, but they overlook that it requires an external trigger and does not inherently offer the 'least latency' of an immediate programmatic call.
Expert Analysis
Why the Answer Is Correct
Option C is the only approach that guarantees the lowest possible latency by synchronizing the catalog at the exact moment data is written. By embedding the Boto3 create_partition call in the data ingestion code, the system ensures that the Glue Data Catalog is updated immediately after the S3 object is placed, eliminating any delay associated with scheduling or polling.
Why the Other Options Are Wrong
Option A introduces significant latency due to the daily schedule and the time required for the crawler to scan the bucket. Option B relies on manual intervention, which is error-prone and lacks automation. Option D, MSCK REPAIR TABLE, scans the S3 bucket to detect new partitions; while effective for bulk updates, it still requires a trigger (like EventBridge or Lambda) and involves scanning overhead, making it slower than an immediate API call.
Community Comment Notes
Community consensus strongly favors C, with users noting that this approach provides "near real-time synchronization" and is "pure event-driven." Some dissenting opinions suggest D, arguing it is the standard way to sync, but these comments fail to address the specific constraint of "least latency" which demands immediacy rather than periodic repair.
Official Reference
https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-crawler-program-apis.html
This link opens the official vendor documentation in a new tab.
Exam Strategy
When a question asks for the "LEAST latency" or "real-time" solution, always look for event-driven or immediate programmatic actions over scheduled crawlers or batch processes. Avoid solutions that involve polling or manual steps if an automated, immediate alternative exists.
Frequently Asked Questions
Why isn't MSCK REPAIR TABLE the best for least latency?
Can I use CloudWatch Events to trigger the Glue Crawler?
Community Votes
100% of anonymous learners picked answer C. Votes are pick records left by other test-takers — they are not the verified answer.
Discussion 8 contributions
Compiled from public community threads and reader submissions, lightly edited for clarity. Handles and vote tallies are shown as recorded, and comments reflect the views of individual contributors.
From public community threads 8
-
rralucard_ 👍 8 Answered CUse code that writes data to Amazon S3 to invoke the Boto3 AWS Glue create_partition API call. This approach ensures that the Data Catalog is updated as soon as new data is written to S3, providing the least latency in reflecting new partitions.
-
pypelyncar 👍 4 Answered CBy embedding the Boto3 create_partition API call within the code that writes data to S3, you achieve near real-time synchronization. The Data Catalog is updated immediately after a new partition is created in S3.
-
tgv 👍 2 Answered CThe explanation could be more precise regarding the interaction with Amazon S3 and AWS Glue. The key point is that the process should be triggered immediately when new data is added to S3. This can be achieved through event-driven architecture, which indeed makes the solution intuitive and efficient.
-
DevoteamAnalytix 👍 1 Answered DIt's about "synchronizing AWS Glue Data Catalog with S3". So for me it's D - using MSCK REPAIR TABLE for existing S3 partitions (https://docs.aws.amazon.com/athena/latest/ug/msck-repair-table.html)
-
valuedate 👍 1 Answered Cadd partition after writing the data in s3
Show 3 more comments
-
GiorgioGss 👍 1 Answered CIt's pure event-driven so... C
-
okechi 👍 2The answer is D
-
atu1789 👍 1 Answered CC. Least latency
Reader comments & corrections
No reader corrections yet — spotted an error or have a note? Share it below.
Related Analysis
Practice All DEA-C01 Questions
Access 100 questions with complete answers and detailed explanations.
View Full DEA-C01 Practice Test →