Question catalog › Coding exercise › Top Interview Questions

Implement a streaming database with the given constraints and requirements.

Focus on outlining the architecture of the streaming database, including how data will flow from input sources to storage and retrieval mechanisms. Be specific about the technologies you would use for real-time data ingestion, processing, and querying, such as Apache Kafka, Apache Flink, or similar tools. Address the constraints and requirements provided in the prompt, ensuring that your design meets performance, scalability, and fault tolerance criteria. Discuss potential trade-offs in your design choices and how they align with the use cases of the streaming database. Finally, be prepared to explain how you would handle data consistency and reliability in a streaming context.

How to approach this coding exercise

Clarify the inputs and expected output, explain an approach, and check edge cases. Discuss correctness and complexity before implementing. Use coding practice when your target role requires it.

Practice this question under interview conditions. Answer it out loud against a timer with an AI interviewer that asks follow-ups, then review the scored report.

Start a timed mock interview

Return to the question catalog · PM interview preparation guide

Related coding exercises