AWS Logo
Menu
Building a AI-powered study buddy for certifications

Building a AI-powered study buddy for certifications

Your AI-powered CLI companion for any certification exam preparation! Ask questions about any topic in your study materials and get intelligent, personalized quizzes to test your knowledge.

Linda Haviv
Amazon Employee
Published Mar 26, 2025
Last Modified Apr 1, 2025
Quick post to share the sample code for a talk I gave on 26 March 2025 for the Platformers Community.
This is the Github repo to build your own AI-powered study buddy for certifications šŸŽ‰
The demo consists of a main.py , and then additional ones for the data_store, quiz_engine, rag_handler, config_helper.py, and requirements.txt. It uses Amazon Bedrock, with a Knowledge Base, and stored data in Amazon DynamoDB.
To try out this code locally, create a new folder called Sample-Certs-CLI-Quiz-App with the following folder structure:
You can do that with the following commands (I'll add ones for Windows later, these are for Mac / Linux, but you can use them with Powershell on Windows):
For each the files below, paste the contents into each - pay attention to the names:
Here's the main.py:
The config_helper.py:
The scr/data_store/dynamo_client.py:
The src/quiq_engine/generator.py:
The src/rag_handler/knowledge_base.py:
Finally, the requirements.txt:
Coming soon: Instructions on how to create a virtual environment, install the required libraries, and then how to run the app :)
Ā 

Any opinions in this post are those of the individual author and may not reflect the opinions of AWS.

Comments