{"id":6922,"date":"2019-10-07T10:52:40","date_gmt":"2019-10-07T10:52:40","guid":{"rendered":"https:\/\/www.devopsschool.com\/blog\/?p=6922"},"modified":"2019-10-21T09:34:02","modified_gmt":"2019-10-21T09:34:02","slug":"devops-interview-questions-and-answer-part-2","status":"publish","type":"post","link":"https:\/\/www.devopsschool.com\/blog\/devops-interview-questions-and-answer-part-2\/","title":{"rendered":"DevOps Interview Questions and Answer &#8211; Part 2"},"content":{"rendered":"\n<ul class=\"wp-block-list\"><li><strong>What DevOps is? Why do we need it?<\/strong><ul><li>Example of answers:<ul><li><strong>Why do we need it?<\/strong><ul><li>Increase deployment frequency<\/li><li>Lower failure rate of new releases<\/li><li>Shortened lead time between fixes<\/li><li>Faster mean time to recovery in the event of new release crashing<\/li><\/ul><\/li><li><strong>What DevOps is?<\/strong><ul><li>CALMS<\/li><li>C \u2013 Culture (promotes collaborative and open culture between Dev and Ops)<\/li><li>A \u2013 Automation (automate wherever applicable)<\/li><li>L- Learning (continuous learning &amp; experimentation)<\/li><li>M \u2013 Measure (Measure with shared metrics across the Dev and ops for better management)<\/li><li>S \u2013 Sharing (Shared delivery process across Dev and Ops to build , deploy, maintain and monitor product with mentality of One Team \u2013 One Goal)<\/li><\/ul><\/li><\/ul><\/li><\/ul><\/li><li><strong>What is the purpose of a post-mortem meeting?<\/strong><\/li><li><strong>What is meant by Continuous Integration?<\/strong><\/li><li><strong>What are the success factors for Continuous Integration?<\/strong><ul><li>Examples of answers:<ul><li>Maintain a code repository<\/li><li>Automate the build<\/li><li>Make the build self-testing<\/li><li>Everyone commits to the baseline every day<\/li><li>Every commit (to baseline) should be built<\/li><li>Keep the build fast<\/li><li>Test in a clone of the production environment<\/li><li>Make it easy to get the latest deliverables<\/li><li>Everyone can see the results of the latest build<\/li><li>Automate deployment<\/li><\/ul><\/li><\/ul><\/li><li><strong>How would you implement CI (continuous delivery) &#8211; end to end, including source control, branches, tools, etc. ?<\/strong><\/li><li><strong>What is Continuous Delivery? Continuous Deployment?<\/strong><\/li><li><strong>What is the difference between Continuous Integration, Continuous Delivery and Continuous Deployment?<\/strong><\/li><li><strong>What\u2019s the difference between git and git-hub ? What about git and SVN ?<\/strong><\/li><li><strong>What is&nbsp;<\/strong><code><strong>git rebase<\/strong><\/code><strong>?<\/strong><\/li><li><strong>In Git how do you revert a commit that has already been pushed and made public?<\/strong><\/li><li><strong>What is puppet\/chef\/ansible used for? What are the advantages over shell scripts ?<\/strong><\/li><li><strong>What do you understand by \u201cInfrastructure as code\u201d? How does it fit into the DevOps methodology? What purpose does it achieve?<\/strong><\/li><li><strong>How do you give your developers access to the production logs ?<\/strong><\/li><li><strong>Tell me about the worst-run\/best-run outage you\u2019ve been a part of. What made it bad\/well-run?<\/strong><\/li><li><strong>How do you monitor your application ? How do you make sure it is working ? How do you get alerts when it stops working ?<\/strong><\/li><li><strong>What would be the availability and performance metrics for a key value store ? What about for MySQL replication ?<\/strong><\/li><li><strong>How would you deploy software to 5000 systems?<\/strong><\/li><li><strong>What is caching ? Where should a large scale application cache, and what data should be cached ?<\/strong><\/li><\/ul>\n","protected":false},"excerpt":{"rendered":"<p>What DevOps is? Why do we need it? Example of answers: Why do we need it? Increase deployment frequency Lower failure rate of new releases Shortened lead time between fixes&#8230; <\/p>\n","protected":false},"author":1,"featured_media":7372,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_joinchat":[],"footnotes":""},"categories":[52],"tags":[95,1059,1060,851,5449,1062,1061],"class_list":["post-6922","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-interview-questions-answers","tag-devops","tag-devops-interview","tag-devops-interview-questions","tag-devops-training","tag-devopsschool","tag-top-devops-interview-questions","tag-top-devops-questions"],"_links":{"self":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/6922","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/comments?post=6922"}],"version-history":[{"count":3,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/6922\/revisions"}],"predecessor-version":[{"id":7374,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/6922\/revisions\/7374"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/media\/7372"}],"wp:attachment":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/media?parent=6922"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/categories?post=6922"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/tags?post=6922"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}