i
Tech Mahindra
Filter interviews by
Git merge combines changes from different branches, while git rebase rewrites commit history by moving the current branch to the tip of another branch.
Git merge creates a new commit with the combined changes of the branches being merged.
Git 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 h...
S3 is object storage while EBS is block storage in AWS.
S3 is suitable for storing large amounts of unstructured data like images, videos, and backups.
EBS is used for storing data that requires frequent updates and access, like databases.
S3 is scalable and durable, while EBS is persistent and can be attached to a single EC2 instance.
S3 is accessed over HTTP/HTTPS, while EBS is accessed as a block device within an EC2 in
The default monitoring time in AWS CloudWatch is 5 minutes.
Default monitoring time in AWS CloudWatch is 5 minutes
Can be changed to 1 minute for detailed monitoring
Monitoring intervals can be adjusted based on requirements
Merge conflicts can be solved by resolving the conflicting changes, committing the resolved changes, and then pushing the changes to the repository.
Pull the latest changes from the remote repository
Locate the conflicting files and resolve the conflicts manually
Add the resolved files to the staging area
Commit the changes with a message explaining how the conflicts were resolved
Push the changes to the remote repository
It was1 hour apti test
DevOps is a software development methodology that combines software development (Dev) with IT operations (Ops) to improve collaboration and efficiency.
DevOps focuses on automating and streamlining the software development process.
It emphasizes communication and collaboration between development and operations teams.
DevOps aims to shorten the development lifecycle and provide continuous delivery of high-quality software...
Global warming wdcajkjfuya
Docker
Kubernetes
Azure DevOps
Azure Pipelines
I applied via Recruitment Consulltant and was interviewed before Feb 2022. There were 2 interview rounds.
Kubernetes is an open-source container orchestration platform that automates the deployment, scaling, and management of containerized applications.
Kubernetes is used to manage and automate the deployment of containerized applications.
It provides features like automatic scaling, load balancing, and self-healing.
Kubernetes allows for easy management of containers across multiple hosts and clusters.
It provides declarative...
A container is a lightweight, standalone executable package that contains everything needed to run an application.
Containers provide a consistent and reproducible environment for applications to run in.
They are isolated from the host system and other containers, providing security and portability.
Containers can be easily deployed and scaled, making them ideal for modern application development and deployment.
Examples o...
I applied via Naukri.com and was interviewed in Jul 2022. There were 3 interview rounds.
They conducted an aptitude test and it was based on math and English basic and general knowledge
Based on your skill set they gave you assignments and based on the deadline you have to submit
SSL certification can be configured with Tomcat by generating a keystore file and configuring the server.xml file.
Generate a keystore file using keytool command
Configure the server.xml file to include the keystore file and password
Update the connector element in server.xml to include the SSL protocol and port number
Restart Tomcat to apply the changes
Dynamic inventory is a feature in Ansible that allows for automatic inventory updates based on external data sources.
Dynamic inventory can be configured to pull inventory information from sources such as cloud providers, configuration management databases, or custom scripts.
This allows for more flexible and scalable inventory management, as hosts can be added or removed automatically based on changes in the external da...
Deleting last 30 days logs in Tomcat using shell script
Use find command to locate files older than 30 days
Use xargs command to pass the file names to rm command
Use crontab to schedule the script to run periodically
To identify the process causing server slowness, use monitoring tools and analyze system logs.
Use monitoring tools like Nagios, Zabbix, or Prometheus to track system performance metrics.
Analyze system logs to identify any errors or warnings related to specific processes.
Check CPU and memory usage of running processes using tools like top or htop.
Use profiling tools like strace or perf to identify resource-intensive pro...
Stages in pipeline job in Jenkins
Checkout code from version control system
Build the code
Run unit tests
Deploy to staging environment
Run integration tests
Deploy to production environment
Send notification email
I applied via Naukri.com and was interviewed in May 2020. There were 3 interview rounds.
To run cmd commands using python on windows, use the subprocess module.
Import the subprocess module
Use the subprocess.run() method to execute the command
Pass the command as a list of strings to the run() method
Use the shell=True argument to run the command in a shell environment
Capture the output of the command using the stdout attribute of the returned CompletedProcess object
Deep copy creates a new object with a new memory address while shallow copy creates a new object with the same memory address as the original object.
Deep copy creates a completely new object with a new memory address.
Shallow copy creates a new object with the same memory address as the original object.
In deep copy, changes made to the copied object do not affect the original object.
In shallow copy, changes made to the ...
Namespace in Docker is a way to isolate resources and avoid naming conflicts.
Namespaces provide a layer of isolation for containers
Each namespace has its own set of resources
Namespaces can be used for network, process, and mount isolation
Example: docker run --name mycontainer --net=container:othercontainer myimage
Send email with attachment using PowerShell
Use Send-MailMessage cmdlet
Specify recipient, subject, body and attachment parameters
Example: Send-MailMessage -To 'example@email.com' -Subject 'Test Email' -Body 'This is a test email' -Attachments 'C:\test.txt'
To install IIS using PowerShell, use the Install-WindowsFeature cmdlet.
Open PowerShell as an administrator
Run the command: Install-WindowsFeature -name Web-Server -IncludeManagementTools
Press 'Y' to confirm installation
Wait for the installation to complete
Setup microservice testing and deployment using Kubernetes, containers, Jenkins, and Cloud services.
Create a Kubernetes cluster on a Cloud provider
Build Docker containers for each microservice
Create a Jenkins pipeline for testing and deployment
Use Kubernetes to deploy and manage the containers
Use Cloud services for load balancing, monitoring, and scaling
I applied via Naukri.com and was interviewed in Dec 2020. There was 1 interview round.
I applied via Recruitment Consulltant and was interviewed in May 2024. There was 1 interview round.
based on 1 review
Rating in categories
Software Engineer
26.3k
salaries
| ₹2 L/yr - ₹10.7 L/yr |
Senior Software Engineer
21.3k
salaries
| ₹5.5 L/yr - ₹22.9 L/yr |
Technical Lead
11.6k
salaries
| ₹9.5 L/yr - ₹31.9 L/yr |
Associate Software Engineer
5.4k
salaries
| ₹1.8 L/yr - ₹6 L/yr |
Team Lead
4.9k
salaries
| ₹5.2 L/yr - ₹16.9 L/yr |
Infosys
Cognizant
Accenture
Wipro