A company partitions its Amazon S3 data lake using object key paths like s3://bucket/prefix/year=2023/month=01/day=01. The AWS Glue Data Catalog must stay synchronized with S3 when new partitions are added. Which approach provides the lowest latency for keeping the catalog up to date?
Choose an answer
Tap an option to check your answer.
Correct answer: Use code that writes data to Amazon S3 to invoke the Boto3 AWS Glue create_partition API call..
Why this is the answer
The most efficient way to update the AWS Glue Data Catalog with new partitions is to integrate the createpartition API call directly into the data ingestion process. When your code writes new data to S3, it immediately calls the API to register the new partition, ensuring the lowest possible latency for catalog synchronization. Scheduling an AWS Glue crawler introduces a delay until the next scheduled run. Manually running the CreatePartition API is not scalable or automated. Running MSCK REPAIR TABLE from the AWS Glue console is a manual operation and also introduces latency as it scans the S3 path, similar to a crawler, but requires manual initiation.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed