MasterCard
Godrej Capital Interview Questions and Answers
Q1. What if your application is down for 1 hour in one site in prod?
I would investigate the root cause, work on fixing the issue, and implement measures to prevent it from happening again.
Investigate the root cause of the downtime, such as network issues, server failures, or software bugs
Work on fixing the issue promptly to minimize impact on users and business operations
Implement measures to prevent similar downtime in the future, such as redundancy, monitoring, and failover mechanisms
Q2. How do you make sure a throttling system process dropped messages from a slow downstream service?
Implement a throttling system to handle dropped messages from a slow downstream service.
Implement a queue to store messages from the downstream service.
Set a maximum queue size and drop messages when the queue is full.
Use a timestamp to track when messages were received and process them in order.
Implement a retry mechanism to reprocess dropped messages after a certain time.
Monitor the queue size and processing speed to adjust throttling parameters as needed.
Q3. How to pass input field values from form to db. How to make code testable/loosely coupled.
Pass input field values from form to db by using a data access layer and dependency injection for testability.
Create a data access layer to handle interactions with the database.
Use parameterized queries to prevent SQL injection.
Implement dependency injection to decouple the code and make it testable.
Mock the data access layer in unit tests to isolate database interactions.
Use interfaces to define contracts between components for easier testing.
Q4. What are the ways to secure REST API?
Securing REST API involves using authentication, authorization, encryption, and input validation.
Use authentication methods like OAuth, JWT, or API keys to verify the identity of clients.
Implement authorization to control access to resources based on user roles and permissions.
Encrypt data transmission using HTTPS to protect sensitive information from being intercepted.
Validate and sanitize input data to prevent injection attacks like SQL injection or XSS.
Q5. What are SSL certificates?
SSL certificates are digital certificates that authenticate the identity of a website and encrypt information sent to the server.
SSL certificates ensure secure communication between a user's browser and a website's server.
They use encryption to protect sensitive data such as login credentials, credit card information, etc.
SSL certificates are issued by Certificate Authorities (CAs) and contain information about the website's owner and the CA's digital signature.
Examples of SS...read more
Q6. Detailed flow from FE to BE to db.
The flow of data from the front end to the back end to the database.
Front end sends a request to the back end server.
Back end processes the request and interacts with the database.
Database retrieves or updates the data and sends it back to the back end.
Back end sends the response to the front end for display.
Q7. Processing semi structured data
Processing semi structured data involves extracting and organizing information from data that does not fit neatly into a traditional database structure.
Use tools like Apache Spark or Hadoop for processing semi structured data
Utilize techniques like data parsing, data cleaning, and data transformation
Consider using NoSQL databases like MongoDB for storing semi structured data
Examples include processing JSON, XML, or log files
Q8. Design Calendar System
Design a calendar system for scheduling events and managing time.
Include features like creating events, setting reminders, and viewing schedules.
Allow users to set recurring events and customize event details.
Implement a user-friendly interface for easy navigation and interaction.
Integrate with other applications for seamless data sharing.
Consider scalability and performance for handling large amounts of data.
Q9. Current project
Currently working on developing a web application for a healthcare company.
Utilizing React.js for front-end development
Implementing RESTful APIs using Node.js and Express
Working with a PostgreSQL database for data storage
Interview Process at Godrej Capital
Top Senior Software Engineer Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month