EPAM Systems
Stuba Interview Questions and Answers
Q1. create Shell script for 100 users on 5 different servers
Create a Shell script to add 100 users on 5 different servers.
Use a loop to create 100 users on each server.
Utilize the 'useradd' command to add users.
Ensure unique usernames for each user on each server.
Consider using SSH for remote server access.
Test the script on a single server before running on all servers.
Q2. Tell me more about python scripting
Python scripting is a way to automate tasks using Python programming language.
Python scripting allows for automating repetitive tasks by writing scripts in Python.
It is commonly used for tasks like data processing, web scraping, and automation.
Python scripts can be run from the command line or integrated into larger applications.
Python's extensive standard library makes it easy to work with files, networks, and more.
Q3. Difference between merge and rebase in git
Merge combines changes from different branches, while rebase moves the current branch to the tip of another branch.
Merge creates a new commit with the combined changes of two branches.
Rebase moves the current branch to the tip of another branch, replaying the commits on top of it.
Merge preserves the commit history of both branches, while rebase creates a linear history.
Merge is non-destructive and is preferred for preserving history, while rebase is useful for keeping a clean...read more
Q4. Write auto scaling of ec2 instances
Auto scaling of EC2 instances involves setting up policies to automatically adjust the number of instances based on demand.
Set up CloudWatch alarms to monitor metrics like CPU utilization or network traffic
Create an Auto Scaling Group with desired minimum and maximum number of instances
Define scaling policies to add or remove instances based on the alarms triggered
Test the auto scaling by simulating load on the instances
Q5. Tell me about terraform
Terraform is an open-source infrastructure as code software tool created by HashiCorp.
Terraform allows users to define and provision infrastructure using a declarative configuration language.
It supports multiple cloud providers such as AWS, Azure, and Google Cloud Platform.
Terraform uses a 'plan and apply' workflow to make changes to infrastructure.
It helps in automating the process of setting up and managing infrastructure.
Terraform state file keeps track of the current stat...read more
Q6. Create ci/cd pipeline
Set up a ci/cd pipeline for automated software deployment
Choose a CI/CD tool like Jenkins, GitLab CI, or CircleCI
Define the stages of the pipeline (build, test, deploy)
Integrate with version control system (e.g. GitHub, Bitbucket)
Automate testing and code quality checks
Configure notifications for pipeline status updates
Q7. System design of current project
Designed a scalable microservices architecture using Docker and Kubernetes for real-time data processing.
Utilized Docker containers to encapsulate each microservice for easy deployment and scaling
Implemented Kubernetes for automated container orchestration and management
Used Kafka for real-time data streaming and processing
Designed RESTful APIs for communication between microservices
Interview Process at Stuba
Top Senior Software Engineer 2 Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month