DEA-C01 AWS Glue Data Catalog Practice Question
A company uses AWS Glue to process data from Amazon S3. The Glue job fails with a 'SchemaDetectionException'. The data engineer wants to ensure the schema is correctly inferred. Which TWO actions should the engineer take? (Choose two.)
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Use the Glue Data Catalog as the source for schema definition.
The correct answers are A and E. Option A uses the Glue Data Catalog as the source for schema definition, providing a consistent schema and avoiding schema detection failures. Option E sets the 'groupFiles' option to 'inPartition', which helps Glue combine small files within a partition for schema inference, reducing 'SchemaDetectionException' errors. Option B is incorrect because adding a column with a default value does not affect schema detection. Option C is incorrect because increasing DPUs only improves processing speed, not schema inference. Option D is incorrect because converting to Parquet may change the schema but does not directly address schema detection issues.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Use the Glue Data Catalog as the source for schema definition.
Why this is correct
Using the Glue Data Catalog as the source for schema definition ensures the schema is predefined and consistent, preventing schema detection errors.
- ✗
Add a column with a default value to the data.
Why it's wrong here
Adding a column with a default value does not help schema inference; it alters the data but does not address the root cause of schema detection failure.
- ✗
Increase the number of Glue DPUs to speed up processing.
Why it's wrong here
Increasing the number of Glue DPUs improves processing parallelism but does not affect schema detection.
- ✗
Convert all input files to Parquet format.
Why it's wrong here
Converting files to Parquet format may improve performance but does not guarantee correct schema inference and is not a direct solution to SchemaDetectionException.
- ✓
Set the 'groupFiles' option to 'inPartition' to combine small files.
Why this is correct
Setting 'groupFiles' to 'inPartition' allows Glue to combine many small files within a partition for schema inference, reducing the likelihood of SchemaDetectionException.
Quick reference
AWS S3 Storage Class Comparison
| Storage Class | Min Duration | Retrieval | Use Case |
|---|---|---|---|
| S3 Standard | None | Immediate | Frequently accessed data |
| S3 Standard-IA | 30 days | Immediate | Infrequent access, rapid retrieval |
| S3 One Zone-IA | 30 days | Immediate | Non-critical infrequent data |
| S3 Intelligent-Tiering | None | Immediate–hours | Unknown or changing access patterns |
| S3 Glacier Instant | 90 days | Milliseconds | Archive with instant retrieval |
| S3 Glacier Flexible | 90 days | Minutes–hours | Archive, flexible retrieval |
| S3 Glacier Deep Archive | 180 days | Hours | Long-term compliance archive |
Go deeper
Related to this question
About these practice questions
This DEA-C01 question is part of Courseiva's 1,711-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This DEA-C01 practice question is part of Courseiva's free Amazon Web Services certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the DEA-C01 exam.