GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Interview-Questions/Containerisation at master · Raja-cloud/Interview-Questions Expand file tree/ Copy pathContainerisationMore file actions 145 lines (98 loc) · 5.23 KB / Copy pathContainerisationFile metadata and controls145 lines (98 loc) · 5.23 KB 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 Interview questions 1) What is docker why we are using docker difference between vm? 2) What is docker cloud & how it is different from docker hub what is the features over docker hub ? 3) What is docker compose ? 4) How you will link when the docker containers is in different virtual machine is there any configuration in docker compose file are any command or any variable? 5) What you will do if one master got corrupted, can we create multiple masters? 6) What you will do in case any pod deleted? 7) What is namespaces in kubernetes can you tell me some? 8) Can you tell me some commands using in kubernetes ? 9) Tell me the command to create cluster? 10) Difference between rc and rs? 11) What is kubernetes? 12) What is the difference between kubctl & kops? 13) Why you are using kubectl can you explin why we are using ? 14) Why we using kops? 15) What is the difference between docker cloud and docker swarm? 16) How to attach a volume in cluster at some time the container will be deleted then rs will re-create new container then how to attach that container automatically and how to restore the volume automatically to re-created container? 17) How many projects you used kubernetes? 18) N number of docker containers deployed to different vms how will you manage there is no kubernetes installed? 19) If installed kubernetes how you will deploy this containers into kubernetes cluster? 20) Can you tell me the command for creating kubernetes cluster in vm? 21) How many nodes we required to create kubernetes cluster? 22) We have nearly 15 nodes in my organization all are decentralized so which node I need to create as a master? Is their any possibility to make all the machines as masters? 23) Our applications are decentralized I don’t want distributed environment if any thing happens to the master all will collapse , can we create multiple masters? 24) What is the difference between kubectl and minikube? 25) If any container down in my cluster how you will rectify? 26) How can I print shell script name? Echo $0 27) How to write a script when the first command is executed then execute the below script? A) Java --version If [ $? –eq 0 ] Then Echo “print the variable ” Else Echo “prin the variable” fi 28) How to print the exact file name by using command ? A) First assign path as a variable awk -F '/' '{print $(NF-1)}' <<< "$a" 29) Can you tell me the syntax for for loop and while loop? 30) How to dictionary in python? A) Dict={a:10,b:10} 31) How to add another variable c, with key 10 to the above dictionary ? 32) How to replace existing dictionary? Dict=[c:10] 33) How to print shell name? 34) How to assign a all the arguments to a single variable? 35) How to print the current processid of current shell? 36) How to know the file that is entering randomly to my script? 37) How to divide two variables in shell script? 38) What is trap? 39) What is shift in shell script? 40) How to run our script in background? 41) How to know the running back ground process id ? 42) What is $*, $$ and $@? 43) How to print only directories? 44) How to print the directory only started with number? 45) How to grep two strings at a time? 46) How to grep a string that is started with some string and ends with some string like a…..b ? 47) How to print string that starts with a? 48) Did you worked on arrays? 49) How will you give access of your script to a particular user? 50) How to access background running scripts and their pid? 51) How to run our script in foreground? 1) Current roles & responsibilities? 2) What is Docker compose? 3) What is Docker server version? 4) What are the advantages of Docker? 5) How do you setup Docker in Jenkins in production environment? 6) How do create Docker image from Docker file? 7) How do you deploy the Docker image generated in the testing environment to production environment in Jenkins? 8) What is Docker data centre? 9) What is Docker hub & uses? 10) What are the types of Docker networks? 11) How do you define network in the Docker compose file? 12) What are the basic parameters required in the Docker compose file? 13) What is Docker interlock? 14) What is overlay networking? 15) How to communicate between 2 containers present in separate network? 16) How to store the data present in the Docker container in the AWS? 17) If we define the Docker volume in the docker compose file is it possible to share data with the EFS, NFS? 18) Differnce between image and container 19) How to Run containers 20) Why we need to mention dual ports(8080:8080) in docker run command 21) Differnce between Copy and Add 22) How to write a docker file to deploy a war file i. We have private repository and don’t have base images .how can deploy a war file? ii. Write a simple docker file to deploy a war file by using base images? 23) Difference between docker compose and docker swarm 24) Why we need to use docker compose? 25) Tell me about Docker Network 26) What is the difference between Docker Swarm ,Compose and Kubernetes ? 27) How does the containers communicate when the containers are running in different hosts? 28) What is the difference between CMD and RUN 29) How can you transfer the data from one container to another ? 30) How do you monitor your containerized applications? |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |