AWS Certified Machine Learning Engineer - Associate (MLA-C01) Exam-style mock test
AWS Machine Learning Engineer Associate (MLA-C01) Practice Exams|Practice test
Full explanations
Exam format
Pass line 72%
33 USD One-time · lifetime access
Enroll →
Sample questions
Example1 · Data Preparation for Machine Learning
A global investment bank stores 60 TB of daily trade-event logs as gzipped JSON objects in Amazon S3. ML engineers run Amazon Athena queries that select 5 of 240 fields to build training datasets, and every query scans nearly the full dataset, making feature extraction slow and expensive. The team must cut both query latency and scan cost before the next model iteration. What should the ML engineer do?
✓Convert the logs to Apache Parquet partitioned by trade date and point the Athena table at the converted data.
Correct. Parquet is columnar, so Athena reads only the 5 selected columns, and date partitioning prunes irrelevant objects, reducing both latency and per-query scan cost.
・Repartition the gzipped JSON objects into a much larger number of smaller files so that Athena can parallelize its scans across more readers.
Incorrect. Smaller files improve parallelism, but JSON remains row-oriented, so Athena still reads all 240 fields and the scanned bytes (and cost) stay essentially the same.
・Convert the logs to uncompressed CSV files so that Athena avoids the decompression overhead during every scheduled run.
Incorrect. Uncompressed CSV is still row-oriented and is larger than gzipped JSON, so Athena would scan even more bytes per query and costs would increase.
・Convert the logs to RecordIO protobuf, a format optimized for high-throughput sequential reads during training.
Incorrect. RecordIO protobuf is a training-input format for algorithms such as SageMaker built-ins; Athena cannot query it, so the feature-extraction SQL would break.
Explanation
Columnar formats such as Apache Parquet let Athena read only the referenced columns, and partitioning by trade date limits the objects scanned. Together these changes cut scanned bytes dramatically, which lowers both query latency and Athena's per-terabyte scan cost. Row-oriented formats (JSON, CSV) and training-only formats (RecordIO) do not help analytical column-pruned queries.
Example2 · ML Model Development
A global bank is building a fraud scoring model on structured transaction records stored as CSV files in Amazon S3. The team has strong SQL skills but limited ML coding experience, and the first version must reach production within two weeks. Which modeling approach meets these requirements?
✓Train the SageMaker built-in XGBoost algorithm directly on the CSV data in Amazon S3.
Correct. XGBoost is a SageMaker built-in algorithm designed for tabular classification, consumes CSV input from Amazon S3 without custom training code, and is a fast, proven path for a team with limited ML coding experience.
・Write a custom PyTorch training script that implements a deep tabular network and run it with SageMaker script mode on GPU instances.
Incorrect. A custom PyTorch script requires ML framework coding skills the team does not have and adds development time that conflicts with the two-week deadline, while GPU instances raise cost without a clear benefit on tabular data.
・Prompt a foundation model in Amazon Bedrock to label each transaction record as fraudulent or legitimate at inference time.
Incorrect. Amazon Bedrock foundation models target generative use cases such as text generation and summarization; prompting one to score millions of structured transactions is costly, slow, and far less accurate than a supervised tabular model.
・Train the SageMaker built-in BlazingText algorithm on the structured transaction records to produce the fraud scores.
Incorrect. BlazingText is a built-in algorithm for text classification and Word2Vec embeddings, so it is the wrong algorithm family for numeric and categorical transaction features.
Explanation
For tabular classification with CSV data in Amazon S3 and a team with limited ML coding experience, the SageMaker built-in XGBoost algorithm provides a no-custom-code, production-proven path that fits a two-week deadline. Custom scripts add unneeded engineering effort, Bedrock targets generative workloads, and BlazingText is a text algorithm.
Example3 · Deployment and Orchestration of ML Workflows
A global bank's anti-money-laundering team runs a document-understanding model against transaction evidence bundles that average 400 MB each and take 8-12 minutes to process. Analysts submit bundles throughout the day and expect results within about 30 minutes of each submission. The team wants the hosting capacity to scale down to zero when no bundles are queued. Which deployment approach should the ML engineer choose?
・Host the model on a real-time SageMaker endpoint and have the case-management application invoke it once per evidence bundle.
Incorrect. Real-time endpoints enforce small request payload limits and an invocation timeout of about one minute, so a 400 MB bundle processed for 8-12 minutes cannot complete in a single synchronous call.
・Host the model on a SageMaker Serverless Inference endpoint so that provisioned capacity automatically drops to zero between the analysts' individual submissions.
Incorrect. Serverless Inference limits request payloads to a few megabytes and is designed for short synchronous invocations, so it cannot accept 400 MB inputs or multi-minute processing.
✓Host the model on a SageMaker Asynchronous Inference endpoint and have the application read each result from the S3 output path.
Correct. Asynchronous Inference accepts payloads up to 1 GB, allows processing times up to one hour, queues requests internally, and can scale the instance count to zero when the queue is empty.
・Run a nightly SageMaker batch transform job over every evidence bundle that analysts uploaded to Amazon S3 during that business day.
Incorrect. A nightly batch transform returns results many hours after submission, which violates the requirement to deliver each result within roughly 30 minutes.
Explanation
SageMaker Asynchronous Inference is purpose-built for large payloads (up to 1 GB) and long processing times (up to one hour), queuing requests and writing results to Amazon S3. It also supports scaling to zero instances when the internal queue is empty, which meets the cost requirement that real-time hosting cannot.
Example4 · ML Solution Monitoring, Maintenance, and Security
A hospital network serves a 30-day readmission-risk model from a SageMaker real-time endpoint. After an upstream lab system begins reporting creatinine values in different units, clinicians flag implausible risk scores, yet the endpoint returns no errors and ground truth labels will not arrive for weeks. Which approach detects this kind of issue the soonest?
・Create CloudWatch alarms on the endpoint's Invocation4XXErrors and ModelLatency metrics so the on-call team is paged on malformed lab-feed requests.
Incorrect. The endpoint is returning successful responses, so 4XX error and latency alarms never fire; the drift is silent at the HTTP and infrastructure level.
・Schedule a Model Monitor model quality job that merges captured predictions with ground truth labels and raises an alarm when AUC degrades.
Incorrect. Model quality monitoring requires ground truth labels to merge with predictions, and labels will not be available for weeks, delaying detection.
・Enable SageMaker Clarify bias drift monitoring on the endpoint for the protected patient groups.
Incorrect. Bias drift monitoring tracks fairness metrics for protected patient facet groups, not schema or distribution changes in an individual input feature.
✓Schedule a Model Monitor data quality job that compares captured inference inputs against the training baseline statistics and constraints.
Correct. Data quality monitoring compares live captured inputs with baseline statistics and constraints from training data, so a unit change in a lab feature violates constraints quickly without needing labels.
Explanation
A unit change in an upstream feed is a data distribution and constraint violation that Model Monitor data quality jobs detect by comparing captured traffic with the training baseline. Model quality monitoring needs delayed labels, and error alarms or bias drift monitors do not catch silent input drift.
Example5 · Data Preparation for Machine Learning
A healthcare analytics company trains a deep learning model on 40 TB of genomic sequence files stored in Amazon S3. Training runs on a cluster of GPU instances that repeatedly re-read the same files across many epochs, and the data loading phase currently dominates total training time. The ML engineer must give the training cluster high-throughput, low-latency shared file access without permanently migrating the data off S3. Which approach meets these requirements?
・Create an Amazon EFS file system, copy the dataset into it with AWS DataSync, and mount it on every training instance in the cluster.
Incorrect. Amazon EFS delivers far lower per-client throughput than FSx for Lustre for HPC-style training workloads, and copying 40 TB into EFS is exactly the permanent data migration the requirement rules out.
・Attach a large Amazon EBS gp3 volume to each training instance and copy the full dataset onto every volume before each run.
Incorrect. EBS volumes cannot be shared across the cluster, so each instance would need its own 40 TB copy, multiplying storage cost and adding hours of copy time before every run.
・Enable S3 Transfer Acceleration on the bucket and read the objects directly with File mode on each instance.
Incorrect. S3 Transfer Acceleration optimizes long-distance transfers over the public internet via edge locations; it does not provide shared low-latency file access for in-Region training clusters.
✓Create an Amazon FSx for Lustre file system linked to the S3 bucket and mount it on all training instances.
Correct. FSx for Lustre linked to an S3 bucket lazily loads objects, presents them as a POSIX file system with sub-millisecond latency and hundreds of GB/s aggregate throughput, and lets S3 remain the durable source of truth.
Explanation
Amazon FSx for Lustre with an S3 data repository association is the standard choice for training clusters that repeatedly re-read large datasets, because it combines POSIX shared access and very high throughput with S3 as the backing store. EFS lacks the needed throughput profile, EBS is not shared, and Transfer Acceleration addresses internet transfers rather than cluster file access.
Example6 · Data Preparation for Machine Learning
A media streaming service emits playback telemetry events from millions of client devices. An ML engineer must land these events in Amazon S3 within about one minute, stored in a columnar format that downstream Amazon Athena feature engineering queries can scan efficiently, while keeping operational overhead minimal. Which ingestion approach meets these requirements?
・Deploy a fleet of EC2 consumer applications on Kinesis Data Streams that batch events and write Parquet to S3 with custom code.
Incorrect. A self-managed EC2 consumer fleet with custom Parquet-writing code can meet the latency target, but it requires provisioning, scaling, and maintaining servers, which violates the minimal-operational-overhead requirement.
・Write events to an Amazon RDS staging table and run an hourly AWS Glue job that exports the rows to S3 as Parquet.
Incorrect. An hourly Glue export cannot satisfy the roughly one-minute delivery target, and routing high-volume telemetry through a relational staging table adds unnecessary cost and load.
✓Send the streaming events to a fully managed Amazon Data Firehose delivery stream with record format conversion enabled so it delivers Apache Parquet files directly to the destination S3 bucket.
Correct. Amazon Data Firehose is fully managed, buffers streaming records for as little as 60 seconds, and its built-in record format conversion writes Apache Parquet files directly to the destination S3 bucket with no servers to manage.
・Publish events to Amazon SQS and trigger an AWS Lambda function that appends each event to a daily CSV object in S3.
Incorrect. CSV is a row-based format that Athena must scan in full, and S3 objects cannot be appended to, so per-event writes would create millions of tiny non-columnar files.
Explanation
Amazon Data Firehose provides fully managed streaming delivery to S3 with configurable buffering down to 60 seconds and native conversion of incoming records to Apache Parquet. The alternatives either miss the latency target, require managing custom consumers, or land data in a row-based format that is inefficient for Athena.
Example7 · Data Preparation for Machine Learning
A manufacturing IoT company stores machine telemetry as millions of small gzipped JSON files in Amazon S3. Amazon Athena queries that build training features scan the entire dataset even though feature jobs read only 12 of the 300 sensor columns, and both query time and cost are climbing every month. Which storage format change reduces the bytes scanned and speeds up the feature queries the MOST?
・Consolidate the JSON files into larger CSV objects compressed with gzip so that Athena opens far fewer objects during every feature query it runs.
Incorrect. CSV is still a row-oriented format, so Athena must read every column of every row; consolidating objects reduces file-open overhead but not the bytes scanned per query.
✓Convert the entire dataset to Apache Parquet, partitioned by plant and by date, so that each feature query reads only the twelve referenced columns instead of all three hundred.
Correct. Parquet is columnar, so Athena reads only the 12 referenced columns, and partitioning by plant and date further prunes the data each query scans, cutting both cost and latency.
・Convert the telemetry to RecordIO-protobuf and stream it to the training instances in Pipe mode so the dataset never has to be downloaded.
Incorrect. RecordIO-protobuf with Pipe mode accelerates streaming data into training containers, but Athena cannot use it for column pruning, so the feature queries stay slow and costly.
・Raise the Athena workgroup bytes-scanned limit and increase query concurrency so the existing JSON files are processed with more parallelism.
Incorrect. Raising the workgroup limit and concurrency lets the same full-dataset scans run; it does not reduce bytes scanned, so cost keeps rising with data volume.
Explanation
Columnar formats such as Apache Parquet let Athena read only the columns a query references, and partition keys prune entire directories from the scan. Row-oriented formats like CSV or JSON force full-row reads regardless of how few columns the feature job needs, and RecordIO is a training-ingest format, not an analytics format.
Example8 · Data Preparation for Machine Learning
A logistics company trains a package-damage detection model on 8 TB of labeled images stored in Amazon S3. Training runs on several GPU instances for many epochs, and profiling shows the GPUs stall waiting on storage I/O. The team wants shared, high-throughput POSIX file access for all training instances without managing manual data copies. Which approach meets these requirements?
・Mount an Amazon EFS General Purpose file system on the training instances and sync the images into it before every run.
Incorrect. EFS General Purpose mode offers far lower per-client throughput than Lustre for this access pattern, and syncing 8 TB into it is exactly the manual copy step the team wants to avoid.
✓Create an Amazon FSx for Lustre file system linked to the S3 bucket and mount it on every training instance.
Correct. FSx for Lustre lazy-loads objects from the linked S3 bucket, presents a shared POSIX file system to all instances, and delivers the high-throughput access that GPU training needs.
・Use SageMaker File mode so that each training instance downloads the complete 8 TB image dataset onto its local storage volume at job start.
Incorrect. File mode must download the full dataset before training starts, which delays every job and requires each instance to provision local storage large enough for all 8 TB.
・Attach a provisioned IOPS Amazon EBS volume to each training instance and copy a full replica of the image dataset onto every single volume.
Incorrect. EBS volumes cannot be shared across the training fleet in this design, so the team must copy and maintain a separate 8 TB replica per instance.
Explanation
Amazon FSx for Lustre linked to an S3 bucket is the standard choice for I/O-bound distributed training: it exposes S3 data as a shared high-performance POSIX file system and loads objects on demand. EFS lacks the throughput profile, File mode forces long full-dataset downloads, and per-instance EBS replicas reintroduce manual copy management.
Example9 · Data Preparation for Machine Learning
Factory-floor gateways publish roughly 2 MB/s of sensor events. The ML team needs these events landed in Amazon S3 in Apache Parquet within about one minute of arrival so feature engineering jobs can pick them up, and the team wants the LEAST operational overhead. What should the team implement?
・Run Kafka Connect sink tasks on an Amazon MSK cluster that the team provisions, patches, and scales itself to batch the arriving events into S3 objects.
Incorrect. MSK with Kafka Connect can achieve the latency, but the team must provision, patch, and scale the cluster and connectors, which is far more operational work than a managed delivery service.
・Write the events to Amazon Kinesis Data Streams and operate a custom consumer fleet on Amazon EC2 that converts each batch into Parquet files.
Incorrect. A custom EC2 consumer fleet requires the team to write, deploy, monitor, and scale conversion code, adding exactly the operational overhead the requirement rules out.
✓Send the events to Amazon Kinesis Data Firehose with record format conversion to Parquet and a 60-second buffer delivering into S3.
Correct. Firehose is fully managed, converts incoming records to Parquet natively, and a 60-second buffer interval delivers the data to S3 within the required latency with no servers to run.
・Schedule AWS DataSync transfers every five minutes into S3, then convert the delivered files with an AWS Glue job.
Incorrect. DataSync performs scheduled batch transfers rather than streaming ingestion, so events arrive well outside the one-minute target and still need a separate Glue conversion step.
Explanation
Amazon Kinesis Data Firehose provides managed streaming delivery to S3 with built-in record format conversion to Parquet and configurable buffering as low as 60 seconds, satisfying the latency target with no infrastructure to operate. MSK and custom Kinesis consumers meet the latency only with significant operational effort, and DataSync is a batch transfer service, not a streaming ingestion path.
Example10 · Data Preparation for Machine Learning
A B2B SaaS analytics company lands raw product-usage events in Amazon S3 as newline-delimited JSON with about 200 attributes per event. Data scientists use Amazon Athena to assemble training datasets but typically select fewer than 10 columns, and query costs and scan times keep climbing. Which change will most reduce the data scanned while keeping the datasets queryable?
・Compress the existing JSON files with GZIP and combine them into larger objects so Athena opens fewer small files.
Incorrect. GZIP-compressed JSON is still row-oriented, so Athena must decompress and scan every attribute of every event even when a query selects only 10 columns.
・Convert the events to CSV files with an AWS Glue job so Athena parses flat rows faster than nested JSON.
Incorrect. CSV is also a row-oriented format; every query still scans all 200 attributes, so scan volume and cost are not meaningfully reduced.
・Rewrite the events as protobuf RecordIO binary files because SageMaker algorithms consume that training input format efficiently.
Incorrect. RecordIO is a training input format, not an Athena-queryable columnar format, so the team would lose the ability to build datasets with SQL.
✓Convert the events to date-partitioned Apache Parquet with an AWS Glue job.
Correct. Parquet is columnar, so Athena reads only the few columns a query selects, and date partitioning prunes irrelevant data, sharply cutting scanned bytes and cost.
Explanation
Columnar Parquet lets Athena read only the selected columns, and partitioning by event date prunes partitions before scanning. Row-oriented formats such as JSON or CSV force full-row scans regardless of compression, and RecordIO is not suited to ad hoc SQL dataset building.
Example11 · Data Preparation for Machine Learning
An online gaming studio trains an image-moderation model on roughly 40 million small avatar images in Amazon S3. Each run performs many epochs on a multi-GPU cluster, and the GPUs sit idle because per-file S3 reads dominate every epoch. The team wants high-throughput, low-latency file access during training without rewriting the dataset. Which storage approach meets these requirements?
・Mount an Amazon EFS file system on the cluster and copy all 40 million images into it at the start of every training run.
Incorrect. Copying 40 million small files into EFS before every run adds a long staging phase, and EFS delivers lower per-client throughput than a Lustre file system tuned for ML workloads.
・Enable S3 Transfer Acceleration on the bucket so the training instances fetch each avatar image through nearby edge locations.
Incorrect. Transfer Acceleration speeds long-distance transfers over the AWS edge network; it does not reduce per-request latency for in-Region training reads.
・Spread the image keys across more S3 prefixes so that each epoch can issue a larger number of parallel GET requests.
Incorrect. More prefixes raise aggregate request throughput, but each small-file GET still pays S3 request latency, so GPU idle time from millions of per-file reads remains.
✓Create an Amazon FSx for Lustre file system linked to the S3 bucket and mount it on the training cluster.
Correct. FSx for Lustre lazy-loads objects from the linked S3 bucket and serves repeated epochs with sub-millisecond, high-throughput POSIX file access, eliminating per-file S3 read latency.
Explanation
Amazon FSx for Lustre can be linked to an S3 bucket and presents the objects as a high-performance POSIX file system, so repeated epochs over millions of small files run at low latency without restructuring the data. EFS staging, Transfer Acceleration, and prefix fan-out each fail the latency or staging-time requirement.
Example12 · Data Preparation for Machine Learning
A power transmission utility stores 900 GB of drone inspection images as millions of small objects in Amazon S3. The computer vision team launches dozens of SageMaker training experiments each week against the same dataset, and every job currently spends about 40 minutes downloading the images before training starts. The team needs a shared, high-throughput, low-latency file interface that multiple concurrent jobs can reuse. Which solution meets these requirements?
・Switch every training job to FastFile input mode so objects stream directly from Amazon S3 when the script reads each one at read time.
Incorrect. FastFile mode removes the upfront download, but every read still incurs per-object S3 request latency, which performs poorly for millions of small files and provides no shared cache across the concurrent experiments.
・Copy the images into an Amazon EFS file system configured with Max I/O performance mode and mount it in each training job.
Incorrect. Amazon EFS can be shared across jobs, but it delivers lower throughput and higher per-operation latency than a Lustre file system for metadata-heavy workloads with millions of small image files, and the data must first be copied out of S3.
・Enable S3 Transfer Acceleration on the bucket and keep File input mode for faster startup downloads.
Incorrect. S3 Transfer Acceleration optimizes transfers over long geographic distances through edge locations; it does not meaningfully speed up same-Region downloads, and each job would still copy the full dataset at startup.
✓Create an Amazon FSx for Lustre file system linked to the S3 bucket and mount it in all of the training jobs.
Correct. FSx for Lustre linked to the S3 bucket lazy-loads and caches the objects, presents a POSIX file system with sub-millisecond latency and high throughput, and can be mounted by many concurrent training jobs without repeated downloads.
Explanation
Amazon FSx for Lustre with an S3 data repository association is the recommended option when many training jobs repeatedly read the same dataset of small files and need a fast shared file system. FastFile mode helps single jobs avoid downloads but suffers on millions of tiny objects, EFS has lower performance for this pattern, and Transfer Acceleration targets cross-Region transfers.
Example13 · Data Preparation for Machine Learning
A state department of education keeps five years of student attendance records, about 12 TB of CSV files, in an Amazon S3 data lake. ML engineers explore the data with Amazon Athena and SageMaker Data Wrangler, usually selecting only a handful of columns per query. Queries are slow and Athena scan costs are growing every month. Which change will reduce query cost and latency the most?
・Compress the existing CSV files with gzip so that Athena scans fewer bytes for every query run.
Incorrect. Gzip reduces stored bytes, but CSV remains row-oriented, so Athena must still decompress and read entire rows, and gzip files are not splittable, which limits parallelism and keeps queries slow.
・Convert the records to JSON Lines files so the attendance schema is embedded in every record.
Incorrect. JSON Lines is still a row-oriented text format that repeats field names in every record, which increases the data size and forces Athena to scan full rows instead of selected columns.
・Convert the records to RecordIO-protobuf so downstream SageMaker training jobs can also consume them.
Incorrect. RecordIO-protobuf is a serialization format intended for high-throughput training input to algorithms such as SageMaker built-ins; Athena cannot query it, so the exploration workload would break.
✓Convert the records to Apache Parquet files partitioned by school year during the nightly ingestion job.
Correct. Parquet is a columnar format, so Athena reads only the columns a query references, and partitioning by school year prunes whole partitions; together these cut both scanned bytes and query latency dramatically.
Explanation
Columnar formats such as Apache Parquet let Athena scan only the referenced columns, and partitioning prunes irrelevant data, which addresses both cost and latency for column-subset queries. Row-oriented formats such as gzip CSV or JSON Lines still require full-row scans, and RecordIO-protobuf is not queryable by Athena.
Example14 · Data Preparation for Machine Learning
A hotel-booking platform trains an image-ranking model on 40 million small property photos stored in Amazon S3. During multi-GPU training on a SageMaker cluster, the GPUs sit idle waiting on I/O because every epoch re-reads the full dataset. The training code expects a POSIX file system and must not be rewritten. Which storage approach gives the training cluster the highest sustained read throughput?
✓Link an Amazon FSx for Lustre file system to the S3 bucket and mount it on the training cluster.
Correct. FSx for Lustre is purpose-built for high-throughput, low-latency ML training, presents a POSIX file system, and lazy-loads data directly from the linked S3 bucket, removing the GPU I/O stall without code changes.
・Provision an Amazon EFS file system, copy all photos into it, and mount it on the training instances before every run.
Incorrect. Amazon EFS provides a POSIX interface but delivers far lower aggregate throughput than FSx for Lustre for millions of small files read repeatedly by a GPU cluster, so the I/O bottleneck remains.
・Attach a dedicated Amazon EBS io2 volume to every training instance and replicate the entire photo dataset onto each volume ahead of each run.
Incorrect. Replicating 40 million objects onto a separate EBS volume per instance adds long preparation time and duplicated storage cost, and EBS is not a shared file system for the cluster.
・Keep File mode against Amazon S3 so each training instance downloads the complete dataset when the job starts.
Incorrect. File mode copies the whole dataset to local storage before training starts, which adds a long startup delay for tens of millions of objects and does not improve per-epoch read throughput.
Explanation
Amazon FSx for Lustre is the recommended file system for throughput-bound training workloads because it offers a POSIX interface and transparently loads data from a linked S3 bucket at very high aggregate throughput. EFS cannot match that throughput profile, EBS volumes are per-instance and require full replication, and File mode downloads impose startup delays without fixing epoch-level I/O.
Example15 · Data Preparation for Machine Learning
An auto-insurance carrier lands 2 TB of claims records in Amazon S3 each day as CSV exports with 120 columns. ML engineers run Amazon Athena feature-engineering queries that read only 6 of those columns, and the monthly scan charges are now flagged by finance. Which change reduces both query cost and runtime the most?
✓Convert the daily CSV exports to Apache Parquet with Snappy compression and repoint the Athena tables at the new columnar data.
Correct. Parquet is columnar, so Athena reads only the 6 referenced columns instead of all 120, and Snappy compression plus column statistics further cut scanned bytes and query time.
・Compress each CSV export with gzip so Athena scans fewer bytes whenever it reads the files.
Incorrect. Gzip shrinks storage but the files stay row-oriented, so Athena must still decompress and scan every column of every record, and gzip CSV is not splittable for parallel reads.
・Transform the exports into JSON Lines files so the schema travels with every single record Athena reads.
Incorrect. JSON Lines embeds field names in each record, making files larger than CSV and still row-oriented, so queries touching 6 columns continue to scan the full dataset.
・Rewrite the exports as RecordIO protobuf files because its compact binary encoding makes every Athena query scan much less data.
Incorrect. RecordIO protobuf is a training ingestion format for Pipe mode; Athena has no serde for it, so the tables would become unqueryable rather than cheaper.
Explanation
Columnar formats such as Parquet let Athena prune unneeded columns, which is the dominant saving when queries touch 6 of 120 columns. Row-based formats like gzip CSV or JSON Lines still force full-record scans, and RecordIO protobuf is a SageMaker training format that Athena cannot read.
▶ Try 10 free questions (graded)