Technical Staff Member and Software Engineer
Technical Staff Member and Software Engineer Interview Questions and Answers

Asked in Okta

Q. How do you manage a Terraform state file in a common location so that changes made by one person are reflected for others?
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

Asked in Okta

Q. 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

Asked in Okta

Q. Given 1000 servers continuously streaming data, how would you verify that the stream is strictly increasing? How would you divide the streams across 100 servers for parallel processing?
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

Asked in Okta

Q. Given an array, determine if it can be made strictly increasing by making at most 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

Asked in Okta

Q. Create a basic Node.js Todo app with add, update, and get endpoints.
A simple Node.js Todo app with endpoints to add, update, and retrieve tasks.
Use Express.js to create a server and define routes for the API.
Set up a basic in-memory array to store todo items.
Implement POST /todos to add a new todo item.
Implement PUT /todos/:id to update an existing todo item.
Implement GET /todos to retrieve all todo items.

Asked in Okta

Q. 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

Asked in Okta

Q. How do you print the values of a nested JSON element when the values are in an 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

Asked in Verizon

Q. What is the output of the following JavaScript code?
Understanding JavaScript output is crucial for debugging and code comprehension.
JavaScript uses dynamic typing, meaning variables can hold any data type.
Example: let x = 5; x = 'Hello'; // x is now a string.
Functions can return different types based on conditions.
Example: function test() { return true ? 1 : 'string'; } // returns 1.
Console.log() is commonly used to display output in JavaScript.
Share interview questions and help millions of jobseekers 🌟

Calculate 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

