Technical Staff Member and Software Engineer
Technical Staff Member and Software Engineer Interview Questions and Answers
Q1. Difference b/w freetyle and normal pipeline . How to check if build is successful.
Freestyle pipeline allows more flexibility in defining build steps compared to normal pipeline. Build success can be checked by examining the build status or logs.
Freestyle pipeline allows users to define build steps manually, while normal pipeline follows a predefined structure.
In freestyle pipeline, build steps can be configured using GUI, whereas normal pipeline uses a script-like syntax.
To check if a build is successful, you can look at the build status (e.g. success/fail...read more
Q2. How to manage terraform state file in common place so if one making changes other get modified file.
Use remote backend in Terraform to manage state file in a common place.
Use remote backend in Terraform to store state file in a shared location like AWS S3 bucket or Azure Blob Storage.
Configure Terraform to use the remote backend by specifying the backend configuration in the Terraform configuration file.
Ensure proper access control and permissions are set up for the shared storage to prevent unauthorized access.
Use locking mechanisms provided by the remote backend to preven...read more
Q3. Given 1000 servers and continue running steam check the stream is strictly increasing order. Divide those streams in 100 servers and process in parallel
Divide 1000 servers into 100 groups to check if streams are strictly increasing in parallel
Divide the 1000 servers into 100 groups of 10 servers each
Assign each group of servers to a separate processing unit for parallel checking
Check if the stream on each server within the group is strictly increasing
Combine the results from all groups to determine if all streams are strictly increasing
Q4. Check if array can make strictly increasing order by making atmost 2 modifications.
Check if array can be made strictly increasing by modifying at most 2 elements.
Iterate through the array and check if each element is greater than the previous one.
If there are more than 2 elements that need to be modified, return false.
Examples: ['1', '2', '3'] -> true, ['1', '3', '2', '4'] -> true, ['1', '1', '2', '3'] -> false
Q5. Current version of linux, running process of linux.
Current version of Linux is 5.14.6. Running processes in Linux can be viewed using commands like ps, top, and htop.
Current version of Linux is 5.14.6
Running processes in Linux can be viewed using commands like ps, top, and htop
Q6. Print values of nested json element. Values is in array.
Print values of nested json element in array format
Access the nested json element using dot notation
Iterate through the array to print each value
Share interview questions and help millions of jobseekers 🌟
Technical Staff Member and Software Engineer Jobs
0Calculate your in-hand salary
Confused about how your in-hand salary is calculated? Enter your annual salary (CTC) and get your in-hand salary
Reviews
Interviews
Salaries
Users/Month