i
TCS
Filter interviews by
I was interviewed in Jan 2024.
The docker ps command is used to list all the running containers on a Docker host.
It provides information about the container ID, image used, command being run, status, ports, and names of the running containers.
It helps in monitoring and managing the containers on a Docker host.
The command can be used with various options to filter and format the output as per requirements.
Example: 'docker ps -a' lists all containers,...
docker system prune is used to clean up unused Docker resources.
docker system prune helps to free up disk space by removing unused containers, images, networks, and volumes
It can be used to remove stopped containers, dangling images, unused networks, and unused volumes
The command can be customized with flags to specify which resources to prune
Example: docker system prune -a removes all unused resources, including stopp
Ruby's return keyword is different from Java in terms of behavior and syntax.
In Ruby, the return keyword is optional and can be omitted.
Ruby's return keyword can be used to explicitly return a value from a method.
In Java, the return keyword is mandatory and must be used to return a value from a method.
Java's return keyword cannot be used to return from a block or lambda expression.
Variables in Ruby are declared by assigning a value to a name using the assignment operator (=).
To declare a variable, simply write the name of the variable followed by the assignment operator (=) and the value.
Ruby is dynamically typed, so you don't need to specify the type of the variable.
Variables can hold any type of data, including numbers, strings, arrays, hashes, etc.
Variable names in Ruby are case-sensitive and...
1. Devise - authentication solution. 2. Paperclip - file attachment management. 3. Cancancan - authorization solution. 4. Sidekiq - background job processing. 5. RSpec - testing framework.
Devise: A flexible authentication solution for Rails applications.
Paperclip: A file attachment management library for ActiveRecord.
Cancancan: An authorization solution that provides a simple way to define abilities.
Sidekiq: A backgrou...
Migrations in Rails are a way to manage database schema changes.
Migrations are Ruby classes that help modify the database schema.
They allow you to create, modify, or delete database tables, columns, and indexes.
Migrations provide a version control system for the database schema.
They ensure that all developers working on the project have the same database structure.
Migrations can be easily rolled back if needed, making ...
I applied via Naukri.com and was interviewed in Oct 2022. There were 2 interview rounds.
1 hr test with mcq and coding snippet
Pointers are variables that store memory addresses of other variables in C programming language.
Pointers are used to manipulate data structures like arrays, linked lists, and trees.
They can be used to pass values by reference to functions.
Pointers can also be used to allocate memory dynamically using functions like malloc() and calloc().
A linked list program is a data structure that stores a sequence of elements with pointers to the next element.
Create a Node class with a value and a next pointer
Create a LinkedList class with a head pointer and methods to add, remove, and traverse nodes
Example: LinkedList ll = new LinkedList(); ll.add(5); ll.add(10); ll.remove(5);
Data structures are used to organize and manipulate data efficiently in various applications.
Data structures are used in databases to store and retrieve data quickly.
In computer graphics, data structures are used to represent geometric objects.
Data structures are used in algorithms such as sorting and searching.
In networking, data structures are used to represent network packets and routing tables.
Data structures are u...
Merge sort is a divide and conquer algorithm that recursively divides the input array into two halves, sorts them and then merges them.
Divide the array into two halves
Recursively sort the two halves
Merge the sorted halves
Repeat until the entire array is sorted
Cloud computing is widely used in various industries for data storage, processing, and analysis.
Cloud computing allows for easy scalability and cost-effectiveness in managing large amounts of data.
Real-time collaboration and access to data from anywhere are some of the benefits of cloud computing.
Examples of cloud computing applications in real-world projects include Amazon Web Services (AWS), Microsoft Azure, and Goog...
posted on 21 Apr 2022
I applied via Referral and was interviewed in Mar 2022. There were 3 interview rounds.
I applied via Naukri.com and was interviewed in Nov 2021. There were 4 interview rounds.
I applied via Naukri.com and was interviewed in Sep 2021. There were 4 interview rounds.
I applied via Naukri.com and was interviewed in Feb 2022. There was 1 interview round.
I applied via Naukri.com and was interviewed in Aug 2021. There were 3 interview rounds.
I applied via Naukri.com and was interviewed in Sep 2021. There were 4 interview rounds.
Easy reasoning questions
Basic coding multiple choice questions
Exception handling, stored procedures, indexing, and OOP concepts are important in software engineering.
Exception handling is the process of handling errors that occur during program execution.
Stored procedures are pre-written SQL code that can be executed with a single command.
Indexing is the process of optimizing database performance by creating indexes on frequently queried columns.
OOP concepts include encapsulation
posted on 25 Aug 2023
I applied via Referral and was interviewed before Aug 2022. There were 2 interview rounds.
To check server performance, monitor CPU, memory, disk usage. Use tools like top, htop, iostat. Check logs for errors.
Monitor CPU usage with top or htop command
Monitor memory usage with free or vmstat command
Monitor disk usage with df or iostat command
Check logs for errors related to the application
Use performance monitoring tools like Nagios or Zabbix
To activate a Volume Group or LV, use the vgchange or lvchange command.
Use the vgchange command to activate a Volume Group.
Use the lvchange command to activate a Logical Volume.
Specify the name of the Volume Group or Logical Volume as an argument.
Use the -a y option with vgchange to activate all Volume Groups.
Use the -a y option with lvchange to activate all Logical Volumes in a Volume Group.
To present a SAN LUN to Solaris LDOM or CDOM, we need to follow a few steps.
First, we need to identify the SAN LUN and the target LDOM/CDOM.
Then, we need to create a logical device using the format command.
Next, we need to configure the LUN using the cfgadm command.
Finally, we need to add the LUN to the LDOM/CDOM using the ldm add-vdsdev command.
System Engineer
1.1L
salaries
| ₹1 L/yr - ₹9 L/yr |
IT Analyst
67.6k
salaries
| ₹5.1 L/yr - ₹15.9 L/yr |
AST Consultant
51.2k
salaries
| ₹8 L/yr - ₹25 L/yr |
Assistant System Engineer
29.9k
salaries
| ₹2.2 L/yr - ₹5.6 L/yr |
Associate Consultant
28.8k
salaries
| ₹8.9 L/yr - ₹32 L/yr |
Amazon
Wipro
Infosys
Accenture