This project is an interactive web application designed to help aspiring Kubernetes security professionals prepare for certification exams. It features a comprehensive bank of 290+ questions covering key Kubernetes security topics.
Access the live version of the app here:
🔗 Kubernetes Security KCSA Mock Exam
The latest update brings significant improvements to align with the KCSA curriculum and enhance maintainability:
✅ Migration from JSON-based storage to SQLite for better classification and performance.
✅ Questions categorized by domain and subdomain (at the database level).
✅ New sources
column added for tracking references (currently empty—contributions welcome!).
✅ Scripts for exporting and updating questions from SQLite.
✅ Improved exam interface & question navigation.
✔️ 290+ Carefully crafted questions (UPDATED)
✔️ Randomized question order in every exam session
✔️ Configurable question count per exam
✔️ Interactive exam interface (one question per page)
✔️ Navigation menu for easy question review
✔️ Flag questions for later review
✔️ Exam countdown timer
✔️ Auto-scoring & detailed explanations
✔️ Fully responsive design (mobile-friendly)
✔️ Progress saving to handle page refreshes or accidental closures
- Node.js (v14 or later)
- npm (v6 or later)
1️⃣ Clone the repository:
git clone https://github.com/thiago4go/kubernetes-security-kcsa-mock.git
2️⃣ Navigate to the project directory:
cd kubernetes-security-kcsa-mock
3️⃣ Install dependencies:
npm install
4️⃣ Start the development server:
npm start
5️⃣ Open your browser and visit http://localhost:3000
to use the application.
1️⃣ Select the number of questions for your exam session.
2️⃣ Click "Start Exam" to begin.
3️⃣ Answer each question & navigate using "Previous" / "Next" buttons.
4️⃣ Flag questions for review if needed.
5️⃣ Submit the exam when finished or when the timer runs out.
6️⃣ Review results, correct answers, and explanations.
The application now stores and manages questions in SQLite for improved performance and maintainability.
To export questions from SQLite into categorized JavaScript files:
node src/admin/db-tools/export_questions.js
To update the SQLite database with the latest classified questions:
node src/admin/db-tools/update_questions.js
These scripts keep the database structured and up to date.
We welcome contributions to improve the question bank!
If you spot an error, want to add references, or update a question, follow these steps:
📖 See CONTRIBUTING.md for details.
1️⃣ Open an issue describing the update.
2️⃣ Create a new branch (update-question-<id>
).
3️⃣ Modify the question in src/exported-questions/
.
4️⃣ Ensure sources follow the correct format:
"sources": [
{
"name": "Kubernetes Documentation",
"url": "https://kubernetes.io/docs/concepts/security/overview/"
}
]
5️⃣ Submit a Pull Request (PR) for review.
This project is licensed under the MIT License – see the LICENSE file for details.
Special thanks to:
- Henry Khosashi & Mark Wilson for their support in Kubernetes certification studies.
- The Kubernetes Community for their contributions to cloud-native security.
- v0 (Vercel's AI assistant) for helping refine the project.
- ChatGPT-4 for assisting in the initial question structure and JSON format generation.
This mock exam is created for educational purposes and is not officially affiliated with CNCF or Kubernetes certification programs.
Our goal is to continuously improve the KCSA Mock Exam App by keeping the questions up-to-date, categorised, and well-explained to enhance learning, accuracy, and usability.
- [Ongoing] Keep Questions Updated – Ensure alignment with latest KCSA exam domains and security best practices.
- Use Classified Questions by Domain Exam – Improve UX for targeted learning domain.
- Improve Explanations with Sources – Add verified references to help users understand correct answers.
- Advanced Analytics & Learning Insights – Track weakest topics, attempt history, and improvement trends.
- Implement Spaced Repetition System (SRS) – Prioritize difficult questions for better retention.
- Enhance Community Collaboration – Open a public issue tracker for reporting errors and missing sources.
📖 See ROADMAP.md for details!
🚀 Have suggestions? Open an issue or submit a PR to help improve the app! 🎯
Your feedback is crucial for improving this project!
If you find errors or want to suggest improvements, please open an issue on GitHub.
With dedication and practice, you can become a Kubestronaut! 🚀👨🚀
Best of luck on your Kubernetes Security certification journey! 🎯🔥