Wednesday, August 4, 2021

Top Command in Linux

 top -u <username>


while running - 

type c in running top command to see command full path

d - delay (refreshed every 5 secs)

h - help

k -kill the process while command running

z - color out all fields

press 1 - to split up usage as per CPUs

r - to renice  - change the priority of the process



shift i -> how many CPUs are detected   (command lscpu is used for same)

top -o <Column name (%CPU)>   -- sort with column



command - 

to check OS release and version

release - cat /etc/os-release


root@hxdp-ts:~# cat /proc/meminfo

MemTotal:        8168480 kB

MemFree:         2149488 kB

MemAvailable:    5621328 kB

Buffers:          621196 kB

Cached:          3707840 kB

SwapCached:         1780 kB

.....

.....


Saturday, May 29, 2021

 NFS Server

NFS v3 and NFS v4


Questions:

what is role of root_squash option 

Explain nfsstat command 

What is nfs and what is its purpose?

What is autofs and its advnatage ?

What is default permission applied on the user when you mount nfs permission on any local directory in your system.

What is the difference between nfs share and samba share 

What is hard mount and soft mount in nfs 

I am unable to mount nfs share. How you will trace out the reason ?

What is the role of all_squash option ?

Why to use NFS ?

What is the default port of nfs server ?

What are different versions of NFS versions ? (nfs2, nfs3 and nfs4)

what are different options used in /etc/exports file?

What is pnfs ?

What is difference between hard mount and soft mount in nfs ?

Wednesday, February 27, 2019

Calsoft:


1st Round:
  1. What are different types of vmotion
  2. What are different type of VM provisioning (Thick and Thin)
  3. What is vmx file
  4. what is vmdk file
  5. VM is powered off then how you will trouble shoot it
  6. what is vmware tools and why is that used.
  7. What is SSO (Single sign on) in Vmware
  8. Tell the componenets / hardware used in SAN (HBA /Switch like that i said)
  9. What is switched network topology

2nd Round:
  1. Tell about RAID 5 and RAID 6 . What it is and how there are different
  2. How Parity is calculated in RAID 5
  3. What is better for Performance RAID 5 or RAID 6 and why?
  4. There is NFS server and NFS client then how you will come to know NFS shares availbles from client without mouting (or before mouting NFS share what command shows availble NFS shares from client only)
  5. How do you configure NFS server and Client
  6. After server reboot NFS mount should be as it is what configuration you will do for that
  7. What is the different bewtween Domain and Workgroup
  8. How to add machine in workgroup or something like that
  9. What is domain controller
  10. Have to installed / configured AD ? (I said using dcpromo copmmand )
  11. What is the difference between tree and forest
  12. In Windows in device manager one of network adapter show ? Mark? What could be reason?
  13. If device adapter show red Cross sign? What could be reason
  14. What is resgistry in Windows
  15. What is resgistry hives? Or something he asked.
  16. Have you worked on cifs ?
  17. Have configured SAN? And how?

3rd Round:
  1. Tell about oops concepts
  2. Method overloading and Overriding
  3. What is getter and setter methods?
  4. How to handle windows pop in Selenium like windows for file upload case?
  5. Write a program to check String is Palidrome or not
  6. How do you validate the pattern is correct {{[()]}} like for open brace at the correct position
=======================================================================

Tibco:
  1. What database you have used
  2. Mysql server
  3. What is port used for database
  4. Port used for other services like ssh and all
  5. How can we check the ports used for any protocol in linux (/etc/services file )
  6. What ldap you have used and port used for that
  7. You have done mstsc to windows machine and How do you find out is it virtualized VM or physical box?
  8. How do you assign static IP address to machine
  9. What is first line of output of “ls” command?
  10. How do you access Linux box from winodws machine without using any third party applications like winscp
  11. What is reason for leaving Symantec?
  12. Test plan
=======================================================================

Symantec Backup Exec:
  1. What is Active Directory
  2. Why do we need DNS for AD
  3. Is there any other use of DNS other than resolving IP to hostname?
  4. What are the steps to add member server in Domain
  5. While adding member server to Domain I am getting an error that member server is not available how you will troubleshoot that
  6. What we need static IP ADDRESS?
  7. What are different types of backups (Full/Differential / Sequential) and their differences?
  8. One scenarios was Given (Daiy full backup / weekly incremental backup ) if something fails on one day hpw you will restore (Full ? Full + incremental or what else)
  9. What is severity and priority : tell examples where s1p3 and p1s3 cases
  10. Difference between full and para virtualization technology
  11. What windows application you have installed on windows machine
  12. Can I use storage to directory VM without having access to host or ESX?
  13. If you have attached storage to one VM will that storage be accessible from ESX or host server?
  14. Asked about NFS/SAN and SCSI storage
  15. What database server you have used? On windows and Linux
  16. What is NIC bonding? Is it similar to NIC teaming?
=====================================================================

Igate:

1st round
  1. What are the linux commands used on daily basis
  2. What is command used to archive files? (tar -xcf)
  3. What are the current roles and responsibilities
  4. Tell about yourself and your education background, experience etc.
  5. Do you know how to install linux OS
2nd Round:
Puzzale: total 30 cocnuts in 3 bags so total 90 coconuts : and Rakesh has t move from station A to B and while travling one coconut from each bag has to give at each station at tooll naka and there are 30 toll naka stations so tell me how one move from station A to B with maximum coconuts
3rd Round:
  1. General question round
  2. What are the good points or strengths given by your manager to you
  3. What are the improvement Ares suggested to you by your manager
  4. What are the new things your learnt recently in technical area

HR Round:
======================================================================

GS Lab:
1st Round:
  1. What is the size of TCP/IP address
  2. What is ARP-RARP
  3. What is three way handshake?
  4. Half duplex and full duplex
  5. What are the protocols used in each layer of TCP /IP
  6. What are the protocol used in OSI layer
  7. What type of data is transfer happens at datalink layer ( Frame)
  8. Why do we need netwok layer ? can we have communication without network layer?
  9. What are different types of network topologies?
  10. Why do we need different type of topology?
  11. Is Communication between different topology possible?
  12. Asked to draw architeure of XenServer and asked to tell how tcp /ip is fitting thr? At what stage what layer of tcp/ip is coming?
  13. What is protocol used in session layer?
  14. Why do we need firewall and where that firewall is placed, means before switch /router? Or after switch /router?
  15. Do you know what different types of firewall are?
  16. What types of data transfer happends ata every stage of OSI later ex. Frames at datalink layer?
  17. Do you know what are the content of Frames?
  18. How ping request works? Means how that gets request and how it responds back?
  19. Puzzle:
  20. Two brothers A and B and both of them are key maker and works for unlock keys. A cannot make key for the lock created by B. And B cannot make key for the lock created by A
  21. Their father told to A and asked to give their part of state (Diamonds) to B. So tell me how safely A can give his estate to B

2nd Round
Below is the project design and asked how do we implement logger here so that if any tcs fails developer should get all relevant logs. Like configuration logs / tcs logs / project suite logs.
So where do you implement logger? Where do you keep clean up scripts at test cases level? Suite level? Or project level?
What other types of design can implement here to have better logging?
Project
  • Project suite1
  • Configuration1
  • Configuration2
  • Configuration3
  • Project suite2
  • Configuration1
  • Configuration2
  • Configuration3
  • Project suite3
    • Configuration1
    • Configuration2
    • Configuration3
  • What are different layers of TCP/IP? (datagram layer and all …..:()
  • This was very bad round of interview 
  • Pattern matching in perl
3rd Round
  • Current roles and responsibilities
  • Few questions on virtualization
  • Questions of FTP setup
  • Questions on Perl automation
  • What are the challenges you faced in Automation
=======================================================================

Persistance:
  1. What is primary /logical and extended partition
  2. Tell me what is file system
  3. What is different other than storing files on hard disk in file system
  4. Have u heard about FAT /NTFS
  5. Why NTFS is used now? What it makes special?
  6. Have you even configured RAID for windows?
  7. Ideal RAID is independent of OS
  8. What is difference between SCSI and iSCSI
  9. What are difference roles in AD
  10. What is main fun of DNS in AD
  11. Is DNS is mandate or recommend in Ad configuration? He said to resolve name / IP I will use updating host file entry
  12. What are different types of backup
  13. What is VMDK file
  14. What is VMX
  15. How backup of Xenserv taken ? what used to happened at backend?
  16. How the VM data is getting backed up?
  17. What is VSS (Quises)
  18. How do you track which vulnerability is fixed in which release or is that fixed in all versions ? ex. SSIM 4.8 release 1 / SSIM 4.7 release 2?
  19. Have you given any suggestion in adding scenario in sanity suite?
  20. Why are looking for change? And that’s so early?
  21. What are your expectation from new company?
=======================================================================
Vmware Puls : Mandeep

Microservice
API / Rest API:
What are the functions avavilble in Java for Rest API
What are the ways to test rest API in Java
 How to do it using httpclient ?
What is Headless browser and how do we test headles browser?
Jenkins configuration : how is it used in project
Maven:
maven clean install
Maven clean
Maven install

TestNG / junit Annotations
100 tests with priority

Java Programs
List of student and there marks , how many classes you will use
Function details
What is Thin provisiong and Thick Provisioning
How to concatinate jenkin jobs


Vmware :
1. Write program for blocking queue, implement push and pull methods without using java.util.
2. Write a program to check string palindrome
3. Write a program to check string palidrome without using loop
4. How to write Custom exception
5. What is a Method overriding  and is return type considered ?
6. Java design pattern

Mathimatix question:
friut related program
Jenkins
recursion

================================================================

Calsoft: by Dines Mane

1ST Round:

Virtulization:
1. How can I execute XenServer xe commands using linux machine
2. What is the difference between VMware and XenServer
3. What is paravirtulization?

Linux:
1. How much you will rate yourself out of 1-5 in linux?
2. Tell me how to configure firewall in linux
3. Do you know about iptables in linux?
4. How to check rom contents without installing rpm  (Ans: rpm –qlp <rpm name>)
How to check the contents of tar filw without extracting that :

Tar –tvf <tar file>

5. What is default runlevel in linux (Ans 3)
6. What is snapshot
7. If I have VM of 50 GB, what will be size of VM snapshot? Will that be same as of VM? If yes why? If no why?

Storage:
8. Do you CIFS protocol?
9. In SMB share what protocol is used? (Ans SMB protocol)
10. Once u mount scsi lun to VM what is filesystem of that LUN? Any OS present on that LUN?
11. What is RAID 5 and its purpose
12. In RAID 0 or RAID 1 performance is better? And why?
13. How to configure RAID?
14. Have you used any I/O tools for NFS testing?
15. What is iscsi and what you did in that?
16. What is multipathing?
17. Have you used any backup tool? Netapp backup etc?

Testing:
18. What is Regression testing and Resting and which one is priority one?
19. What type of testing you do ?

================================================================

Solera – Aquired by Bluecoat :


  1. 32 bit operating OS and 64 bit os
  2. Difference between http 1.0 and http1.1
  3. What are the contents compared with CVE Database and it shows vulnerability is present
  4. How https is more secure ? what it makes more secure?
  5. What is active passive communication in FTP
  6. What is active-active communication in ftp
  7. Have you done port scanning anytime?
  8. What is whitebox testing
  9. What haapens at backend when we type google.com /hit any url
  10. What is diff between esx and esxi
  11. How to add different VM network adapter types to VM
  12. write perl prog in such way that after execution of prog it deletes the prog itself

  13. what type testing you are looking for?
  14. What extra skill set you have so that it is beneficial for us after hiring you
Agilied Technologies:

Round 1:

1.       Explain about your current job and role

2.       What is time slicing

3.       What is scheduler?

4.       What is context switch

5.       What is state diagram (Related to Process)

6.       What is Thread

7.       What is the difference between Multithreading and multiprocessing

8.       Write a program to swap 2 numbers without using 3rd variable

9.       Write a program to validate available memory is less than 1 TB

10.   What is a virtual memory

11.   Do you know different types of Hypervisors? What are those and what is the difference between them?

12.    What is Flash memory?

13.   What is flash array and how it’s different than SSD?

14.   What is soft zoning and hard zoning

15.   What is soft mount and hard mount

16.   Declare array is JAVA. Tell when the memory gets allowed to array? At the time of declaration? Initialization?

17.   What is polymorphism

18.   Tell oops concepts and what are used in ur framework

19.   What do you know about client server programming?

20.   Do you know what is Pipe?

21.   What is MAC address and why MAC address is necessary?

22.   What is Thin provisioning and can you please explain what will be the designing logic behind the thin provision feature? What are the thoughts / points developers have considered before designing this feature?

23.   How to read file? What happens behind when you programmatically reads file? Why you used buffered reader to read file? Can’t I used entire file once?

Round 2:

1.       Explain about your work experience

2.       What is RAID?

3.       What is the purpose of RAID?

4.       What is the difference between RAID and Backup?

5.       What is snapshot?

6.       How snapshot is different than backup?

7.       What do we virtualize in virtualization?

8.       Can I do virtualization if server does not have Network card?

9.       Tell me any challenging situation you faces while testing?

10.   What is file system in ESXi?

11.   Is VMFS file level storage or block level storage?

12.   What is object storage?

13.   How the data is stored in object storage? How this is different that files level and block level storage?

14.   What are the different access modifiers in Java and there access mechanism?

15.   Keyword driver framework?

16.    

 

Round 3:

1.       Explain Product architecture with diagram structure and expected here is as per web application design.

2.       Explain Automation framework in detail.

3.       What is POM

4.       Do you know Java design pattern

5.       In Linux how set Path (Update bashrc file)

6.       What is cron job

7.       In Networking how comfortable u r .. Can you explain TCP/IP model layers. I talked about bit/Packet/ and diff layers and protocols at each layer

8.       In Symantec what kind of Security testing u performed?

9.       What are the methods of object?

10.    

 

 


================================================================