Commonwealth Bank of Australia, India
BIZ-METRIC INDIA Interview Questions and Answers
Q1. Programming question - Find second largest string from a given sentence
Find the second largest string from a given sentence
Split the sentence into an array of strings
Sort the array based on string length
Return the second last element in the sorted array
Q2. Difference between AWS cloud front and cloud formation
AWS CloudFront is a content delivery network (CDN) service, while AWS CloudFormation is an infrastructure as code service.
CloudFront is used to deliver content to end users with low latency and high data transfer speeds.
CloudFormation is used to automate the deployment of infrastructure resources in a repeatable and predictable manner.
CloudFront is a CDN service that caches content at edge locations to reduce latency, while CloudFormation is a service that allows you to defin...read more
Q3. How to improve performance in react js ?
To improve performance in React JS, optimize rendering, minimize re-renders, use virtualization, lazy loading, code splitting, and memoization.
Optimize rendering by using shouldComponentUpdate or React.memo for functional components
Minimize re-renders by using PureComponent or memoization techniques like useMemo or useCallback
Use virtualization for long lists or tables to render only the visible items
Implement lazy loading for components or data that are not immediately neede...read more
Q4. Difference between declare trigger and declare index
Declare trigger is used to execute a set of actions when a specific event occurs, while declare index is used to improve query performance by creating an index on a table column.
Declare trigger is used to perform actions like updating other tables or sending notifications when a specific event occurs.
Declare index is used to speed up query performance by creating an index on a column in a table.
Triggers are executed in response to events like insert, update, or delete operati...read more
Q5. Java difference between Finally, Finalize
Finally is a block of code that always executes, while Finalize is a method used for cleanup before an object is garbage collected.
Finally block is used in exception handling to ensure certain code is always executed, regardless of whether an exception is thrown or not.
Finalize method is called by the garbage collector before an object is reclaimed.
Finally block is used in try-catch-finally blocks, while Finalize method is a part of the Object class.
Example: try { // code } c...read more
Q6. Design Product page for ecommerce website
Designing a product page for an ecommerce website
Include high-quality images of the product from different angles
Provide detailed product description including features, specifications, and dimensions
Include customer reviews and ratings for social proof
Add related products or accessories for upselling opportunities
Include prominent 'Add to Cart' and 'Buy Now' buttons for easy purchasing
Q7. Difference between @requestbody and @responsebody
Difference between @requestbody and @responsebody annotations in Spring MVC
The @RequestBody annotation is used to bind the HTTP request body to a method parameter in Spring MVC controller
The @ResponseBody annotation is used to bind the return value of a method to the HTTP response body in Spring MVC
Example: @RequestBody User user - binds the request body to a User object parameter
Example: @ResponseBody String hello() - binds the return value of hello() method to the response ...read more
Q8. Write program for finding unique strings
Program to find unique strings in an array of strings
Create a set to store unique strings
Iterate through the array and add each string to the set
Return the set of unique strings
Q9. Authentication of API
Authentication of API involves verifying the identity of users accessing the API.
Use API keys or tokens for authentication
Implement OAuth for secure authorization
Consider using SSL/TLS for encrypted communication
Interview Process at BIZ-METRIC INDIA
Top Senior Software Engineer Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month