Aws Devops Interview Questions::
=================================
=====================================
1).your pods are restarting again and again ? So what is going on?
2).your ec2 instances terminated itself.is it autoscaling and is it health check issues or its somwthigs else . So how will you answer that ?
3).The docker image works fine. But image file fails into productions ? So what u will do that into it ?
===============================================
* Check container logs (docker logs / kubectl logs)
* Verify environment variables and secrets
* Confirm required files are copied in the Dockerfile
* Check file and folder permissions
* Ensure the app listens on 0.0.0.0, not localhost
* Verify CPU/memory limits
* Confirm correct image tag and architecture
* Reproduce the issue in staging and redeploy
=================================================
4).what will happen if image you will delete the image from which your container is running into the docker enviornment?
===============================
Deleting a Docker image does not stop a running container.
The container continues to run because it already uses the image layers.
However, new containers cannot be created from that image, and if the running container stops or crashes, it cannot be restarted unless the image is pulled again.
====================================
Kubernetes Interview Questions:
===============================
Kubernestes Interview Questions:
========================================
1).You are asking with deploying a stateful applications on Kubernetes ? How would you ensure the data persistence and high avilibity into it ?
2).you need a scale a Kubernetes deployment based on a cpu utilisation’s.describe the how would you implement the autoscalling into it?
3). You are tasked with deploying a micro services on Kubernetes ? So how would you mange the inter-service communications into it ?
4).you need to deploy a Kubernetes cluster across multiple cloud provider for reduatncy ? Describe your approach into it
5).you are tirubleshooting a kubernetes pods that’s failing to start ?walk me through the debugging you process?
6).you are deploying the kubernestes applications that requires secrets management. How would you secretly mange the information into it ?
Secrets can be created manually or dynamically carted into it
7).you are tasked with updating the Kubernetes deployment without downtime? How would you chive the zero-downtime into it ?
8).you are deploying the kupernestes applications that requires persistent storage with different peformance tiers ? So how would you implement the storage class proviosin g?
9).you need to secure your access the Kubernetes cluster and resources .describe your approach to Kubernetes authentications and authrizatons into it ?
10).you are tasked with with monitoring and logging Kubernetes cluster performance and health .describe your approach to oberserviivity into it ?
===================================================================================================
Linux interview Questions :
1).How to recover accidently deleted /etc/fstab into linux os ? anyone deleted this /etc/fstab .after this we can' boot ur os. boot into recovery mode . then go to the linux terminal page . here we have to execute the blkid command here it will list out the avilble partions and attached filesystems . if your deleting the /etc/fatab.that time root parttion won't be work now we can mount the root parttion in rw mode mount -t ext4 -0 rw,remount dev/sda1 / 2).VMSTAT command into linux ? 3).iostat and dstat command into linux os ? 4).LInux free command into linux os ? in this way we can check it our the memeory usage and swap memeory as well. then it will display out the , used,space avilble ,total ,buffer/catche abd shared what is free space we can execute the command like as the, free -b command : we will get the particular output for the bits so if you want to getto int the outpit in kilobytes : so we can execut ethe comamnd like as the, free -k free -g: it will sh...
Comments
Post a Comment