PhonePe
Atharva It Services Interview Questions and Answers
Q1. How to copy contents of a file to another file?
To copy contents of a file to another file, you can use file handling methods in programming languages.
Open the source file in read mode and the destination file in write mode
Read the contents of the source file and write them to the destination file
Close both files after the copying process is complete
Q2. Linux Command to List CPU's in the system
Command to list CPUs in Linux system
Use the 'lscpu' command to list detailed information about CPUs
Use the 'nproc' command to display the number of processing units available
Use the 'cat /proc/cpuinfo' command to view information about each CPU core
Q3. Command to check free disk space
Command to check free disk space
Use the 'df' command to check free disk space
The '-h' option displays the output in human-readable format
The '-T' option shows the filesystem type
The '-x' option excludes specific filesystem types
The '-t' option filters the output based on filesystem type
Q4. Command to check free memory space
Command to check free memory space
Use the 'free' command to check free memory space
The 'free' command displays the total, used, and free memory space in the system
It also shows the amount of memory used for buffers and cache
The 'free' command can be used with options like '-h' for human-readable output
Q5. difference between NoSQL and SQL
NoSQL is a non-relational database that provides flexible schema and horizontal scalability, while SQL is a relational database with structured schema and vertical scalability.
NoSQL databases are schema-less and can handle unstructured data.
SQL databases use structured query language and have predefined schemas.
NoSQL databases are horizontally scalable, allowing for easy distribution of data across multiple servers.
SQL databases are vertically scalable, meaning they can handl...read more
Q6. Copy files to a remote machine
To copy files to a remote machine, use a file transfer protocol like SCP or SFTP.
Use SCP (Secure Copy) command to copy files between local and remote machines
Example: scp /path/to/local/file username@remote:/path/to/destination
Use SFTP (Secure File Transfer Protocol) for interactive file transfers
Example: sftp username@remote, then use put command to upload files
Q7. How to rename a file
To rename a file, use the 'mv' command in the terminal or use a file manager with a rename option.
In the terminal, use the 'mv' command followed by the current file name and the new file name.
Example: mv oldfile.txt newfile.txt
In a file manager, right-click on the file and select the 'Rename' option.
Enter the new file name and press Enter.
Q8. Explain OSI Model
The OSI Model is a conceptual framework that standardizes the functions of a communication system into seven layers.
The OSI Model stands for Open Systems Interconnection Model.
It was developed by the International Organization for Standardization (ISO) in 1984.
The model is divided into seven layers: Physical, Data Link, Network, Transport, Session, Presentation, and Application.
Each layer has a specific function and interacts with the layers above and below it.
The model helps...read more
More about working at PhonePe
Top Site Reliability Engineer Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month