Okta
10+ USDC Global 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. 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
Q6. 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
Q7. Given a set of overlapping time ranges, calculate the total run time.
Calculate total run time of overlapping time ranges
Sort the time ranges by start time
Iterate through the sorted time ranges and merge overlapping ranges
Calculate the total run time by summing up the merged ranges
Q8. what are the system calls when the process is created
System calls when a process is created
fork()
exec()
clone()
Q9. What is your experience in cloud providers?
I have experience working with AWS, GCP, and Azure cloud providers.
Managed infrastructure on AWS EC2 instances
Utilized GCP services like Compute Engine and Cloud Storage
Deployed applications on Azure Virtual Machines
Q10. difference between encryption and hashing
Encryption is reversible, while hashing is irreversible.
Encryption is a process of converting data into a code to prevent unauthorized access.
Hashing is a process of converting data into a fixed-length string of characters.
Encryption uses algorithms like AES, RSA, while hashing uses algorithms like MD5, SHA-256.
Encrypted data can be decrypted back to its original form, while hashed data cannot be reversed.
Q11. design a logging system for 1000 hosts
Design a scalable logging system for 1000 hosts.
Use a centralized logging server to collect logs from all hosts.
Implement log rotation to manage disk space efficiently.
Consider using a distributed logging system like Elasticsearch, Logstash, and Kibana (ELK stack).
Q12. difference between igw and nat
IGW stands for Internet Gateway and is used to connect a VPC to the internet, while NAT (Network Address Translation) is used to allow instances in a private subnet to access the internet.
IGW is used to provide a path for internet traffic to and from a VPC
NAT is used to allow instances in a private subnet to access the internet while hiding their private IP addresses
IGW is associated with a VPC, while NAT is associated with a subnet
Example: IGW is used to allow public-facing ...read more
More about working at Okta
Interview Process at USDC Global
Top Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month