0%
AWS Solutions Architect Associate (SAA-C03) Exam Prep: Secure, Resilient, High-Performing and Cost-Optimized Architectures
Domain 1: Design Secure Architectures
Domain 2: Design Resilient Architectures
Domain 4: Design Cost-Optimized Architectures
Final Review and Mock Exams
High-Performing Data Ingestion and Analytics
Analytics questions on the exam ask how to collect large volumes of data, store it cheaply and durably, transform it and make it available for queries, dashboards and machine learning. The answers revolve around S3 as the storage layer and a family of managed services around it. Kinesis and Managed Kafka in the AWS in Practice course covers the streaming side in more depth.
The stages of an analytics pipeline
Most pipelines share the same stages. Ingestion collects data from applications, devices, databases and files, either as continuous streams or periodic batches. Storage keeps raw and processed data, usually in S3. Processing cleans, joins and reshapes data with tools such as Glue, EMR or Lambda. Cataloguing records what data exists and its schema. Analysis runs queries with Athena, Redshift or OpenSearch. Visualisation presents results in QuickSight dashboards. Governance controls who sees which data. Exam questions usually focus on one stage and ask for the service that fits it best.
Why S3 is the centre of a data lake
S3 stores any amount of data in any format with eleven nines of durability, scales without provisioning and costs little, especially with lifecycle rules moving older data to cheaper classes. Because storage is separate from compute, many engines can query the same data: Athena for SQL, EMR for Spark, Redshift Spectrum for warehouse joins and SageMaker for machine learning. This decoupling is the defining idea of a data lake. Data is often organised in zones: a raw zone that keeps original data unchanged, a cleaned zone with validated and standardised data and a curated zone with business ready tables.
Data lake versus data warehouse
A data lake stores raw and processed data of every shape in open formats on S3 and applies schema when reading. A data warehouse such as Redshift stores structured, modelled data in its own optimised format and applies schema when writing, giving very fast repeated queries for dashboards and reporting. Most organisations combine them in a lakehouse pattern: the lake holds everything, and the warehouse holds the hot, curated subset, with Redshift Spectrum or federated queries reaching into the lake when needed.
File formats and compression
Columnar formats such as Apache Parquet and ORC store each column together, compress well and let engines read only the columns a query needs. Converting CSV or JSON to Parquet commonly reduces storage several times and cuts query scan volume dramatically. Compression such as Snappy or GZIP further reduces size. Many small files slow queries because each file adds overhead, so pipelines combine records into files of roughly 128 MB or larger. Questions asking how to make Athena queries faster and cheaper expect columnar formats, compression, partitioning and larger files.
Batch versus streaming
Batch processing collects data over a period and processes it together, such as a nightly job that loads yesterday's sales into a warehouse. It is simple and efficient but results are hours old. Streaming processes each event within seconds, such as detecting fraud as transactions happen or updating a live dashboard. Many systems use both: a stream for immediate reactions and a batch layer for complete, corrected results. Exam scenarios that use phrases like real time, within seconds or as events arrive point to streaming services, while daily reports or historical analysis point to batch.
Data sources
Sources include application events and clickstreams, IoT telemetry, logs, database changes and files from partners. AWS Database Migration Service captures ongoing changes from databases and streams them to S3, Kinesis or Redshift. AWS DataSync moves files from on premises storage. AWS Transfer Family accepts files from partners over SFTP, FTPS and FTP into S3. Amazon AppFlow moves data from SaaS applications such as Salesforce into S3 or Redshift without code. Recognising these ingestion paths helps answer questions about getting data into the lake.
Serverless first
Most exam answers favour serverless analytics when the requirement emphasises low operational overhead: Firehose instead of self managed consumers, Glue instead of a hand built Spark cluster, Athena instead of a provisioned query cluster and Redshift Serverless instead of sizing nodes. Provisioned options win when the scenario stresses steady heavy usage, custom frameworks or fine control.
Reading analytics clues in questions
Exam scenarios describe analytics needs indirectly. Phrases such as several teams use different tools on the same data describe a data lake on S3. Phrases such as within seconds of the event or live dashboard describe streaming. Phrases such as daily report, historical trends or end of month describe batch. Phrases such as least operational overhead or no servers to manage favour Firehose, Glue, Athena and Redshift Serverless. Phrases such as existing Spark code or existing Kafka favour EMR and MSK. Translating each phrase into a stage and a service before reading the options makes distractors easy to remove.
Worked example: building a first data lake
A subscription company keeps application logs on instances, sales in an Aurora database and marketing data in a SaaS tool, and analysts copy spreadsheets by hand. A first data lake creates an S3 bucket with raw, cleaned and curated prefixes, default SSE-KMS encryption and Block Public Access. CloudWatch Logs subscriptions send application logs through Firehose to the raw prefix. Database Migration Service captures ongoing changes from Aurora into the raw prefix as Parquet. AppFlow pulls marketing data hourly. Glue crawlers catalogue every source, Glue jobs clean and join data into curated tables partitioned by date, and Athena gives analysts SQL access. Lifecycle rules move raw data older than ninety days to S3 Glacier Instant Retrieval. The company now has one governed copy of its data instead of many spreadsheets.
Choosing storage classes for a lake
Recent data that is queried often belongs in S3 Standard. Data accessed unpredictably suits S3 Intelligent-Tiering, which moves objects between tiers automatically without retrieval charges. Raw data kept for compliance and rarely read suits Glacier classes, though data in Glacier Flexible Retrieval or Deep Archive cannot be queried directly by Athena until restored. Glacier Instant Retrieval allows immediate reads at lower storage cost for data read a few times a year. Matching classes to access patterns keeps lake storage cheap without slowing common queries.
Small files and compaction
Streaming pipelines tend to produce many small files, especially when buffers flush frequently. Each file adds request overhead for S3 and planning overhead for query engines, so thousands of tiny files can make queries much slower than the same data in a few large files. Remedies include larger Firehose buffers, periodic Glue or EMR compaction jobs that rewrite partitions into fewer files, and open table formats such as Iceberg with automatic compaction in S3 Tables.
Quick check
Ask these questions about any analytics design: Where does the single durable copy of data live? Is the data in a columnar, compressed format? Is it partitioned by the columns queries filter on? Are files reasonably large? Does each stage use the least operational effort that meets the latency requirement? Is access controlled at the right level of detail? If any answer is no, an exam option is probably fixing it.
Final tip
When a question offers a self managed cluster and a managed or serverless service that both meet the requirement, the managed option is usually intended unless the scenario stresses existing code, custom frameworks or very large steady workloads where control and cost favour clusters.
Hot, warm and cold analytics data
Analytics data cools with age. The last few days are queried constantly, the last year occasionally and older history rarely. A tiered design keeps hot curated tables in Redshift or frequently accessed S3 prefixes, warm data in S3 Standard-IA or Intelligent-Tiering queried by Athena and Spectrum, and cold raw data in Glacier classes for compliance. Questions that ask for the most cost effective way to keep years of analytics data while still querying recent data expect this kind of tiering with lifecycle rules.
Remember
Keep one durable copy in S3, store it in open columnar formats, and bring the right engine to the data rather than moving data to every engine.
Keep data in S3 in open, columnar formats and let Athena, EMR, Redshift Spectrum and SageMaker query the same copy. That is what makes a data lake flexible and cheap.