AWS Certified Data Analytics – Specialty — Question 30

An insurance company has raw data in JSON format that is sent without a predefined schedule through an Amazon Kinesis Data Firehose delivery stream to an
Amazon S3 bucket. An AWS Glue crawler is scheduled to run every 8 hours to update the schema in the data catalog of the tables stored in the S3 bucket. Data analysts analyze the data using Apache Spark SQL on Amazon EMR set up with AWS Glue Data Catalog as the metastore. Data analysts say that, occasionally, the data they receive is stale. A data engineer needs to provide access to the most up-to-date data.
Which solution meets these requirements?

Answer options

Correct answer: D

Explanation

The correct answer is D because triggering the AWS Glue crawler through an AWS Lambda function in response to S3:ObjectCreated:* events ensures that the crawler runs immediately when new data arrives, providing access to the most current data. Options A, B, and C do not address the requirement for real-time updates, as they either rely on scheduled intervals or external querying methods that do not immediately reflect new data.