Intermediate / 1 to 5 years experienced level questions
Intermediate / 1 to 5 years experienced level questions & answers
Ques 1. Design a URL shortening service like bit.ly.
The system would involve a database to store mappings of short URLs to original URLs, a front-end for user input, and a back-end to handle requests by redirecting to the original URL.
Example:
A user shortens 'https://www.example.com/page123' to 'http://bit.ly/xyz'.
Ques 2. Design a chat application like WhatsApp.
The system involves a messaging server to handle real-time communication, a database to store messages, and end-to-end encryption for security.
Example:
User A sends a text message to User B, and the message is delivered in real-time.
Ques 3. Create a ride-sharing system like Uber.
The system involves a mobile app for users and drivers, a backend to manage ride requests, and a geospatial database to match riders with drivers.
Example:
A user requests a ride, and the system matches them with a nearby available driver.
Ques 4. Design a recommendation system for an e-commerce platform.
The system uses collaborative filtering, content-based filtering, or hybrid methods to recommend products based on user behavior and preferences.
Example:
A user who bought a camera may receive recommendations for related accessories.
Ques 5. Design an authentication and authorization system.
The system involves user authentication through credentials, token-based authorization, and proper session management to ensure secure access to resources.
Example:
A user logs in with valid credentials and receives a token for subsequent authorized requests.
Ques 6. Build a social media analytics system.
The system collects and processes data from various social media platforms, uses a storage system for analytics, and provides insights based on user engagement.
Example:
An organization tracks the performance of its social media campaigns using analytics provided by the system.
Ques 7. Create a job scheduling system.
The system manages and schedules jobs, allocates resources, and ensures efficient utilization of computing resources.
Example:
A user submits a batch of tasks, and the system schedules and executes them based on priority and available resources.
Ques 8. Build a recommendation system for music streaming.
The system uses collaborative filtering, genre analysis, and user preferences to recommend music based on individual tastes.
Example:
A user listens to a few songs, and the system suggests additional tracks matching their music preferences.
Ques 9. Create a caching system for a web application.
The system caches frequently accessed data, utilizes expiration policies, and ensures cache consistency for improved performance.
Example:
Web application fetches user profiles from the cache instead of the database for faster response times.
Ques 10. Build a notification system for a mobile app.
The system sends push notifications, manages user preferences, and ensures delivery reliability with appropriate queuing mechanisms.
Example:
A user receives a real-time notification when a new message is received in the app.
Ques 11. Build a content recommendation system for a news platform.
The system uses natural language processing, user behavior analysis, and collaborative filtering to recommend articles based on user interests.
Example:
A user reads news articles, and the system suggests related articles from various categories.
Ques 12. Design a high-throughput logging and monitoring system.
The system collects logs, metrics, and traces from various services, stores them centrally, and provides tools for monitoring and analysis.
Example:
System administrators monitor server performance and troubleshoot issues using logs and metrics provided by the system.
Ques 13. Build a system for managing user preferences and personalization.
The system involves storing and updating user preferences, using machine learning algorithms for personalized recommendations, and ensuring data privacy.
Example:
A user customizes settings in an app, and the system tailors content and features based on those preferences.
Most helpful rated by users: