
Infinite Computer Solutions

Infinite Computer Solutions Senior Technical Lead Interview Questions and Answers
Q1. How will you scale-up and scale-down Kubernetes pods?
Scaling Kubernetes pods involves adjusting the number of replicas based on demand.
Use Kubernetes Horizontal Pod Autoscaler (HPA) to automatically adjust the number of replicas based on CPU or memory usage
Manually scale pods using kubectl commands like 'kubectl scale deployment
--replicas= ' Implement Cluster Autoscaler to automatically adjust the number of nodes in a cluster based on resource usage
Q2. Write a program to find a prime number from 1 to n, where n is integer.?
Program to find prime numbers from 1 to n
Iterate from 2 to n and check if each number is prime
Use a nested loop to check divisibility by numbers less than the current number
A prime number is only divisible by 1 and itself
Q3. What deep copy and shallow copy write pollyfil for the same
Deep copy creates a new copy of an object with all nested objects also copied, while shallow copy creates a new object with references to the original nested objects.
Deep copy involves recursively copying all nested objects, while shallow copy only copies the top-level object
Deep copy ensures that changes to the original object do not affect the copied object, while shallow copy may have shared references
In JavaScript, deep copy can be achieved using JSON.parse(JSON.stringify...read more
Q4. How variables are being passed in JAVA?
Variables in JAVA are passed by value, meaning a copy of the variable's value is passed to a method.
In JAVA, primitive data types are passed by value, while objects are passed by reference.
When a primitive data type is passed to a method, a copy of the value is passed, so changes made to the parameter inside the method do not affect the original variable.
When an object is passed to a method, the reference to the object is passed by value, meaning changes to the object's state...read more
Q5. Write a sample JAVA program to parse and validate mail-id
A sample JAVA program to parse and validate mail-id
Use regular expressions to validate the email format
Check for the presence of '@' symbol and domain name
Utilize try-catch blocks for error handling
Use Java libraries like javax.mail.internet.InternetAddress for validation
Q6. Why you want to chnage compoany?
Seeking new challenges, growth opportunities, and a better work-life balance.
Looking for new challenges and opportunities for growth
Seeking a better work-life balance
Interested in working with cutting-edge technologies or in a different industry
Want to expand my skill set and knowledge
More about working at Infinite Computer Solutions

Interview Process at Infinite Computer Solutions Senior Technical Lead

Top Senior Technical Lead Interview Questions from Similar Companies



Reviews
Interviews
Salaries
Users/Month

