A static AWS Certified Solutions Architect – Associate study app built with Astro, TypeScript, and a React quiz workspace. Questions and study notes are Markdown content collections, so the app needs no database, backend, or AWS account to run locally.
src/pages/index.astro Loads reviewed content into the quiz
src/components/QuizWorkspace.tsx Interactive quiz, notes, bookmarks, and preferences
src/content.config.ts Content-collection schemas
src/content/questions/<domain>/*.md One Markdown file per question
src/content/notes/<domain>/*.md Searchable study notes
imports/questions/ Temporary inbox for question JSON exports
scripts/import-questions.mjs Validates and converts inbox exports
scripts/analyze-exam-results.mjs Joins scored attempts to imported questions
Keep the app static: interactive state belongs in the React workspace and browser-only preferences belong in localStorage. There is intentionally no backend, account system, or shared user state.
- 358 reviewed AWS SAA questions across compute, storage, networking, security, databases, integration, architecture, operations, data analytics, and machine learning.
- Single- and multiple-answer questions with instant or end-of-quiz feedback.
- Question filtering, shuffling, custom-length quiz sets, scoring, and browser-saved progress.
- Persistent browser bookmarks and bookmarked-only practice sets.
- 42 searchable Markdown study notes, including rendered Mermaid diagrams.
- Node.js 20.18 or later (a current LTS release is recommended).
- npm, which is included with Node.js.
Check your installed versions:
node --version
npm --versionFrom the project directory, install dependencies and start Astro's development server:
npm install
npm run devOpen the local URL printed by Astro (normally http://localhost:4321). The development server reloads when source or content files change.
To make the server available on your local network:
npm run dev -- --host 0.0.0.0Stop the server with Ctrl+C.
Create a production build:
npm run buildPreview the generated dist/ site locally:
npm run previewRun TypeScript validation:
npx tsc --noEmitnpm run check is available for Astro's optional checker. If you intend to use it, install its missing development dependency once:
npm install --save-dev @astrojs/check
npm run checkQuestions are stored in src/content/questions/<domain>/ as one Markdown file per question. The schema in src/content.config.ts validates their frontmatter. Only questions with status: reviewed appear in the quiz.
Use a unique, stable id; do not reuse an ID when changing a question. Keep choice IDs stable as well, and set lastReviewed whenever factual AWS content is revised. Questions should remain draft until they have been reviewed—do not promote imported content automatically.
To import exported question JSON, place the files in imports/questions/, then preview before modifying content:
npm run import:questionsWhen the preview reports the expected counts and no errors, write the Markdown files:
npm run import:questions -- --commitThe commit command deletes only the source files it processed successfully. It supports the current exported format, including files containing adjacent JSON documents and exam assessment exports, and avoids importing duplicate source question IDs. Exam result files in the same inbox are ignored and preserved for analysis. Imported questions stay draft until reviewed.
For scored exam exports, run node scripts/analyze-exam-results.mjs to join each result's assessment.id with its imported question. The current findings and study links are in the exam summary; exam 1 has a more detailed review.
To author a question manually, use stable choice IDs and keep correct as an array:
---
id: saa-example-001
title: "Which service is best for this workload?"
domain: storage
services: [S3]
difficulty: medium
type: single
choices:
- id: a
text: "First option"
- id: b
text: "Correct option"
correct: [b]
references: []
tags: [example]
status: draft
lastReviewed: 2026-09-24
---
## Explanation
Explain why the correct option is the best fit.Add Markdown files below src/content/notes/<domain>/. Notes must include this frontmatter:
---
title: Amazon S3
domain: storage
services: [S3]
tags: [object-storage]
keywords: [s3, object-storage]
---Use meaningful headings and keywords; they are used by the in-app note search. Standard Markdown, tables, and Mermaid code blocks are supported.
Quiz progress, feedback preference, bookmarks, and the color theme are stored only in the current browser's local storage. They are not shared between browsers or devices. Use the app's Reset progress action to clear quiz progress; bookmarks and the selected theme remain. Clearing this site's browser storage removes all of them.
- Port already in use: Astro will normally choose another port. Supply one explicitly with
npm run dev -- --port 4322. - Import fails: Run the preview command, correct the named file or duplicate ID, and rerun. No output files are written during preview.
- Question is not visible: Confirm its frontmatter has
status: reviewedand that its schema fields are valid. - Bookmarks or progress are missing: They are scoped to one browser profile. Check browser site-data settings before assuming the app lost content.
See AGENTS.md for repository conventions and the expected workflow for changes.