You have CSV files in Amazon S3 that include a timestamp column formatted like: March 1st, 2020, 08:14pm. You hypothesize that weekday, month, and hour affect the target variable, so you need to add three new features (day of week, month, hour) to the dataset. Which approach adds these features while requiring the least operational overhead to produce a new file in S3?
Choose an answer
Tap an option to check your answer.
Correct answer: Create a new flow in Amazon SageMaker Data Wrangler: import the S3 file, apply the Featurize date/time transform to generate the weekday, month, and hour columns, then export the dataset to S3..
Why this is the answer
SageMaker Data Wrangler is designed for data preparation and feature engineering with minimal coding, making it the most operationally efficient choice here. Its "Featurize date/time" transform directly extracts components like weekday, month, and hour from a timestamp column with a few clicks, then exports the result to S3. Provisioning an EMR cluster or writing custom Python/PySpark code for SageMaker Processing or AWS Glue jobs would require more development effort, resource management, and operational overhead compared to Data Wrangler's managed, low-code approach for this specific task.
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