Linux Interview Questions:
========================
How much yourself rate on yourself on linux os ?
1).after rebooting linux os , the disk is not showing up ? So what kind of steps u have to take it up ?
2).what is permanent mouth and temoarat mounting into linux os ?
3).didi you worked on ILO into linux os ?
Those are physical serves or virtual servers …
We can take the console directly from the hp hardware servers…
4).have you been transfer the data between two servers into linux os ?
5).what is the scp command ? What is the difference between both commands like as the scp and rsync command into linux os ?
6).you want to creta the 5gb of the disk ? So what we will do int that case ?
While using the fdisk or parted into linux os ?
7).How to update the partition table into linux os ?
8).are u work with lvm ?
9).what is the lvm?
10).you have to extend the lvm , no free space for vg into linux os ?
11).Hva you extend the lvm ?
12)).do you know about the softlink and hardline into linux os ?
13).u have to say the differences between the softlink and hardline ?
So how to create the softlink and hardline into it ?
14).did get changes on shcudle on any jobs into linux os ?
15).how to seducle the corncobs at 2 second s?
16).how to extract he single file from tar archive into linux os ?
17).How to implanted the high avilbilty and fault tier lances and how to implemented into linux os ?
18).hav eyou deleted on any logs ?
19).How to delete the logs which is 30 days older Ito linux os ?
20).you know the widfference between the mtime ,atime and ctime int linux os
2!)have you executed ls woman d
22. User runs ls -l command what could be the reason ? Show to roubeshootin into it?
23).pakage management are you working ?
24).remove the duplicate packages into linux os ?
Package-cleanup —dupes command
25).what is the first line of the shells grit ?
26).what is the purpose of shebang line ?
27).what is command substitution into linus os ?
Using the output of one command as input to another command
===================================================
echo "Today is $(date)"
======================
1).why those files does not merging into linux os ?
2).what is the purpose of /ect.shadow and /etc./passwd file into linux o ?
3).how many fields are there in both files into linux o s?
4).unmoutn commond fails ? So what step u have t take it out ?
5).findthe logs and zipping the logs into linux os ?
6).your are getting the permission denied error and spacious the issue Ito linux os ?
7).nfs permiioisn denied error into linux os ?
8).hav eyo add the any services into firewall into linux os ?
9).How to check the kernel routing table information into linux os
=======
Aws DevOps Interview Questions:
========================================
1).Explain me the architecture of kubernetes into it?
2).How will you upgrade yoe kubernetes cluster into it ?
Drain ed the dones
Enable the uncordon on master and worker nodes as well
We can secular use it..
3).How to distribute 10 pods equally over 10 nodes in kubernestes ?
Like for collecting metric beta ,dynatace agent etc..,,?
4).How will you setup of the applications into the kubernestes into it ?
5).I have to create 10 identical ec2 instances using terraform .what happened will you follow Ito it ?
6).How will you pass vpc id here into the terraform script into this?
7).now if you run terraform apply , how the pipeline behaving into it ?
8).How will you ensure that ec2 modules get vpc id at runtime into it ?
9).Explain the stages you have written in your jenkins pipeline into it?
10).If I am trying to one script file on my linux server and getting permission error
? So how will you troubleshoot into this?
11).Linux server is expwiewcng slow performance ? So how will you debug this troubleshooting this issues Ito it ?
==============
1).worked with aws secret manager ?
2).wokred with docker ?
Can we delete the image out of which my container is running ? Is there any way to delete?
If you delete the image . Will your container confine to be ruing into it ?
2).what is mutability and immutability of image tags use to aws ear reposiryt into it ?
3).differnet types of networking which is vailbel into docker ?
Which is oe is default into it ?
Bridge network
4).whata re components actually we can use into the kubernetes into it ?
5).what are the differnt types of services which is avilble into kubernestes into it?
6).I have two pods running into the wo differnt environment ?
So how to establish he communication between these two bods running in differnt nampacses?
7).what is the syntax for establish the communications for both bods into kubernestes into it?
8).5 pods should run take care of that running into it ?
9).what is the use of brace into kubernestes into it ?
10).why to prefer the secret in over the configmap into the Kubernetes into it ?
11).have you worked GitHub ? Have you worked multitrack pipeline into jenkins into it ?
12).How do you store your credentials
In jenkins into it ?
13).I have to provision two infrsturces .primary ans secondary by using jenkins. How will you ensure that secondary infra pipeline runs only after primary infra passes into it ?
========================
sequential Jenkins stages or triggering the secondary job inside a post { success } block, so Jenkins automatically blocks execution on failure.”
============
Yes, we can use a choice parameter with conditional logic to control secondary infrastructure execution, but the pipeline must still depend on the successful completion of the primary infrastructure stage.”
==============
* A Choice Parameter is added with values like:
* PRIMARY_ONLY
* PRIMARY_AND_SECONDARY
* The pipeline always provisions primary infrastructure first
* The secondary infrastructure stage runs only when:
* The choice parameter allows it and
* The primary infrastructure stage has passed
===========================
14).How do you take care of cleanup the temporary files , workspace in jenikisn into it?
15).jenkins facing disk full related issues into it ?
So how to troubleshooting into it ?
Meantime we have to upgrade. To
15).will it work once you chnag the value of volume ?
Will it get implemented or you need to do something into it ?
“No, just changing the volume value will not work. Jenkins only passes the parameter. To implement the change, the pipeline must pass the value to the infrastructure code and run an apply step.”
Console itself we have to change value of volume into it
Here downgraded not happened .
Only upgraded happened only
16).data resources into terraform into it?
17).In case of terraform, if I am using password and I need to print the value on the console . How can I print the sensitive
Values into it?
Short Answer First
👉 By default, Terraform will NOT print sensitive values (like passwords).
👉 To print them, you must explicitly mark them as non-sensitive, which is NOT recommended in production.
How Terraform Handles Sensitive Values
* Variables marked as sensitive = true
* Outputs marked as sensitive = true
Terraform hides them in CLI output to avoid leaks.
=====================
output "db_password" {
value = var.db_password
sensitive = true
}
18).how do you pass the output from one module to another module into the terraform into it ?
19).which command to monitor the I’ve stats of pods into it ?
After that deployment
Kubectl top pod command
Kubectl top pod —sort=memeory
Kubectl top pod —sort ==cpu
20).what is the chown command into linux os ?
21).How to torblwehoot the dis-space related siisues into linux os?
22).what is ci and cd ?
The short version
* CI = integrate + test code continuously
* CD = release code quickly and safely
23).if I have to deploy 10 micro services in Kubernetes I have to segayrte the deployment between these 3 and 7 pods , how will you do that /
We have to sue the node labels and namespaces and senate into this
24)red works sa swell ?
25).have you faced any challages Devon sneginner can we worked into it ?
As a DevOps beginner, one of the main challenges I faced was understanding the end-to-end CI/CD pipeline and how different tools work together. Initially, tools like Git, Jenkins, Docker, and cloud platforms felt overwhelming.
Another challenge was troubleshooting pipeline failures and environment-related issues. I worked on this by practicing hands-on labs, reading documentation, and learning from real-world examples.
I also realized the importance of collaboration and automation in DevOps. To improve, I focused on writing simple scripts, automating small tasks, and continuously learning through projects.
Overall, these challenges helped me build a strong foundation, and I’m actively improving by working on real projects and staying consistent with practice.”
====================
Linux Interview questions:
==============================
1).Can you explain me the architecture of kubernetes into it?
2).what are all the types of services which is avilble into kubernestes into it ?
3).I have to scrape the data for running nodes using monitoring agent? How will you do the deployment into it?
4).I want that specific pods should get scheduled on specific nodes ? SO how will you ensure this ?
5).what is the use of namespace into kubernestes into it ?
6).How will you establish the communication between pods lying in two different namespaces into it?
7).How to stop the communications between pods in two different namespaces into it?
8).when we can see the the config map and secrets into it ?
9).what is the benefit of using secrets over config map into it?
10).what is the extra things we will get the secret over the config maps?
11).can we delete the image from which a container is running into it?
12).Now I have deleted image form which container is running and after deleting images .I have stopped the container as well. What will happen to the container if I restart ?
13).How will you troubleshoot the 401 and 403 error codes ? What is the meaning of thesis error codes into it ?
14).How will you automate auto trigger of jenkins pipeline from GitHub?
15).what is multi branch pipeline into jenkins into it?
16).How can you sav the rds cost 24*7 into envionerment ?
17).how to mange the ststefile into terraform ?
18).I will to keep the sttatefile eah and every envionmern ?
How to do it ?
19).How can you provision 5 identical ec2 machine into environment Ito I t?
20).have you used dynamic block into terraform into it?
21).whta is the prehook into anise book?
22).How will you increase the disk space into Linux server ?
23).How will you trubelhsoot the slow performance of linux server into it ?
24).how to mangier viridian go code?
25).what process do you follow to deploy the hotfix ?
26).explian the monirotin setup into it ?
27).crashlopp and imagepullbackoff issues into pod level into the kubernestes into it ?
HSBC Bank: Name : Srikanth Patil Mobile : 9513273723 Email Id : Srikanth.patil@hsbc.co.in How to check payslips : Go to the portal: here we can see the link: https://infinite.greyhr.com/login.do Quick links : GreytHR ---------------------------------------------------- Medical and group insurance : Contact : shafi +91 -7022557573 email address: mediclaimhelpdesk@infinite.com For any escalation write to : MYHR@infinite.com Quicklink -BIZX: https://bizx.inifinite.com --------------------------------------------------------- Axis Bank : Name : Ragini sharma Mobile Number: 8088982659 mail address: Ragini.sharma@axisbank.com --------------------------------------------------------- Name : Archishman Mobile number: 7678068570 mail address: Archishman.Deb@axisbank.com -------------------------------------------------------- Hdfc Bank : Name : Pavan katariya Mobile Number: 9986349366 Mail address: pavan.katariya@hdfcbank.com ----------------...
Comments
Post a Comment