welcome to the video series of LearnVern. So far I know your course has been completed and today we are going to discuss the questions which will be asked to you when you appear for the interview okay. So before moving on to questions, I would like to give you some tips, so first tip is always remember the tools which we have studied in DevOps can be different in your interview from the ones which we have studied during this course, how? As we know changes occur in DevOps month by month even day by day new things are added to it , so you need to know about these changes through the internet and prepare yourself with the latest information okay.
Second tip for you is the devops you will notice means dev and ops means developers and operators, so the working gap or communication gap between developers and operators is bridged by devops so you can learn so many such skills which reduces this gap also known as communication gap which is not technical skills but then also you can learn these skills so that your value as developer will increase ,so do learn these skills.
Now we will move onto interview questions ,which can be asked in interview so if you have mentioned DevOps then the basic question asked to you will be tell something about devops okay, so the person sitting in front of you will behave that he does not know anything about devops and you have to explain him devops in very simple language so how will you do that? You will start by explaining how devops word came into existence. It is made up of two words developer and operator and then what is its work and what all tools are included in that and why is it called devops so in this manner you have to answer this question.
After that another question which will be asked to you is what is the difference between agile and devops? So agile is a software engineering model and apart from agile we have many other models also available and this question can be asked in many ways to you like, what is difference between engineering models and devops and you can also be asked about different models also but answer will be same the main difference between them is the software engineering model which you have been asked will tell you model or method like in this way you have to do your project or divide your project in 8 parts and then you have to fulfil project within this time period with these many people.
So what is devops? Devops is tool which you can use for completing your project, so devops and software engineering are almost same there is not much difference in them but in devops you have to use its tools and in software engineering you will make the whole model and then work on it so it is also possible that you make model through software engineering and use tools of devops and you can use both together and you can also use either one of them okay so this you can say in difference.
Another question which might be asked to you can be: what is the version control system? Or what is continuous integration? What is continuous deployment? We have continuous automation also so all these things if you are asked any sort of technical question then you need to answer in detail and for that you need to revisit our course once again and you need to revise all the topics like what is version control system? Through the version control system you can track any code’s history like who wrote this particular code and what all changes were made in this? If we talk about continuous integration then what is continuous integration? Many people are coding together and then you gather all those codes and integrate it and give it for building then it is known as continuous integration.
Similarly in continuous deployment we build that integrated code and upload it on an online server ,so there are many questions like this which can be asked to you so you have to answer in this way so that it will be easy to understand technically okay.
Third question which can be asked to you is what is automation? Or they can ask you if they can do any work in 10 minutes without automation then why should I spend 30 minutes or more than that on automation and if any interviewer ask you this question then you can answer what ,if you are doing this once it will take 10 minutes but if you are doing this same thing 5 times in 5 days then what will happen? In the span of 5 days you have spent 50 minutes right , so if you spend 30 minutes once for automating it then you don’t have to spend any time in the next 5 days.
So what is the disadvantage of automation? It will take time when you will introduce it in the first sprint and its advantage is that in other sprints you will require very less time, sprint is nothing but the task which you are doing once completed. If you start it again it is called sprint okay.
Next question which can be asked to you is if I create any software then why should I virtualize it? means if we use docker kubernetes, why should we use it? I can directly run any software on my pc or server so why should I virtualize? So to answer this in short, you can say the reason behind it is security, if he asks you to explain then you need to explain it in detail like, if in devops I use virtualization or containerization then what will happen? Then my code or script which we are running will be isolated and what will happen? Hackers can't hack it or our data will not be leaked from there means imagine I have created an application and I am hosting it on server and I have not done containerization and if some person is hacking some other server then my service can also be easily hacked because it is also on same server, so if any person exploits server’s anyone part then our whole server will become vulnerable means he can hack the whole server ,so in order to avoid this what can we do? We can isolate it means all the services which are running all are isolated and all are running in different virtual environments and even if any one virtual environment gets hacked then it will not affect our other services and because of this reason many people use virtual services so you can answer it like this.
After this if the interviewer asks you, what will you do to make your code faster and safer? So to answer this question, you can say while writing our code we will keep performance in mind while writing code and second thing is we can use testing ,so in software testing what happens we do two types of testing first is security testing in which we check its security means we check our application is safe or not and after that second type of testing is performance testing in that we check that our website is working at which speed as many people are using it or how slow it is working and is it able to handle the load or not and if only one person is opening it then how much time is it taking to open that is known as performance testing, so with help of performance testing and security testing we can analyse whether our code is safe and fast or not okay.
Now they might also ask you like ,they will give you a scenario means they will explain their company’s project to you and they will ask you which software engineering tool should I use for making this tool so this question does not have fixed answer the project which they have mentioned you need to keep in mind that project’s requirement and then you need to decide which software engineering model you should use.
Lastly, if interviewer asks you which software engineering model is best so friends, this is a trick question, all the software engineering models are useful and there is no such best model and it depends on your requirement means you need to decide according to your requirement like waterfall model if you have to make any simple project in which you don’t have to give update or change requirement in such case waterfall model is the best in that you don’t even need to change requirement and you have to just deliver it once and there will be no updates so that model will be the best model.
So if someone asks you which model is the best in software engineering, you can say it depends on your project like which model suits your project but there is no such best model all are equally important.
If any interviewer asks you that he has a project and he wants to implement devops in that project or they will ask you what are the rules according to devops means ,they will ask you what is use of software tester and software developer or what is the use of project manager, so for such questions you need to remember the symbol of devops that is infinity, in infinity symbol we saw everything in 8 parts and those 8 parts you need to remember starting from planning, coding, building , testing, release, monitoring, operate and deploy. so you have to remember all these things and answer accordingly.
So friends after reading everything when you go for an interview prepare yourself and whenever you answer the questions answer them confidently so guys these are the basic interview questions and if you prepare these questions then you will definitely do well in interview and always answer confidently and all the best for interview.
Jay prashant kakade
Its a great platform to learn if u a student instead of putting your time n money out in classes n all get the knowledge as much as you can