AWS Glue Data Catalog for IoT JSON Schema Evolution
A security company stores IoT data that is in JSON format in an Amazon S3 bucket. The data structure can change when the company upgrades the IoT devices. The company wants to create a data catalog that includes the IoT data. The company's analytics department will use the data catalog to index the data. Which solution will meet these requirements MOST cost-effectively?
Community Votes
80% of anonymous learners picked answer A. Votes are pick records left by other test-takers — they are not the verified answer.
Community Insight
The core trap is confusing ad-hoc querying (Athena) with persistent cataloging and ingestion orchestration; Athena queries S3 directly but does not create or maintain a managed metadata catalog in the same way Glue does.
This question tests the creation of a centralized data catalog for evolving semi-structured data using AWS Glue. The correct solution leverages the Glue Data Catalog and Schema Registry to manage schema evolution while orchestrating ingestion into Redshift Serverless.
Many candidates choose Option C (Amazon Athena) because it is cost-effective for querying JSON in S3, but they overlook the requirement to 'create a data catalog' and the need for structured ingestion into a warehouse like Redshift.
Community Discussion (7 comments)
Comments & Corrections
No comments yet — spotted an error or have a note? Share it below.
Expert Analysis
Why the Answer Is Correct
Option A is the correct answer because it directly addresses all requirements: creating a data catalog, handling schema evolution, and providing a cost-effective analytics destination. AWS Glue Data Catalog is the native service for centralizing metadata across AWS data lakes. Configuring AWS Glue Schema Registry ensures that changes in the IoT JSON structure are tracked and validated automatically. Using an AWS Glue workload (such as Glue Studio jobs) to orchestrate ingestion into Amazon Redshift Serverless provides a serverless, pay-per-use compute model that avoids the fixed costs of provisioned clusters, making it the most cost-effective choice for ongoing analytics.Why the Other Options Are Wrong
Option B involves provisioning an Amazon Redshift cluster, which incurs significant infrastructure costs regardless of usage, violating the 'most cost-effectively' constraint. It also lacks a robust mechanism for schema evolution compared to Glue Schema Registry. Option C uses Amazon Athena, which allows SQL queries on S3 data without loading it. While Athena handles JSON well, it does not 'create a data catalog' in the sense of a managed metadata repository for ingestion pipelines; it primarily uses its own internal table definitions. Furthermore, Athena is for querying, not for the ingestion orchestration implied by the analytics department's workflow. Option D introduces unnecessary complexity and cost by using Lambda UDFs and Step Functions for simple ingestion when Glue Workloads are purpose-built for this task.Community Comment Notes
The community split between A and C, with many arguing for C due to its low upfront cost. However, users like chris_spencer correctly identified that "AWS Glue Data Catalog is the best option" for cataloging requirements. Others like VerRi noted that "Athena is not able to create new data catalog," highlighting the distinction between query engines and metadata management services. User rralucard_ emphasized that Glue offers a "serverless approach to manage the evolving data schema," which aligns perfectly with the IoT device upgrade scenario.Official Reference
Exam Strategy
Always distinguish between 'querying' data (Athena) and 'cataloging/managing' data (Glue). When the question asks for a data catalog and mentions schema evolution, Glue is almost always the primary component. Look for 'cost-effective' combined with 'analytics' to guide you toward serverless destinations like Redshift Serverless rather than provisioned clusters.
Frequently Asked Questions
Why isn't Amazon Athena sufficient for creating a data catalog?
Athena is a query engine, not a metadata catalog service. It uses tables defined in its own registry or external catalogs, but it doesn't actively crawl and manage schema evolution for ingestion pipelines like Glue does.
Is Redshift Serverless more cost-effective than Provisioned Redshift?
Yes, for variable workloads. Redshift Serverless scales compute automatically and you only pay for what you use, avoiding the fixed hourly costs of maintaining a provisioned cluster that might be underutilized.
Related Analysis
Practice All DEA-C01 Questions
Access 100 questions with complete answers and detailed explanations.
View Full DEA-C01 Practice Test →