Lets say i have maven repo cloned on to my local, did some changes and i have build the code now target floder will generated. So now when i do git operations like git add, git commit
or any other git operations target folder should not be considered, how would you achieve the same?
Diff b/w git pull and git fetch ?
How to clone specific branch in git?
When I issue mvn install what all things happens in background?
What are the settings you need to do before running mvn deploy?
Whay maven takes much time for 1st execution and from 2nd execution it will take less time?
how to get present working floder ?
how to copy files from local windows machine to cloud based linux machine?
A shell script named test.sh can accept 4 parameters i.e a b c d the parameters wont supplied in order always and number parameters might also vary (only 2 parameters user might supply
sometimes ), how to identify position of letter c ?
Why we need ad-hoc commands, give scenario where you have used ansible ad-hoc commands?
When i need detailed logs on executing ansible playbook what option i need to use?
What are the modules have you worked on? Which module will you use for getting the file from node to master?
Lets say i have a playbook which has 5 tasks in playbook, first 2 tasks should run on local machine and other 3 tasks should run on node?
how to save only last 5 builds of jenkins job ?
Have you worked on jenkinfile?
Can we you use docker in jenkinsfile as a node?
Who will handle docker container creation and deletion? If i am building a maven project always docker container is fresh instance it will try to download dependency from repository,
what measurs you will take to reduce build time?
Why we need multi branch pipeline?
if you forgot jenkins password, how would login back?
Any 3 best practices of docker ?
diff b/w docker stop and docker kill?
Command to list containers which state is exited?
Command to cleanup docker host (deleting stopped containers, dangling images and unused networks) ?
What version of docker you have used?
Specific reason to use that particular version?
28.Can we have multiple CMD in Dockerfile?
Have you worked on docker swarm and docker compose?
Can we have multiple containers in a pod?
Can we have similar containers in pod ?
Lets say i have 4 containers, one of them has failed how would you check which container has failed?
What is liveness and readness probe? Why we need them?
Have you worked on kubernetes monitoring? Which tools you have used?
What is vpc?
VPC is Private, Isolated, Virtual Network
VPC would be logically isolated network in AWS cloud
VPC is also give control of network architecture
VPC is also going to enhanced security
VPC has ability to interwork with other organization
What is route table?
Route Table is a set of Rules tells the direction of network