{"id":5768,"date":"2020-07-09T11:44:05","date_gmt":"2020-07-09T11:44:05","guid":{"rendered":"https:\/\/www.temok.com\/blog\/?p=5768"},"modified":"2023-11-15T11:17:05","modified_gmt":"2023-11-15T11:17:05","slug":"devops-interview-questions","status":"publish","type":"post","link":"https:\/\/www.temok.com\/blog\/devops-interview-questions\/","title":{"rendered":"100+ DevOps Interview Questions You Must Prepare To Get Job"},"content":{"rendered":"<span class=\"span-reading-time rt-reading-time\" style=\"display: block;\"><span class=\"rt-label rt-prefix\"><\/span> <span class=\"rt-time\"> 26<\/span> <span class=\"rt-label rt-postfix\">min read<\/span><\/span>\r\n\r\n\r\n<p>DevOps stands for Development and Operations is a well-renowned software development practice that most organizations adopt into their workflow. According to <a class=\"aioseop-link\" href=\"https:\/\/go.forrester.com\/blogs\/2018-the-year-of-enterprise-devops\/\" target=\"_blank\" rel=\"noopener\">Forrester<\/a> (a top research firm), more than 50% of the organization has implemented and expanding whereas 27% are planning to implement shortly. Biggest enterprises such as Google, Facebook, Amazon, and Netflix have implemented and opened multiple positions for DevOps engineers. There is no doubt that the job listing is increasing but the job market is highly competitive where you have to cover different challenging subjects for DevOps interview questions. Keep in mind, that you can&#8217;t get a job without preparing DevOps questions.<\/p>\r\n\r\n\r\n\r\n<p>Jobs related to DevOps become the most promising career choices for professionals. But keep in mind organizations are enhancing their output by hiring only applicants who have in-depth knowledge, skills, and <a class=\"aioseop-link\" href=\"https:\/\/devopsinstitute.com\/certifications\/\" target=\"_blank\" rel=\"noopener\">certifications<\/a>. So, this article aims to help those candidates boost their knowledge with several questions asked by industry experts.\u00a0<\/p>\r\n\r\n\r\n\r\n<p>Every DevOps engineer should be fluent in <a class=\"aioseop-link\" href=\"https:\/\/www.blog.temok.com\/programming-languages-learn\/\" target=\"_blank\" rel=\"noopener\">web languages<\/a> like PHP, Java, or Python with experience in infrastructure automation tools like Windows PowerShell DSC, Puppet, or Chef and interpersonal skills for better collaboration and communication.\u00a0<\/p>\r\n\r\n\r\n\r\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_84 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-6a247c59c6ba1\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-6a247c59c6ba1\"  aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.temok.com\/blog\/devops-interview-questions\/#DevOps_Interview_Questions_and_Answers\" >DevOps Interview Questions and Answers\u00a0<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.temok.com\/blog\/devops-interview-questions\/#DevOps_Interview_Questions_Related_To_Basic_Introduction\" >DevOps Interview Questions Related To Basic Introduction<\/a><ul class='ez-toc-list-level-4' ><li class='ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.temok.com\/blog\/devops-interview-questions\/#1_What_is_the_Scope_of_DevOps_and_Why_do_we_need_it\" >1. What is the Scope of DevOps and Why do we need it?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.temok.com\/blog\/devops-interview-questions\/#2_Can_you_provide_an_overview_of_DevOps_phases\" >2. Can you provide an overview of DevOps phases?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.temok.com\/blog\/devops-interview-questions\/#3_Why_is_DevOps_gaining_more_popularity\" >3. Why is DevOps gaining more popularity?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.temok.com\/blog\/devops-interview-questions\/#4_What_are_the_Key_differences_between_DevOps_Agile\" >4. What are the Key differences between DevOps &amp; Agile?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/www.temok.com\/blog\/devops-interview-questions\/#5_Describe_the_core_business_and_technical_benefits_of_DevOps\" >5. Describe the core business and technical benefits of DevOps.<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/www.temok.com\/blog\/devops-interview-questions\/#6_What_are_the_most_used_DevOps_tools\" >6. What are the most used DevOps tools?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/www.temok.com\/blog\/devops-interview-questions\/#7_What_do_you_Know_About_anti-patterns_of_DevOps\" >7. What do you Know About anti-patterns of DevOps?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/www.temok.com\/blog\/devops-interview-questions\/#8_What_is_CI_and_its_main_purpose\" >8. What is CI and its main purpose?\u00a0<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/www.temok.com\/blog\/devops-interview-questions\/#9_Do_You_Know_About_the_shift_left_in_DevOps\" >9. Do You Know About the shift left in DevOps?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/www.temok.com\/blog\/devops-interview-questions\/#10_What_does_CAMS_stand_for\" >10. What does CAMS stand for?<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-13\" href=\"https:\/\/www.temok.com\/blog\/devops-interview-questions\/#11_Enlist_some_of_the_KPIs_used_to_measure_DevOps_success\" >11. Enlist some of the KPIs used to measure DevOps\u2019 success.<\/a><ul class='ez-toc-list-level-4' ><li class='ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-14\" href=\"https:\/\/www.temok.com\/blog\/devops-interview-questions\/#12_What_are_the_Core_Benefits_of_DevOps_automation\" >12. What are the Core Benefits of DevOps automation?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-15\" href=\"https:\/\/www.temok.com\/blog\/devops-interview-questions\/#13_What_do_you_think_about_containers\" >13. What do you think about containers?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-16\" href=\"https:\/\/www.temok.com\/blog\/devops-interview-questions\/#14_Enlist_the_two_Java_development_frameworks_used_for_creating_microservices\" >14. Enlist the two Java development frameworks used for creating microservices.\u00a0<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-17\" href=\"https:\/\/www.temok.com\/blog\/devops-interview-questions\/#15_Do_you_know_about_the_post-mortem_meetings\" >15. Do you know about the post-mortem meetings?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-18\" href=\"https:\/\/www.temok.com\/blog\/devops-interview-questions\/#16_Can_you_differentiate_Asset_Management_and_Configuration_Management\" >16. Can you differentiate Asset Management and Configuration Management?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-19\" href=\"https:\/\/www.temok.com\/blog\/devops-interview-questions\/#17_What_is_%E2%80%9CInfrastructure_as_Code%E2%80%9D_IaC_and_how_does_it_relate_to_configuration_management\" >17. What is &#8220;Infrastructure as Code&#8221; (IaC) and how does it relate to configuration management?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-20\" href=\"https:\/\/www.temok.com\/blog\/devops-interview-questions\/#18_Can_you_explain_several_key_elements_of_continuous_testing\" >18. Can you explain several key elements of continuous testing?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-21\" href=\"https:\/\/www.temok.com\/blog\/devops-interview-questions\/#19_How_can_you_maintain_the_entire_architecture_using_continuous_monitoring\" >19. How can you maintain the entire architecture using continuous monitoring?\u00a0<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-22\" href=\"https:\/\/www.temok.com\/blog\/devops-interview-questions\/#20_What_are_the_core_operations_of_DevOps_according_to_development_and_infrastructure\" >20. What are the core operations of DevOps according to development and infrastructure?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-23\" href=\"https:\/\/www.temok.com\/blog\/devops-interview-questions\/#21_Can_you_define_the_role_of_AWS_in_DevOps\" >21. Can you define the role of AWS in DevOps?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-24\" href=\"https:\/\/www.temok.com\/blog\/devops-interview-questions\/#22_How_is_%E2%80%9CInfrastructure_as_Code%E2%80%9D_implemented_using_AWS\" >22. How is \u201cInfrastructure as Code\u201d implemented using AWS?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-25\" href=\"https:\/\/www.temok.com\/blog\/devops-interview-questions\/#23_What_do_you_know_about_DevOps\" >23. What do you know about DevOps?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-26\" href=\"https:\/\/www.temok.com\/blog\/devops-interview-questions\/#24_What_is_the_basic_rule_or_idea_of_DevOps\" >24. What is the basic rule or idea of DevOps?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-27\" href=\"https:\/\/www.temok.com\/blog\/devops-interview-questions\/#25_Is_DevOps_related_to_any_other_methodology\" >25. Is DevOps related to any other methodology?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-28\" href=\"https:\/\/www.temok.com\/blog\/devops-interview-questions\/#26_Can_you_tell_me_about_the_priorities_in_DevOps\" >26. Can you tell me about the priorities in DevOps?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-29\" href=\"https:\/\/www.temok.com\/blog\/devops-interview-questions\/#27_What_are_the_key_benefits_of_DevOps\" >27. What are the key benefits of DevOps?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-30\" href=\"https:\/\/www.temok.com\/blog\/devops-interview-questions\/#28_What_is_CI_continuous_integration\" >28. What is (CI) continuous integration?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-31\" href=\"https:\/\/www.temok.com\/blog\/devops-interview-questions\/#29_Can_You_Explain_the_Difference_Between_continuous_testing_and_automation_testing\" >29. Can You Explain the Difference Between continuous testing and automation testing?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-32\" href=\"https:\/\/www.temok.com\/blog\/devops-interview-questions\/#30_Do_you_know_about_the_key_differences_between_continuous_delivery_and_continuous_deployment\" >30. Do you know about the key differences between continuous delivery and continuous deployment?<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-33\" href=\"https:\/\/www.temok.com\/blog\/devops-interview-questions\/#Git_%E2%80%93_DevOps_Interview_Questions_related_to_Source_Code_Management\" >Git &#8211; DevOps Interview Questions related to Source Code Management<\/a><ul class='ez-toc-list-level-4' ><li class='ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-34\" href=\"https:\/\/www.temok.com\/blog\/devops-interview-questions\/#31_What_are_the_advantages_of_Git\" >31. What are the advantages of Git?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-35\" href=\"https:\/\/www.temok.com\/blog\/devops-interview-questions\/#32_Can_You_handle_merge_conflict_in_Git\" >32. Can You handle merge conflict in Git?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-36\" href=\"https:\/\/www.temok.com\/blog\/devops-interview-questions\/#33_Do_You_Know_About_Forking_Workflow\" >33. Do You Know About Forking Workflow?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-37\" href=\"https:\/\/www.temok.com\/blog\/devops-interview-questions\/#34_Which_one_is_better_Forking_Workflow_or_Git_Workflow\" >34. Which one is better Forking Workflow or Git Workflow?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-38\" href=\"https:\/\/www.temok.com\/blog\/devops-interview-questions\/#35_Can_you_Define_Git_rebase\" >35. Can you Define Git rebase?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-39\" href=\"https:\/\/www.temok.com\/blog\/devops-interview-questions\/#36_Can_You_Define_Git_stash\" >36. Can You Define Git stash?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-40\" href=\"https:\/\/www.temok.com\/blog\/devops-interview-questions\/#37_What_is_branching_in_Git\" >37. What is branching in Git?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-41\" href=\"https:\/\/www.temok.com\/blog\/devops-interview-questions\/#38_How_is_Git_rebase_different_from_Git_merge\" >38. How is Git rebase different from Git merge?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-42\" href=\"https:\/\/www.temok.com\/blog\/devops-interview-questions\/#39_What_are_the_advantages_of_using_VCS\" >39. What are the advantages of using VCS?\u00a0<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-43\" href=\"https:\/\/www.temok.com\/blog\/devops-interview-questions\/#40_How_can_we_revert_a_commit_in_Git_that_has_been_pushed_and_made_public\" >40. How can we revert a commit in Git that has been pushed and made public?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-44\" href=\"https:\/\/www.temok.com\/blog\/devops-interview-questions\/#41_What_is_the_difference_between_a_centralized_and_distributed_version_control_system_VCS\" >41. What is the difference between a centralized and distributed version control system (VCS)?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-45\" href=\"https:\/\/www.temok.com\/blog\/devops-interview-questions\/#42_Do_You_Know_the_git_command_for_downloading_any_repository_from_GitHub_to_your_computer\" >42. Do You Know the git command for downloading any repository from GitHub to your computer?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-46\" href=\"https:\/\/www.temok.com\/blog\/devops-interview-questions\/#43_How_can_you_push_a_file_from_your_computer_to_the_GitHub_repository\" >43. How can you push a file from your computer to the GitHub repository?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-47\" href=\"https:\/\/www.temok.com\/blog\/devops-interview-questions\/#44_Which_CLI_command_is_used_to_rename_the_files\" >44. Which CLI command is used to rename the files?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-48\" href=\"https:\/\/www.temok.com\/blog\/devops-interview-questions\/#45_Do_you_know_the_difference_between_Git_fetch_and_Git_pull\" >45. Do you know the difference between Git fetch and Git pull?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-49\" href=\"https:\/\/www.temok.com\/blog\/devops-interview-questions\/#46_Can_you_enlist_the_use_of_a_Version_Control_System_VCS\" >46. Can you enlist the use of a Version Control System (VCS)?\u00a0<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-50\" href=\"https:\/\/www.temok.com\/blog\/devops-interview-questions\/#47_Is_it_possible_to_secure_Jenkins\" >47. Is it possible to secure Jenkins?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-51\" href=\"https:\/\/www.temok.com\/blog\/devops-interview-questions\/#48_Can_you_define_the_Jenkins_Pipeline\" >48. Can you define the Jenkins Pipeline?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-52\" href=\"https:\/\/www.temok.com\/blog\/devops-interview-questions\/#49_Explain_the_key_aspects_of_the_Jenkins_pipeline\" >49. Explain the key aspects of the Jenkins pipeline.<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-53\" href=\"https:\/\/www.temok.com\/blog\/devops-interview-questions\/#50_Do_you_know_about_the_Jenkinsfile\" >50. Do you know about the Jenkinsfile?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-54\" href=\"https:\/\/www.temok.com\/blog\/devops-interview-questions\/#51_Can_you_tell_me_the_file_name_that_is_used_to_define_dependency_in_Maven\" >51. Can you tell me the file name that is used to define dependency in Maven?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-55\" href=\"https:\/\/www.temok.com\/blog\/devops-interview-questions\/#52_Which_command_is_used_to_run_the_Jenkin\" >52. Which command is used to run the Jenkin?\u00a0<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-56\" href=\"https:\/\/www.temok.com\/blog\/devops-interview-questions\/#53_Is_it_possible_to_move_or_copy_Jenkins_from_one_server_to_another\" >53. Is it possible to move or copy Jenkins from one server to another?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-57\" href=\"https:\/\/www.temok.com\/blog\/devops-interview-questions\/#54_How_Can_we_make_a_new_copy_of_an_existing_Jenkins_job\" >54. How Can we make a new copy of an existing Jenkins job?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-58\" href=\"https:\/\/www.temok.com\/blog\/devops-interview-questions\/#55_Can_You_Explain_the_master-slave_architecture_of_Jenkins\" >55. Can You Explain the master-slave architecture of Jenkins?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-59\" href=\"https:\/\/www.temok.com\/blog\/devops-interview-questions\/#56_Explain_the_two_types_of_pipeline_and_their_syntax\" >56. Explain the two types of pipeline and their syntax.<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-60\" href=\"https:\/\/www.temok.com\/blog\/devops-interview-questions\/#57_How_to_create_a_backup_and_copy_files_in_Jenkins\" >57. How to create a backup and copy files in Jenkins?\u00a0<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-61\" href=\"https:\/\/www.temok.com\/blog\/devops-interview-questions\/#58_Define_three_security_mechanisms_Jenkins_uses_to_authenticate_users\" >58. Define three security mechanisms Jenkins uses to authenticate users.<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-62\" href=\"https:\/\/www.temok.com\/blog\/devops-interview-questions\/#59_Have_you_understood_how_a_custom-built_core_plugin_is_deployed\" >59. Have you understood how a custom-built core plugin is deployed?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-63\" href=\"https:\/\/www.temok.com\/blog\/devops-interview-questions\/#60_What_are_the_different_ways_in_which_a_build_can_be_scheduledrun_in_Jenkins\" >60. What are the different ways in which a build can be scheduled\/run in Jenkins?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-64\" href=\"https:\/\/www.temok.com\/blog\/devops-interview-questions\/#61_How_can_you_restart_Jenkins_manually\" >61. How can you restart Jenkins manually?<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-65\" href=\"https:\/\/www.temok.com\/blog\/devops-interview-questions\/#Selenium_%E2%80%93_DevOps_Interview_Questions_for_Continuous_Testing\" >Selenium &#8211; DevOps Interview Questions for Continuous Testing<\/a><ul class='ez-toc-list-level-4' ><li class='ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-66\" href=\"https:\/\/www.temok.com\/blog\/devops-interview-questions\/#62_Why_is_Selenium_used\" >62. Why is Selenium used?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-67\" href=\"https:\/\/www.temok.com\/blog\/devops-interview-questions\/#63_Why_is_the_Selenium_Grid_used\" >63. Why is the Selenium Grid used?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-68\" href=\"https:\/\/www.temok.com\/blog\/devops-interview-questions\/#64_What_are_the_major_components_of_Selenium\" >64. What are the major components of Selenium?<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-69\" href=\"https:\/\/www.temok.com\/blog\/devops-interview-questions\/#65_Briefly_explain_the_different_exceptions_in_Selenium_WebDriver\" >65. Briefly explain the different exceptions in Selenium WebDriver.<\/a><ul class='ez-toc-list-level-4' ><li class='ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-70\" href=\"https:\/\/www.temok.com\/blog\/devops-interview-questions\/#66_Can_we_test_an_application_on_an_Android_browser_with_the_help_of_Selenium\" >66. Can we test an application on an Android browser with the help of Selenium?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-71\" href=\"https:\/\/www.temok.com\/blog\/devops-interview-questions\/#67_Do_You_know_about_the_different_test_types_that_Selenium_supports\" >67. Do You know about the different test types that Selenium supports?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-72\" href=\"https:\/\/www.temok.com\/blog\/devops-interview-questions\/#68_Can_we_access_the_text_of_a_web_element_if_yes_then_how\" >68. Can we access the text of a web element if yes then how?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-73\" href=\"https:\/\/www.temok.com\/blog\/devops-interview-questions\/#69_Which_one_is_not_a_WebElement_method\" >69. Which one is not a WebElement method?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-74\" href=\"https:\/\/www.temok.com\/blog\/devops-interview-questions\/#70_What_is_the_purpose_of_findElement_and_findElements\" >70. What is the purpose of findElement() and findElements()?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-75\" href=\"https:\/\/www.temok.com\/blog\/devops-interview-questions\/#71_What_are_driverclose_and_driverquit_in_Selenium_WebDriver\" >71. What are driver.close() and driver.quit() in Selenium WebDriver?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-76\" href=\"https:\/\/www.temok.com\/blog\/devops-interview-questions\/#72_How_can_we_submit_a_form_using_Selenium\" >72. How can we submit a form using Selenium?<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-77\" href=\"https:\/\/www.temok.com\/blog\/devops-interview-questions\/#Configuration_Management_%E2%80%93_DevOps_Interview_Questions\" >Configuration Management &#8211; DevOps Interview Questions<\/a><ul class='ez-toc-list-level-4' ><li class='ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-78\" href=\"https:\/\/www.temok.com\/blog\/devops-interview-questions\/#73_Can_you_explain_why_SSL_certificates_are_used_in_Chef\" >73. Can you explain why SSL certificates are used in Chef?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-79\" href=\"https:\/\/www.temok.com\/blog\/devops-interview-questions\/#74_What_is_Test_Kitchen_in_Chef_and_the_most_commonly_used_commands_for_this_purpose\" >74. What is Test Kitchen in Chef and the most commonly used commands for this purpose?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-80\" href=\"https:\/\/www.temok.com\/blog\/devops-interview-questions\/#75_You_want_to_disable_or_stop_the_%E2%80%9Chttpd%E2%80%9D_service_which_of_the_following_commands_is_correct\" >75. You want to disable or stop the \u201chttpd\u201d service, which of the following commands is correct?\u00a0<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-81\" href=\"https:\/\/www.temok.com\/blog\/devops-interview-questions\/#76_Differentiate_both_chef-apply_and_chef-client\" >76. Differentiate both chef-apply and chef-client?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-82\" href=\"https:\/\/www.temok.com\/blog\/devops-interview-questions\/#77_Do_you_know_about_the_Puppet_Module\" >77. Do you know about the Puppet Module?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-83\" href=\"https:\/\/www.temok.com\/blog\/devops-interview-questions\/#78_What_is_the_difference_between_Puppet_Module_and_Puppet_Manifest\" >78. What is the difference between Puppet Module and Puppet Manifest?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-84\" href=\"https:\/\/www.temok.com\/blog\/devops-interview-questions\/#79_What_are_the_major_differences_between_Ansible_and_Puppet\" >79. What are the major differences between Ansible and Puppet?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-85\" href=\"https:\/\/www.temok.com\/blog\/devops-interview-questions\/#80_Can_you_explain_the_Puppet_in_DevOps\" >80. Can you explain the Puppet in DevOps?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-86\" href=\"https:\/\/www.temok.com\/blog\/devops-interview-questions\/#81_Do_you_know_about_any_tool_to_make_Puppet_more_powerful\" >81. Do you know about any tool to make Puppet more powerful?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-87\" href=\"https:\/\/www.temok.com\/blog\/devops-interview-questions\/#82_What_are_the_resources_used_in_Puppet\" >82. What are the resources used in Puppet?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-88\" href=\"https:\/\/www.temok.com\/blog\/devops-interview-questions\/#83_Can_You_explain_a_class_in_Puppet\" >83. Can You explain a class in Puppet?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-89\" href=\"https:\/\/www.temok.com\/blog\/devops-interview-questions\/#84_Have_you_listened_to_Ansibles_work\" >84. Have you listened to Ansible&#8217;s work?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-90\" href=\"https:\/\/www.temok.com\/blog\/devops-interview-questions\/#85_Can_You_tell_us_what_are_the_categories_of_Ansible_in_DevOps\" >85. Can You tell us what are the categories of Ansible in DevOps?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-91\" href=\"https:\/\/www.temok.com\/blog\/devops-interview-questions\/#86_Is_it_possible_to_install_Ansible_on_the_controlling_machines\" >86. Is it possible to install Ansible on the controlling machines?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-92\" href=\"https:\/\/www.temok.com\/blog\/devops-interview-questions\/#87_What_are_the_benefits_of_the_Ansible_agentless_tool\" >87. What are the benefits of the Ansible agentless tool?\u00a0<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-93\" href=\"https:\/\/www.temok.com\/blog\/devops-interview-questions\/#88_What_is_an_Ansible_role_in_DevOps\" >88. What is an Ansible role in DevOps?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-94\" href=\"https:\/\/www.temok.com\/blog\/devops-interview-questions\/#89_When_should_we_use_%E2%80%98\" >89. When should we use &#8216;{{ }}&#8217;?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-95\" href=\"https:\/\/www.temok.com\/blog\/devops-interview-questions\/#90_How_to_make_content_reusableredistributable\" >90. How to make content reusable\/redistributable?<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-96\" href=\"https:\/\/www.temok.com\/blog\/devops-interview-questions\/#Containerization_%E2%80%93_DevOps_Interview_Questions\" >Containerization &#8211; DevOps Interview Questions<\/a><ul class='ez-toc-list-level-4' ><li class='ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-97\" href=\"https:\/\/www.temok.com\/blog\/devops-interview-questions\/#91_What_is_the_architecture_of_Docker\" >91. What is the architecture of Docker?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-98\" href=\"https:\/\/www.temok.com\/blog\/devops-interview-questions\/#92_What_are_the_major_benefits_of_Docker_over_virtual_machines\" >92. What are the major benefits of Docker over virtual machines?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-99\" href=\"https:\/\/www.temok.com\/blog\/devops-interview-questions\/#93_How_do_you_share_Docker_containers_with_different_nodes\" >93. How do you share Docker containers with different nodes?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-100\" href=\"https:\/\/www.temok.com\/blog\/devops-interview-questions\/#94_How_to_create_a_Docker_swarm_with_the_help_of_commands\" >94. How to create a Docker swarm with the help of commands?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-101\" href=\"https:\/\/www.temok.com\/blog\/devops-interview-questions\/#95_Is_it_possible_to_run_multiple_containers_using_a_single_service\" >95. Is it possible to run multiple containers using a single service?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-102\" href=\"https:\/\/www.temok.com\/blog\/devops-interview-questions\/#96_Why_do_we_need_a_Docker_file\" >96. Why do we need a Docker file?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-103\" href=\"https:\/\/www.temok.com\/blog\/devops-interview-questions\/#97_What_are_the_main_differences_between_Docker_images_and_Docker_containers\" >97. What are the main differences between Docker images and Docker containers?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-104\" href=\"https:\/\/www.temok.com\/blog\/devops-interview-questions\/#98_How_to_create_a_Docker_container\" >98. How to create a Docker container?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-105\" href=\"https:\/\/www.temok.com\/blog\/devops-interview-questions\/#99_Enlist_the_differences_between_a_registry_and_a_repository\" >99. Enlist the differences between a registry and a repository.<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-106\" href=\"https:\/\/www.temok.com\/blog\/devops-interview-questions\/#100_What_are_the_names_of_different_cloud_platforms_that_support_Docker\" >100. What are the names of different cloud platforms that support Docker?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-107\" href=\"https:\/\/www.temok.com\/blog\/devops-interview-questions\/#101_What_do_you_know_about_the_expose_and_publish_commands_in_Docker\" >101. What do you know about the expose and publish commands in Docker?<\/a><\/li><\/ul><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"DevOps_Interview_Questions_and_Answers\"><\/span><u>DevOps Interview Questions and Answers\u00a0<\/u><span class=\"ez-toc-section-end\"><\/span><\/h2>\r\n\r\n\r\n\r\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"DevOps_Interview_Questions_Related_To_Basic_Introduction\"><\/span>DevOps Interview Questions Related To Basic Introduction<span class=\"ez-toc-section-end\"><\/span><\/h3>\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\" id=\"1\"><span class=\"ez-toc-section\" id=\"1_What_is_the_Scope_of_DevOps_and_Why_do_we_need_it\"><\/span>1. What is the Scope of DevOps and Why do we need it?<span class=\"ez-toc-section-end\"><\/span><\/h4>\r\n\r\n\r\n\r\n<p>There are many benefits of using this method including quick customer better quality and feedback. The main goal of any product development project is customer satisfaction, so any organization needs the following things to achieve this goal:<\/p>\r\n\r\n\r\n\r\n<ul class=\"wp-block-list\">\r\n<li>The minimum failure rate of new releases\u00a0\u00a0<\/li>\r\n<li>Faster mean time to recovery in case of crashing<\/li>\r\n<li>Increase development frequency\u00a0<\/li>\r\n<li>Lower time for fixes\u00a0<\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n<p>DevOps helps to fulfill all these requirements and facilitates the company to achieve seamless software delivery. Well-renowned and big organizations like Google and Amazon have adopted this methodology and getting the highest performance levels with the ability to accomplish tens of thousands of deployments in a single day with security, stability, and reliability.\u00a0<\/p>\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\" id=\"2\"><span class=\"ez-toc-section\" id=\"2_Can_you_provide_an_overview_of_DevOps_phases\"><\/span>2. Can you provide an overview of DevOps phases?<span class=\"ez-toc-section-end\"><\/span><\/h4>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-5814\" src=\"https:\/\/i0.wp.com\/www.blog.temok.com\/wp-content\/uploads\/2020\/07\/devops20.jpg?resize=750%2C500&#038;ssl=1\" alt=\"Can you provide an overview of DevOps phases\" width=\"750\" height=\"500\" srcset=\"https:\/\/i0.wp.com\/blog.temok.com\/wp-content\/uploads\/2020\/07\/devops20.jpg?w=750&amp;ssl=1 750w, https:\/\/i0.wp.com\/blog.temok.com\/wp-content\/uploads\/2020\/07\/devops20.jpg?resize=300%2C200&amp;ssl=1 300w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/figure>\r\n\r\n\r\n\r\n<p>There are six phases in the DevOps. Planning, development, continuous integration, automated deployment, operations, and monitoring. Let\u2019s understand each phase in more detail.\u00a0<\/p>\r\n\r\n\r\n\r\n<p><strong>Plan<\/strong><\/p>\r\n\r\n\r\n\r\n<p>The initial step in the DevOps lifecycle is planning which involves the understanding of the project for the ultimate work goal for its participants. It also feeds the different phases of development and operations. Moreover, planning is important for the clarity of project management tools and metrics.\u00a0<\/p>\r\n\r\n\r\n\r\n<p><strong>Code<\/strong><\/p>\r\n\r\n\r\n\r\n<p>Project development starts by designing infrastructure and coding the project. Programmers store their codes in a code manager at a central location where they can view and perform different operations.\u00a0<\/p>\r\n\r\n\r\n\r\n<p><strong>Build<\/strong><\/p>\r\n\r\n\r\n\r\n<p>Once the code of an application is completed, they build the application by integrating several codes written in the previous step.\u00a0<\/p>\r\n\r\n\r\n\r\n<p><strong>Test<\/strong><\/p>\r\n\r\n\r\n\r\n<p>Testing is a vital part of software application development. You can rebuild the application in case of any problem.\u00a0\u00a0<\/p>\r\n\r\n\r\n\r\n<p><strong>Integrate<\/strong><\/p>\r\n\r\n\r\n\r\n<p>This phase involves the testing and validation to ensure either project is working properly or not. If everything is fine then publish in a service that integrates with the remaining applications.\u00a0<\/p>\r\n\r\n\r\n\r\n<p><strong>Deploy\u00a0<\/strong><\/p>\r\n\r\n\r\n\r\n<p>DevOps automates the deployments using tools and scripts to solve the whole process with the activation of a feature. It involves the cloud that provides infrastructure and cost optimization management.\u00a0<\/p>\r\n\r\n\r\n\r\n<p><strong>Operate<\/strong><\/p>\r\n\r\n\r\n\r\n<p>Almost all DevOps operations are happening throughout the life of software and provide opportunities for scalability, availability, and transformation.\u00a0<\/p>\r\n\r\n\r\n\r\n<p><strong>Monitor<\/strong><\/p>\r\n\r\n\r\n\r\n<p>To check the current status of the application, DevOps permanently monitors and analyzes the information.\u00a0\u00a0<\/p>\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\" id=\"3\"><span class=\"ez-toc-section\" id=\"3_Why_is_DevOps_gaining_more_popularity\"><\/span>3. Why is DevOps gaining more popularity?<span class=\"ez-toc-section-end\"><\/span><\/h4>\r\n\r\n\r\n\r\n<p>It is a trending and in-demand industry because it helps organizations expand their businesses and earn an attractive amount of income. When most of the companies started to adopt this methodology it became the most important for the competitors to implement better development practices. Multinational and big business brands including Facebook and Netflix are continually investing in DevOps automation to provide outstanding automation shortly.\u00a0<\/p>\r\n\r\n\r\n\r\n<p>Programmers and developers can develop applications within a record period having higher efficiency. Nowadays, most online businesses are relying on cloud software that requires faster deployment without any interruptions and needs to adopt DevOps over the years. Interview questions on DevOps are not only provided for beginners, they are equally beneficial for both newbies and experienced people.\u00a0\u00a0<\/p>\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\" id=\"4\"><span class=\"ez-toc-section\" id=\"4_What_are_the_Key_differences_between_DevOps_Agile\"><\/span>4. What are the Key differences between DevOps &amp; Agile?<span class=\"ez-toc-section-end\"><\/span><\/h4>\r\n\r\n\r\n\r\n<p>Both are based on different methodologies of the software development lifecycle (SDLC) but DevOps has some similarities with the Agile. DevOps interview questions are written to give you the conceptual answers for excellence. Let\u2019s understand DevOps and Agile with the help of a diagram.\u00a0<\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-5819\" src=\"https:\/\/i0.wp.com\/www.blog.temok.com\/wp-content\/uploads\/2020\/07\/devops8.jpg?resize=750%2C500&#038;ssl=1\" alt=\"What are the Key differences between DevOps &amp; Agile\" width=\"750\" height=\"500\" srcset=\"https:\/\/i0.wp.com\/blog.temok.com\/wp-content\/uploads\/2020\/07\/devops8.jpg?w=750&amp;ssl=1 750w, https:\/\/i0.wp.com\/blog.temok.com\/wp-content\/uploads\/2020\/07\/devops8.jpg?resize=300%2C200&amp;ssl=1 300w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/figure>\r\n\r\n\r\n\r\n<p>DevOps is dedicated to facilitating the development and operations team to work together in continuous development, testing, integration, deployment, and monitoring of the software to create a great option throughout the lifecycle as you can see in the picture given below:\u00a0<\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"750\" height=\"500\" class=\"wp-image-5820 aligncenter\" src=\"https:\/\/i0.wp.com\/www.blog.temok.com\/wp-content\/uploads\/2020\/07\/devops9.jpg?resize=750%2C500&#038;ssl=1\" alt=\"Gap between software requirement and developer\" srcset=\"https:\/\/i0.wp.com\/blog.temok.com\/wp-content\/uploads\/2020\/07\/devops9.jpg?w=750&amp;ssl=1 750w, https:\/\/i0.wp.com\/blog.temok.com\/wp-content\/uploads\/2020\/07\/devops9.jpg?resize=300%2C200&amp;ssl=1 300w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/figure>\r\n\r\n\r\n\r\n<p>Agile is a technique used for incremental, iterative, small, and rapid releases of software with the help of customer feedback. You may experience conflicts and gaps between the customers and developers. If we talk about DevOps, then you may see the conflicts between developers and IT operations.\u00a0<\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"750\" height=\"500\" class=\"wp-image-5821 aligncenter\" src=\"https:\/\/i0.wp.com\/www.blog.temok.com\/wp-content\/uploads\/2020\/07\/devops10.jpg?resize=750%2C500&#038;ssl=1\" alt=\"Gap between developers and operations\" srcset=\"https:\/\/i0.wp.com\/blog.temok.com\/wp-content\/uploads\/2020\/07\/devops10.jpg?w=750&amp;ssl=1 750w, https:\/\/i0.wp.com\/blog.temok.com\/wp-content\/uploads\/2020\/07\/devops10.jpg?resize=300%2C200&amp;ssl=1 300w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/figure>\r\n\r\n\r\n\r\n<p><strong>Agile Approach:<\/strong> As you know, agile refers to an iterative approach focused on customer feedback, rapid releases, and better collaboration. So, DevOps is a practice of bringing both development and operations teams together but it is only meant for development is agile.\u00a0<\/p>\r\n\r\n\r\n\r\n<p><strong>Practices and Processes: <\/strong>DevOps involves processes such as Continuous Delivery (CD), Continuous Integration (CI), and Continuous Testing (CT), and agile involves practices such as Agile Kanban and Agile Scrum.<\/p>\r\n\r\n\r\n\r\n<p><strong>Priority<\/strong>: DevOps provides equal priority to quality and timeliness but Agile prioritizes only timeliness.\u00a0<\/p>\r\n\r\n\r\n\r\n<p><strong>Release Cycles:<\/strong> DevOps provides the option to proactively manage the project with smaller release cycles and immediate feedback but Agile offers only smaller release cycles without the option of immediate feedback.<\/p>\r\n\r\n\r\n\r\n<p><strong>Feedback Source:<\/strong> DevOps has feedback monitoring tools but Agile relies on the feedback from customers.<\/p>\r\n\r\n\r\n\r\n<p><strong>Scope of Work:<\/strong> For DevOps, the scope of work is agility and the need for automation but agile has only agility.\u00a0<\/p>\r\n\r\n\r\n\r\n<h4 id=\"5\" class=\"5 wp-block-heading\"><span class=\"ez-toc-section\" id=\"5_Describe_the_core_business_and_technical_benefits_of_DevOps\"><\/span>5. Describe the core business and technical benefits of DevOps.<span class=\"ez-toc-section-end\"><\/span><\/h4>\r\n\r\n\r\n\r\n<p>DevOps has a lot of benefits, business, and technical advantages are listed below:\u00a0<\/p>\r\n\r\n\r\n\r\n<p><strong>Business Benefits<\/strong><\/p>\r\n\r\n\r\n\r\n<ul class=\"wp-block-list\">\r\n<li>Faster delivery of features<\/li>\r\n<li>Enhanced collaboration between teams<\/li>\r\n<li>Improved operating environment stability<\/li>\r\n<li>Better communication and time to add values<\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n<p><strong>Technical Benefits<\/strong><\/p>\r\n\r\n\r\n\r\n<ul class=\"wp-block-list\">\r\n<li>Continuous software delivery<\/li>\r\n<li>A great option for problem resolution<\/li>\r\n<li>Reduced complex problems<\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\" id=\"6\"><span class=\"ez-toc-section\" id=\"6_What_are_the_most_used_DevOps_tools\"><\/span>6. What are the most used DevOps tools?<span class=\"ez-toc-section-end\"><\/span><\/h4>\r\n\r\n\r\n\r\n<ul class=\"wp-block-list\">\r\n<li>Ansible, Puppet, and Chef \u2013 are the configuration management and application deployment tools<\/li>\r\n<li>Docker \u2013 is a containerization tool<\/li>\r\n<li>Selenium \u2013 is used for continuous testing (CT)<\/li>\r\n<li>Git \u2013 For VCS (version control system) activities\u00a0<\/li>\r\n<li>Jenkins \u2013 is used for continuous integration (CI)\u00a0<\/li>\r\n<li>Jira \u2013 that provides the agile team collaboration option<\/li>\r\n<li>Nagios \u2013 is used for continuous monitoring<\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\" id=\"7\"><span class=\"ez-toc-section\" id=\"7_What_do_you_Know_About_anti-patterns_of_DevOps\"><\/span>7. What do you Know About anti-patterns of DevOps?<span class=\"ez-toc-section-end\"><\/span><\/h4>\r\n\r\n\r\n\r\n<p>If DevOps doesn\u2019t work in a specific context then the organizations need to adopt an anti-pattern.\u00a0 The following are the most popular anti-patterns:\u00a0<\/p>\r\n\r\n\r\n\r\n<ul class=\"wp-block-list\">\r\n<li>DevOps is a process<\/li>\r\n<li>The company needs to have a separate DevOps group<\/li>\r\n<li>Agile is equal to DevOps<\/li>\r\n<li>DevOps is development-driven release management<\/li>\r\n<li>DevOps indicates Developers Managing Production<\/li>\r\n<li>DevOps is responsible for solving all problems<\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\" id=\"8\"><span class=\"ez-toc-section\" id=\"8_What_is_CI_and_its_main_purpose\"><\/span>8. What is CI and its main purpose?\u00a0<span class=\"ez-toc-section-end\"><\/span><\/h4>\r\n\r\n\r\n\r\n<p>CI means Continuous Integration in which developers integrate their code into a shared repository several times a day. The main purpose of Continuous Integration is to enhance the quality and reduce the time required to complete the project. CI also has a suite of unit, integration, and regression testing that runs each time the compilation succeeds.\u00a0<\/p>\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\" id=\"9\"><span class=\"ez-toc-section\" id=\"9_Do_You_Know_About_the_shift_left_in_DevOps\"><\/span>9. Do You Know About the shift left in DevOps?<span class=\"ez-toc-section-end\"><\/span><\/h4>\r\n\r\n\r\n\r\n<p>When the traditional development lifecycle is drafted on the paper it has two sides, left and right. Design and development are presented on the left side and production staging, user acceptance, and stress testing are on the right side.<\/p>\r\n\r\n\r\n\r\n<p>The shift left means taking the maximum of the tasks on the right side that happens toward the end of the development process. It is used to find and prevent defects before the software delivery process. Incorporating static code analysis routines in every build and creating production-ready artifacts at the end of every Agile Sprint are the widely used ways of accomplishing shift-left.\u00a0<\/p>\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\" id=\"10\"><span class=\"ez-toc-section\" id=\"10_What_does_CAMS_stand_for\"><\/span>10. What does CAMS stand for?<span class=\"ez-toc-section-end\"><\/span><\/h4>\r\n\r\n\r\n\r\n<ul class=\"wp-block-list\">\r\n<li>Culture<\/li>\r\n<li>Automation<\/li>\r\n<li>Measurement<\/li>\r\n<li>Sharing<\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n<h3 class=\"wp-block-heading\" id=\"11\"><span class=\"ez-toc-section\" id=\"11_Enlist_some_of_the_KPIs_used_to_measure_DevOps_success\"><\/span>11. Enlist some of the KPIs used to measure DevOps\u2019 success.<span class=\"ez-toc-section-end\"><\/span><\/h3>\r\n\r\n\r\n\r\n<p>The following are the most widely used Key Process Indicators:\u00a0<\/p>\r\n\r\n\r\n\r\n<ul class=\"wp-block-list\">\r\n<li>MTTD (Mean time to detection)<\/li>\r\n<li>MTTR (Meantime to recovery)<\/li>\r\n<li>Application performance<\/li>\r\n<li>Application usage and traffic<\/li>\r\n<li>Availability<\/li>\r\n<li>Change volume<\/li>\r\n<li>Deployment frequency<\/li>\r\n<li>Error rates<\/li>\r\n<li>Customer tickets<\/li>\r\n<li>Defect escape rate<\/li>\r\n<li>Failed deployments<\/li>\r\n<li>Lead time<\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\" id=\"12\"><span class=\"ez-toc-section\" id=\"12_What_are_the_Core_Benefits_of_DevOps_automation\"><\/span>12. What are the Core Benefits of DevOps automation?<span class=\"ez-toc-section-end\"><\/span><\/h4>\r\n\r\n\r\n\r\n<ul class=\"wp-block-list\">\r\n<li>Reduce the human errors from the CD equation<\/li>\r\n<li>Removes the bottlenecks from the CI pipeline<\/li>\r\n<li>Identification of errors is much easier because tasks become more repeatable and predictable<\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\" id=\"13\"><span class=\"ez-toc-section\" id=\"13_What_do_you_think_about_containers\"><\/span>13. What do you think about containers?<span class=\"ez-toc-section-end\"><\/span><\/h4>\r\n\r\n\r\n\r\n<p>Containers use virtualization technology and used to provide isolation among processes. These are not heavier than a <a class=\"aioseop-link\" href=\"https:\/\/en.wikipedia.org\/wiki\/Hypervisor\" target=\"_blank\" rel=\"noopener\">hypervisor<\/a> and lighter than a <a class=\"aioseop-link\" href=\"https:\/\/en.wikipedia.org\/wiki\/Chroot\" target=\"_blank\" rel=\"noopener\">chroot<\/a>.\u00a0<\/p>\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\" id=\"14\"><span class=\"ez-toc-section\" id=\"14_Enlist_the_two_Java_development_frameworks_used_for_creating_microservices\"><\/span>14. Enlist the two Java development frameworks used for creating microservices.\u00a0<span class=\"ez-toc-section-end\"><\/span><\/h4>\r\n\r\n\r\n\r\n<p>There are many <a class=\"aioseop-link\" href=\"https:\/\/www.blog.temok.com\/top-20-javascript-ide-source-code-editors\/\" target=\"_blank\" rel=\"noopener\">Java development frameworks and IDEs<\/a> including Eclipse MicroProfile and Spring Boot used to create microservices.\u00a0<\/p>\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\" id=\"15\"><span class=\"ez-toc-section\" id=\"15_Do_you_know_about_the_post-mortem_meetings\"><\/span>15. Do you know about the post-mortem meetings?<span class=\"ez-toc-section-end\"><\/span><\/h4>\r\n\r\n\r\n\r\n<p>Yes, these are the meetings conducted in case anything went wrong. The main purpose of these meetings is to finalize actions or planning to avoid the same errors.\u00a0<\/p>\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\" id=\"16\"><span class=\"ez-toc-section\" id=\"16_Can_you_differentiate_Asset_Management_and_Configuration_Management\"><\/span>16. Can you differentiate Asset Management and Configuration Management?<span class=\"ez-toc-section-end\"><\/span><\/h4>\r\n\r\n\r\n\r\n<p>Asset management is the process of monitoring and maintaining valuable things in an entity or group. Whereas, Configuration Management is a method used to control, identify, plan, and verify the configuration items within the service in support of change management.\u00a0<\/p>\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\" id=\"17\"><span class=\"ez-toc-section\" id=\"17_What_is_%E2%80%9CInfrastructure_as_Code%E2%80%9D_IaC_and_how_does_it_relate_to_configuration_management\"><\/span>17. What is &#8220;Infrastructure as Code&#8221; (IaC) and how does it relate to configuration management?<span class=\"ez-toc-section-end\"><\/span><\/h4>\r\n\r\n\r\n\r\n<p>It is a type of IT setup in which developers automatically manage and deliver applications through software instead of writing code to manage configuration, deployment, and automatic provisioning.\u00a0<\/p>\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\" id=\"18\"><span class=\"ez-toc-section\" id=\"18_Can_you_explain_several_key_elements_of_continuous_testing\"><\/span>18. Can you explain several key elements of continuous testing?<span class=\"ez-toc-section-end\"><\/span><\/h4>\r\n\r\n\r\n\r\n<p><strong>Advanced Analysis<\/strong><\/p>\r\n\r\n\r\n\r\n<p>These analyses are made to forecast and predict unknown future events<\/p>\r\n\r\n\r\n\r\n<p><strong>Policy Analysis<\/strong><\/p>\r\n\r\n\r\n\r\n<p>different policies to improve the testing process\u00a0<\/p>\r\n\r\n\r\n\r\n<p><strong>Requirement Traceability<\/strong><\/p>\r\n\r\n\r\n\r\n<p>As the name indicates, it is the process of enhancing the ability to describe requirements from the initial stages to deployment.\u00a0<\/p>\r\n\r\n\r\n\r\n<p><strong>Risk Assessment<\/strong><\/p>\r\n\r\n\r\n\r\n<p>At any stage, risks can be more dangerous and cause potential harm. So, risk assessment is used to identify the risk factors proactively.\u00a0\u00a0<\/p>\r\n\r\n\r\n\r\n<p><strong>Service Virtualization\u00a0<\/strong><\/p>\r\n\r\n\r\n\r\n<p>As the name indicates, it is the process of testing in which virtual services are used instead of production services.\u00a0<\/p>\r\n\r\n\r\n\r\n<p><strong>Test Optimization<\/strong><\/p>\r\n\r\n\r\n\r\n<p>It is the process of improving the overall testing procedures.<\/p>\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\" id=\"19\"><span class=\"ez-toc-section\" id=\"19_How_can_you_maintain_the_entire_architecture_using_continuous_monitoring\"><\/span>19. How can you maintain the entire architecture using continuous monitoring?\u00a0<span class=\"ez-toc-section-end\"><\/span><\/h4>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-5817\" src=\"https:\/\/i0.wp.com\/www.blog.temok.com\/wp-content\/uploads\/2020\/07\/devops7.jpg?resize=750%2C500&#038;ssl=1\" alt=\"How can you maintain the entire architecture using continuous monitoring\" width=\"750\" height=\"500\" srcset=\"https:\/\/i0.wp.com\/blog.temok.com\/wp-content\/uploads\/2020\/07\/devops7.jpg?w=750&amp;ssl=1 750w, https:\/\/i0.wp.com\/blog.temok.com\/wp-content\/uploads\/2020\/07\/devops7.jpg?resize=300%2C200&amp;ssl=1 300w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/figure>\r\n\r\n\r\n\r\n<p>DevOps interview questions are more important for anyone to get a job in a well-reputed organization but they should appear in the interview with proper preparation. Continuous monitoring is the process of detecting, identifying, and reporting threats in the entire system.\u00a0<\/p>\r\n\r\n\r\n\r\n<ul class=\"wp-block-list\">\r\n<li>Continuous monitoring ensures that all applications, resources, and services are working properly.<\/li>\r\n<li>It monitors the status of the server and determines whether all applications are running correctly or not. Moreover, it also enables transaction inspection, control monitoring, and continuous audit.\u00a0<\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\" id=\"20\"><span class=\"ez-toc-section\" id=\"20_What_are_the_core_operations_of_DevOps_according_to_development_and_infrastructure\"><\/span>20. What are the core operations of DevOps according to development and infrastructure?<span class=\"ez-toc-section-end\"><\/span><\/h4>\r\n\r\n\r\n\r\n<p>DevOps coding interview questions are not as easy as many newbie engineers think. You can only pass your interview if you have proper and detailed information because every organization has many applicants for a single vacancy. According to development and infrastructure, the following are the core operations:\u00a0<\/p>\r\n\r\n\r\n\r\n<p><strong>Application Development<\/strong><\/p>\r\n\r\n\r\n\r\n<p>Developing the products (software applications) to meet customer requirements and offering outstanding quality.\u00a0<\/p>\r\n\r\n\r\n\r\n<p><strong>Code Coverage<\/strong><\/p>\r\n\r\n\r\n\r\n<p>When the automated tests run, it is the measurement of the total number of lines executed.\u00a0<\/p>\r\n\r\n\r\n\r\n<p><strong>Code Developing<\/strong><\/p>\r\n\r\n\r\n\r\n<p>Writing and preparing the code required for application development.\u00a0<\/p>\r\n\r\n\r\n\r\n<p><strong>Configuration<\/strong><\/p>\r\n\r\n\r\n\r\n<p>It will allow the application or product to be used in the best way.\u00a0<\/p>\r\n\r\n\r\n\r\n<p><strong>Deployment\u00a0<\/strong><\/p>\r\n\r\n\r\n\r\n<p>Installation of software for real-time use.<\/p>\r\n\r\n\r\n\r\n<p><strong>Orchestration<\/strong><\/p>\r\n\r\n\r\n\r\n<p>It is the name of arranging several automated tasks.<\/p>\r\n\r\n\r\n\r\n<p><strong>Packaging<\/strong><\/p>\r\n\r\n\r\n\r\n<p>In this operation, individual files and resources are packed together when the release is ready for deployment.\u00a0<\/p>\r\n\r\n\r\n\r\n<p><strong>Provisioning<\/strong><\/p>\r\n\r\n\r\n\r\n<p>It provides the foundation for flexible infrastructure with dynamic resource allocation and ensures the changes arrive just in time with the code that requires it.\u00a0<\/p>\r\n\r\n\r\n\r\n<p><strong>Unit testing<\/strong><\/p>\r\n\r\n\r\n\r\n<p>It is a software development and testing approach used to test the smallest parts of any software application.<\/p>\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\" id=\"21\"><span class=\"ez-toc-section\" id=\"21_Can_you_define_the_role_of_AWS_in_DevOps\"><\/span>21. Can you define the role of AWS in DevOps?<span class=\"ez-toc-section-end\"><\/span><\/h4>\r\n\r\n\r\n\r\n<p><strong>Flexible services<\/strong><\/p>\r\n\r\n\r\n\r\n<p>Nowadays cloud-based services are more suitable for the changing needs of and growing business demands. Using managed AWS Cloud, there is no need to worry about any features to scale up or scale down your deployment.\u00a0<\/p>\r\n\r\n\r\n\r\n<p><strong>Scalability\u00a0<\/strong><\/p>\r\n\r\n\r\n\r\n<p>If you are using other traditional planning methods then it is quite possible to purchase extra servers, storage, and other applications. So, cloud platforms allow dynamic scaling that is perfect for unpredictable business growth.\u00a0<\/p>\r\n\r\n\r\n\r\n<p><strong>Automation<\/strong><\/p>\r\n\r\n\r\n\r\n<p>AWS in the DevOps lets you automate tasks and processes, giving you more time to innovate<\/p>\r\n\r\n\r\n\r\n<p><strong>Data Security\u00a0<\/strong><\/p>\r\n\r\n\r\n\r\n<p>Everyone should understand what is a data breach, its common causes, and <a class=\"aioseop-link\" href=\"https:\/\/www.blog.temok.com\/what-is-data-breach\/\" target=\"_blank\" rel=\"noopener\">prevention methods<\/a>. Physical devices including hard drives, USBs, and laptops can be stolen or shattered. When AWS is used then data remains safe and secure. Moreover, with the help of AWS Identity and Access Management (IAM), you can set user permissions and policies.<\/p>\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\" id=\"22\"><span class=\"ez-toc-section\" id=\"22_How_is_%E2%80%9CInfrastructure_as_Code%E2%80%9D_implemented_using_AWS\"><\/span>22. How is \u201cInfrastructure as Code\u201d implemented using AWS?<span class=\"ez-toc-section-end\"><\/span><\/h4>\r\n\r\n\r\n\r\n<p>IaC allows the programmers to write, test, and maintain the code in a descriptive format like JSON or YAML and speed up the development and deployment of infrastructure changes.\u00a0<\/p>\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\" id=\"23\"><span class=\"ez-toc-section\" id=\"23_What_do_you_know_about_DevOps\"><\/span>23. What do you know about DevOps?<span class=\"ez-toc-section-end\"><\/span><\/h4>\r\n\r\n\r\n\r\n<p>DevOps is a set of practices that combines (Dev) software development and (Ops) IT operations to provide continuous delivery and a higher level of quality. Both operation engineers and the development team are working together from the initial stages to deployment.\u00a0<\/p>\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\" id=\"24\"><span class=\"ez-toc-section\" id=\"24_What_is_the_basic_rule_or_idea_of_DevOps\"><\/span>24. What is the basic rule or idea of DevOps?<span class=\"ez-toc-section-end\"><\/span><\/h4>\r\n\r\n\r\n\r\n<p>It is a cultural shift where both operation and collaboration teams work together in the complete service life cycle.\u00a0<\/p>\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\" id=\"25\"><span class=\"ez-toc-section\" id=\"25_Is_DevOps_related_to_any_other_methodology\"><\/span>25. Is DevOps related to any other methodology?<span class=\"ez-toc-section-end\"><\/span><\/h4>\r\n\r\n\r\n\r\n<p>Yes, it is related to Agile methodology.\u00a0<\/p>\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\" id=\"26\"><span class=\"ez-toc-section\" id=\"26_Can_you_tell_me_about_the_priorities_in_DevOps\"><\/span>26. Can you tell me about the priorities in DevOps?<span class=\"ez-toc-section-end\"><\/span><\/h4>\r\n\r\n\r\n\r\n<p>DevOps has resource management, communication, and teamwork priorities.\u00a0<\/p>\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\" id=\"27\"><span class=\"ez-toc-section\" id=\"27_What_are_the_key_benefits_of_DevOps\"><\/span>27. What are the key benefits of DevOps?<span class=\"ez-toc-section-end\"><\/span><\/h4>\r\n\r\n\r\n\r\n<p>DevOps has many benefits including stability, innovation, speed, and functionality.\u00a0<\/p>\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\" id=\"28\"><span class=\"ez-toc-section\" id=\"28_What_is_CI_continuous_integration\"><\/span>28. What is (CI) continuous integration?<span class=\"ez-toc-section-end\"><\/span><\/h4>\r\n\r\n\r\n\r\n<p>Continuous integration is a development practice used to build, deploy, test, and release software applications. In simple words, CI is a method of automating the integration of code changes into a single project where many contributors save their code in a single place many times a day.\u00a0<\/p>\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\" id=\"29\"><span class=\"ez-toc-section\" id=\"29_Can_You_Explain_the_Difference_Between_continuous_testing_and_automation_testing\"><\/span>29. Can You Explain the Difference Between continuous testing and automation testing?<span class=\"ez-toc-section-end\"><\/span><\/h4>\r\n\r\n\r\n\r\n<p>Automation testing is a process where testing is a separate tool and helps the programmers create test scripts that can be executed again and again automatically. In contrast, Continuous Integration is also an automated test but it is the part of software delivery process.\u00a0<\/p>\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\" id=\"30\"><span class=\"ez-toc-section\" id=\"30_Do_you_know_about_the_key_differences_between_continuous_delivery_and_continuous_deployment\"><\/span>30. Do you know about the key differences between continuous delivery and continuous deployment?<span class=\"ez-toc-section-end\"><\/span><\/h4>\r\n\r\n\r\n\r\n<p><style>\r\ntable, th, td {\r\n  border: 1px solid black;\r\n  border-collapse: collapse;\r\n}\r\nth, td {\r\n  padding: 15px;\r\n}\r\n<\/style><\/p>\r\n<figure class=\"wp-block-table\">\r\n<table class=\"has-subtle-pale-green-background-color has-background\">\r\n<tbody>\r\n<tr>\r\n<td><strong>Continuous Delivery<\/strong><\/td>\r\n<td><strong>Continuous Deployment<\/strong><\/td>\r\n<\/tr>\r\n<tr>\r\n<td>Used to safely deploy the code on the production environment\u00a0<\/td>\r\n<td>Every change passed by the automated tests will be deployed to production automatically\u00a0<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>Business services and applications are functioning as expected<\/td>\r\n<td>Makes software development and the release process faster\u00a0<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>CD Delivers change to a production-like environment with the help of automated testing\u00a0<\/td>\r\n<td>No explicit approvals from developers and requires a developed culture of monitoring<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<\/figure>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"750\" height=\"500\" class=\"wp-image-5816 aligncenter\" src=\"https:\/\/i0.wp.com\/www.blog.temok.com\/wp-content\/uploads\/2020\/07\/devops6.jpg?resize=750%2C500&#038;ssl=1\" alt=\"differences between continuous delivery and continuous deployment\" srcset=\"https:\/\/i0.wp.com\/blog.temok.com\/wp-content\/uploads\/2020\/07\/devops6.jpg?w=750&amp;ssl=1 750w, https:\/\/i0.wp.com\/blog.temok.com\/wp-content\/uploads\/2020\/07\/devops6.jpg?resize=300%2C200&amp;ssl=1 300w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/figure>\r\n\r\n\r\n\r\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Git_%E2%80%93_DevOps_Interview_Questions_related_to_Source_Code_Management\"><\/span><strong>Git &#8211; <\/strong><strong>DevOps Interview Questions related to Source Code Management<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\" id=\"31\"><span class=\"ez-toc-section\" id=\"31_What_are_the_advantages_of_Git\"><\/span>31. What are the advantages of Git?<span class=\"ez-toc-section-end\"><\/span><\/h4>\r\n\r\n\r\n\r\n<p>Git has the following benefits:\u00a0<\/p>\r\n\r\n\r\n\r\n<ul class=\"wp-block-list\">\r\n<li>Helps in data redundancy and replication<\/li>\r\n<li>Highly available and offers higher network performance\u00a0<\/li>\r\n<li>Used for a variety of projects<\/li>\r\n<li>Only one Git directory per repository<\/li>\r\n<li>Supports collaboration and disk utilization<\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\" id=\"32\"><span class=\"ez-toc-section\" id=\"32_Can_You_handle_merge_conflict_in_Git\"><\/span>32. Can You handle merge conflict in Git?<span class=\"ez-toc-section-end\"><\/span><\/h4>\r\n\r\n\r\n\r\n<p>Yes, I can handle merge conflict in Git with the help of the following steps:<\/p>\r\n\r\n\r\n\r\n<ul class=\"wp-block-list\">\r\n<li>Checking everything using Git status<\/li>\r\n<li>Cleanup the conflicts by applying the merge tool<\/li>\r\n<li>Performing commit and merging with the current branch along with the master<\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\" id=\"33\"><span class=\"ez-toc-section\" id=\"33_Do_You_Know_About_Forking_Workflow\"><\/span>33. Do You Know About Forking Workflow?<span class=\"ez-toc-section-end\"><\/span><\/h4>\r\n\r\n\r\n\r\n<p>Forking workflow is different from other workflows because it gives every developer their server-side repositories.\u00a0\u00a0<\/p>\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\" id=\"34\"><span class=\"ez-toc-section\" id=\"34_Which_one_is_better_Forking_Workflow_or_Git_Workflow\"><\/span>34. Which one is better Forking Workflow or Git Workflow?<span class=\"ez-toc-section-end\"><\/span><\/h4>\r\n\r\n\r\n\r\n<p>Forking workflow is better than Git workflow because the contribution of different developers is easily integrated without needing everybody to push to a central repository for cleaning project history. They only push their server-side repositories then the project container will push to the official repository.\u00a0<\/p>\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\" id=\"35\"><span class=\"ez-toc-section\" id=\"35_Can_you_Define_Git_rebase\"><\/span>35. Can you Define Git rebase?<span class=\"ez-toc-section-end\"><\/span><\/h4>\r\n\r\n\r\n\r\n<p>It is a command used to integrate the changes from one branch to another.\u00a0<\/p>\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\" id=\"36\"><span class=\"ez-toc-section\" id=\"36_Can_You_Define_Git_stash\"><\/span>36. Can You Define Git stash?<span class=\"ez-toc-section-end\"><\/span><\/h4>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-5825\" src=\"https:\/\/i0.wp.com\/www.blog.temok.com\/wp-content\/uploads\/2020\/07\/devops14-2.jpg?resize=750%2C500&#038;ssl=1\" alt=\"Can You Define Git stash\" width=\"750\" height=\"500\" srcset=\"https:\/\/i0.wp.com\/blog.temok.com\/wp-content\/uploads\/2020\/07\/devops14-2.jpg?w=750&amp;ssl=1 750w, https:\/\/i0.wp.com\/blog.temok.com\/wp-content\/uploads\/2020\/07\/devops14-2.jpg?resize=300%2C200&amp;ssl=1 300w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/figure>\r\n\r\n\r\n\r\n<p>Consider a scenario, where a programmer or developer is going to work on another branch but his current work is also uncompleted and he is not willing to commit the changes. The solution is Git Stash because it takes your modified files and saves them on a stack so that you can re-apply at any time.\u00a0<\/p>\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\" id=\"37\"><span class=\"ez-toc-section\" id=\"37_What_is_branching_in_Git\"><\/span>37. What is branching in Git?<span class=\"ez-toc-section-end\"><\/span><\/h4>\r\n\r\n\r\n\r\n<p>When you want to add a new feature into an existing software application then you need to create a new branch and add the new features on that branch. Consider the following important things:\u00a0<\/p>\r\n\r\n\r\n\r\n<ul class=\"wp-block-list\">\r\n<li>By default, the programmer will work on the master branch\u00a0<\/li>\r\n<li>Circles on the branch representing several commits made on the branch\u00a0<\/li>\r\n<li>Once all changes are done, you can commit to merge your code in the master branch\u00a0<\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-5796\" src=\"https:\/\/i0.wp.com\/www.blog.temok.com\/wp-content\/uploads\/2020\/07\/devops2.jpg?resize=750%2C500&#038;ssl=1\" alt=\"What is branching in Git\" width=\"750\" height=\"500\" srcset=\"https:\/\/i0.wp.com\/blog.temok.com\/wp-content\/uploads\/2020\/07\/devops2.jpg?w=750&amp;ssl=1 750w, https:\/\/i0.wp.com\/blog.temok.com\/wp-content\/uploads\/2020\/07\/devops2.jpg?resize=300%2C200&amp;ssl=1 300w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/figure>\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\" id=\"38\"><span class=\"ez-toc-section\" id=\"38_How_is_Git_rebase_different_from_Git_merge\"><\/span>38. How is Git rebase different from Git merge?<span class=\"ez-toc-section-end\"><\/span><\/h4>\r\n\r\n\r\n\r\n<p>If you are working on a dedicated branch and other team members update the master branch with changes (or new commits). You have the two options either use the Git merge or Git rebase.\u00a0<\/p>\r\n\r\n\r\n\r\n<p><strong>Git Rebase:<\/strong><\/p>\r\n\r\n\r\n\r\n<p>It includes all the new commits in the master branch and rewrites project history as you can view in the picture given below:\u00a0\u00a0<\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-5798\" src=\"https:\/\/i0.wp.com\/www.blog.temok.com\/wp-content\/uploads\/2020\/07\/devops21.jpg?resize=750%2C500&#038;ssl=1\" alt=\"Git Rebase\" width=\"750\" height=\"500\" srcset=\"https:\/\/i0.wp.com\/blog.temok.com\/wp-content\/uploads\/2020\/07\/devops21.jpg?w=750&amp;ssl=1 750w, https:\/\/i0.wp.com\/blog.temok.com\/wp-content\/uploads\/2020\/07\/devops21.jpg?resize=300%2C200&amp;ssl=1 300w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/figure>\r\n\r\n\r\n\r\n<p><strong>Git Merge:<\/strong><\/p>\r\n\r\n\r\n\r\n<p>Whenever the programmers want to add new commits to a feature or main branch, they use git merge. It will create an extra merge commit every time you need to include changes but it pollutes your main branch history.\u00a0<\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-5797\" src=\"https:\/\/i0.wp.com\/www.blog.temok.com\/wp-content\/uploads\/2020\/07\/devops18.jpg?resize=750%2C500&#038;ssl=1\" alt=\"Git Merge\" width=\"750\" height=\"500\" srcset=\"https:\/\/i0.wp.com\/blog.temok.com\/wp-content\/uploads\/2020\/07\/devops18.jpg?w=750&amp;ssl=1 750w, https:\/\/i0.wp.com\/blog.temok.com\/wp-content\/uploads\/2020\/07\/devops18.jpg?resize=300%2C200&amp;ssl=1 300w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/figure>\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\" id=\"39\"><span class=\"ez-toc-section\" id=\"39_What_are_the_advantages_of_using_VCS\"><\/span>39. What are the advantages of using VCS?\u00a0<span class=\"ez-toc-section-end\"><\/span><\/h4>\r\n\r\n\r\n\r\n<p>The following are the key benefits of a Version Control System:<\/p>\r\n\r\n\r\n\r\n<ul class=\"wp-block-list\">\r\n<li>All developers\/programmers can access the file from anywhere anytime and merge the changes in a common version.\u00a0<\/li>\r\n<li>It facilitates multiple users to work in a collaborative environment that makes the sharing of code very easy between multiple computers.\u00a0<\/li>\r\n<li>It is more beneficial for the documents that need revisions and redrafting again and again.\u00a0<\/li>\r\n<li>It saves the complete history and old versions of any project\/document, so anyone can view the previous complete projects.\u00a0<\/li>\r\n<li>In case of any disaster, all team members are freely working from anywhere.\u00a0<\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\" id=\"40\"><span class=\"ez-toc-section\" id=\"40_How_can_we_revert_a_commit_in_Git_that_has_been_pushed_and_made_public\"><\/span>40. How can we revert a commit in Git that has been pushed and made public?<span class=\"ez-toc-section-end\"><\/span><\/h4>\r\n\r\n\r\n\r\n<p>There are two ways to perform this task:<\/p>\r\n\r\n\r\n\r\n<ul class=\"wp-block-list\">\r\n<li>Create a new commit to undo all changes made by any commit that has been pushed and run the following command:\u00a0\r\n<ul>\r\n<li>git revert\u00a0<\/li>\r\n<\/ul>\r\n<\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n<ul class=\"wp-block-list\">\r\n<li>Try to fix the bad file in a new commit or remove these files and push them to the remote repository. Once all necessary changes are made, you can commit the repository with the following command:\u00a0\r\n<ul>\r\n<li>git commit -m \u201ccommit message\u201d<\/li>\r\n<\/ul>\r\n<\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n<ul class=\"wp-block-list\">\r\n<li>Create a new commit that will be used to undo all changes made in the bad commit. Use the following command:\r\n<ul>\r\n<li>git revert &lt;name of bad commit&gt;<\/li>\r\n<\/ul>\r\n<ul>\r\n<li>For example, git revert 34df3454f<\/li>\r\n<\/ul>\r\n<\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\" id=\"41\"><span class=\"ez-toc-section\" id=\"41_What_is_the_difference_between_a_centralized_and_distributed_version_control_system_VCS\"><\/span>41. What is the difference between a centralized and distributed version control system (VCS)?<span class=\"ez-toc-section-end\"><\/span><\/h4>\r\n\r\n\r\n\r\n<p><strong>Centralized VCS<\/strong><\/p>\r\n\r\n\r\n\r\n<ul class=\"wp-block-list\">\r\n<li>A central server is used to store all file versions<\/li>\r\n<li>No programmer has a copy of files on his local machine\u00a0<\/li>\r\n<li>It is a single point of failure if a server crashes then all data will be lost<\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-5818\" src=\"https:\/\/i0.wp.com\/www.blog.temok.com\/wp-content\/uploads\/2020\/07\/devops3.jpg?resize=750%2C500&#038;ssl=1\" alt=\"Centralized VCS\" width=\"750\" height=\"500\" srcset=\"https:\/\/i0.wp.com\/blog.temok.com\/wp-content\/uploads\/2020\/07\/devops3.jpg?w=750&amp;ssl=1 750w, https:\/\/i0.wp.com\/blog.temok.com\/wp-content\/uploads\/2020\/07\/devops3.jpg?resize=300%2C200&amp;ssl=1 300w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/figure>\r\n\r\n\r\n\r\n<p><strong>Distributed VCS<\/strong><\/p>\r\n\r\n\r\n\r\n<ul class=\"wp-block-list\">\r\n<li>Every programmer\/developer has a copy of all project files on his computer\u00a0<\/li>\r\n<li>Team members can work offline and there is no single point of failure<\/li>\r\n<li>If the server crashes, there is no need to worry about it.\u00a0<\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\" id=\"42\"><span class=\"ez-toc-section\" id=\"42_Do_You_Know_the_git_command_for_downloading_any_repository_from_GitHub_to_your_computer\"><\/span>42. Do You Know the git command for downloading any repository from GitHub to your computer?<span class=\"ez-toc-section-end\"><\/span><\/h4>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-5815\" src=\"https:\/\/i0.wp.com\/www.blog.temok.com\/wp-content\/uploads\/2020\/07\/devops13.jpg?resize=750%2C500&#038;ssl=1\" alt=\"GitHub\" width=\"750\" height=\"500\" srcset=\"https:\/\/i0.wp.com\/blog.temok.com\/wp-content\/uploads\/2020\/07\/devops13.jpg?w=750&amp;ssl=1 750w, https:\/\/i0.wp.com\/blog.temok.com\/wp-content\/uploads\/2020\/07\/devops13.jpg?resize=300%2C200&amp;ssl=1 300w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/figure>\r\n\r\n\r\n\r\n<p>Yes, we can use \u201cgit clone\u201d to download any repository from GitHub to your local machine.\u00a0<\/p>\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\" id=\"43\"><span class=\"ez-toc-section\" id=\"43_How_can_you_push_a_file_from_your_computer_to_the_GitHub_repository\"><\/span>43. How can you push a file from your computer to the GitHub repository?<span class=\"ez-toc-section-end\"><\/span><\/h4>\r\n\r\n\r\n\r\n<p>First of all, I will connect my local repository to the remote repository:<\/p>\r\n\r\n\r\n\r\n<p>git remote add origin [copied web address]\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/p>\r\n\r\n\r\n\r\n<p>\/\/ Ex: git remote add origin https:\/\/github.com\/anyexample-address\/ver1.git<\/p>\r\n\r\n\r\n\r\n<p>Secondly, push your file to the remote repository with the help of the following command:<\/p>\r\n\r\n\r\n\r\n<p>git push origin master<\/p>\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\" id=\"44\"><span class=\"ez-toc-section\" id=\"44_Which_CLI_command_is_used_to_rename_the_files\"><\/span>44. Which CLI command is used to rename the files?<span class=\"ez-toc-section-end\"><\/span><\/h4>\r\n\r\n\r\n\r\n<p>git mv command is used for this purpose.\u00a0<\/p>\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\" id=\"45\"><span class=\"ez-toc-section\" id=\"45_Do_you_know_the_difference_between_Git_fetch_and_Git_pull\"><\/span>45. Do you know the difference between Git fetch and Git pull?<span class=\"ez-toc-section-end\"><\/span><\/h4>\r\n\r\n\r\n\r\n<p>Yes, I can differentiate them. The git fetch command is used to download contents from a remote repository and used in conjunction with the git branch, git reset, and get remote to update a local repository to the state of a remote. Gil pull is commonly used for pulling new commits from any branch of the central repository to update the target branch. I am repeating my words don&#8217;t go for the interview without preparing DevOps questions if you are interested in getting a job in a well-reputed organization.<\/p>\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\" id=\"46\"><span class=\"ez-toc-section\" id=\"46_Can_you_enlist_the_use_of_a_Version_Control_System_VCS\"><\/span>46. Can you enlist the use of a Version Control System (VCS)?\u00a0<span class=\"ez-toc-section-end\"><\/span><\/h4>\r\n\r\n\r\n\r\n<p>The following are the Important uses of a <a class=\"aioseop-link\" href=\"https:\/\/www.blog.temok.com\/version-control-systems\/\" target=\"_blank\" rel=\"noopener\">Version Control System<\/a>:<\/p>\r\n\r\n\r\n\r\n<ul class=\"wp-block-list\">\r\n<li>You can check the history and last modifications that caused a problem<\/li>\r\n<li>Developers can compare the changes made over time<\/li>\r\n<li>It is easy to identify who introduced a new issue\u00a0<\/li>\r\n<li>It is used to revert the files or complete project to earlier states<\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\" id=\"47\"><span class=\"ez-toc-section\" id=\"47_Is_it_possible_to_secure_Jenkins\"><\/span>47. Is it possible to secure Jenkins?<span class=\"ez-toc-section-end\"><\/span><\/h4>\r\n\r\n\r\n\r\n<p>Of course, we can secure the Jenkins in the following ways:<\/p>\r\n\r\n\r\n\r\n<ul class=\"wp-block-list\">\r\n<li>Make sure the global security is ON<\/li>\r\n<li>Check the Jenkins integration\u00a0<\/li>\r\n<li>Ensure that the project matrix is enabled<\/li>\r\n<li>Automate the process of setting up rights and privileges<\/li>\r\n<li>By limiting physical access to Jenkins data<\/li>\r\n<li>Apply security audits regularly<\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\" id=\"48\"><span class=\"ez-toc-section\" id=\"48_Can_you_define_the_Jenkins_Pipeline\"><\/span>48. Can you define the Jenkins Pipeline?<span class=\"ez-toc-section-end\"><\/span><\/h4>\r\n\r\n\r\n\r\n<p>It is a suite of plugins that supports the implementation and integration of continuous delivery pipelines into Jenkins.\u00a0\u00a0<\/p>\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\" id=\"49\"><span class=\"ez-toc-section\" id=\"49_Explain_the_key_aspects_of_the_Jenkins_pipeline\"><\/span>49. Explain the key aspects of the Jenkins pipeline.<span class=\"ez-toc-section-end\"><\/span><\/h4>\r\n\r\n\r\n\r\n<ul class=\"wp-block-list\">\r\n<li><strong>Pipeline:<\/strong> User-defined model of a continuous delivery pipeline that defines the entire build process, and also includes the building, testing, and delivering an application<\/li>\r\n<li><strong>Node:<\/strong> It is a machine that is capable of executing a pipeline<\/li>\r\n<li><strong>Step:<\/strong> It is a particular task that tells Jenkins what to do at any specific time<\/li>\r\n<li><strong>Stage:<\/strong> Distinct subset of tasks performed through the entire pipeline (build, test, deploy stages)<\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\" id=\"50\"><span class=\"ez-toc-section\" id=\"50_Do_you_know_about_the_Jenkinsfile\"><\/span>50. Do you know about the Jenkinsfile?<span class=\"ez-toc-section-end\"><\/span><\/h4>\r\n\r\n\r\n\r\n<p>Yes, it is a text file that contains the definition of a Jenkins pipeline and is checked into the source control repository. Jenkinsfile allows the review, and iteration and also permits an audit trail for the pipeline. Responsible persons can view, and edit the single source of truth for the pipeline.\u00a0<\/p>\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\" id=\"51\"><span class=\"ez-toc-section\" id=\"51_Can_you_tell_me_the_file_name_that_is_used_to_define_dependency_in_Maven\"><\/span>51. Can you tell me the file name that is used to define dependency in Maven?<span class=\"ez-toc-section-end\"><\/span><\/h4>\r\n\r\n\r\n\r\n<p>Pom.xml<\/p>\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\" id=\"52\"><span class=\"ez-toc-section\" id=\"52_Which_command_is_used_to_run_the_Jenkin\"><\/span>52. Which command is used to run the Jenkin?\u00a0<span class=\"ez-toc-section-end\"><\/span><\/h4>\r\n\r\n\r\n\r\n<p>java \u2013jar Jenkins.war<\/p>\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\" id=\"53\"><span class=\"ez-toc-section\" id=\"53_Is_it_possible_to_move_or_copy_Jenkins_from_one_server_to_another\"><\/span>53. Is it possible to move or copy Jenkins from one server to another?<span class=\"ez-toc-section-end\"><\/span><\/h4>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-5804\" src=\"https:\/\/i0.wp.com\/www.blog.temok.com\/wp-content\/uploads\/2020\/07\/devops17.jpg?resize=750%2C500&#038;ssl=1\" alt=\"Is it possible to move or copy Jenkins from one server to another\" width=\"750\" height=\"500\" srcset=\"https:\/\/i0.wp.com\/blog.temok.com\/wp-content\/uploads\/2020\/07\/devops17.jpg?w=750&amp;ssl=1 750w, https:\/\/i0.wp.com\/blog.temok.com\/wp-content\/uploads\/2020\/07\/devops17.jpg?resize=300%2C200&amp;ssl=1 300w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/figure>\r\n\r\n\r\n\r\n<p>Yes, it is possible to copy the Jenkins jobs directory from the old server to a new server. By performing this action, the installation can be moved from one installation to another.<\/p>\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\" id=\"54\"><span class=\"ez-toc-section\" id=\"54_How_Can_we_make_a_new_copy_of_an_existing_Jenkins_job\"><\/span>54. How Can we make a new copy of an existing Jenkins job?<span class=\"ez-toc-section-end\"><\/span><\/h4>\r\n\r\n\r\n\r\n<p>Simply copy the existing Jenkins job by creating a clone of the directory with a different name.\u00a0<\/p>\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\" id=\"55\"><span class=\"ez-toc-section\" id=\"55_Can_You_Explain_the_master-slave_architecture_of_Jenkins\"><\/span>55. Can You Explain the master-slave architecture of Jenkins?<span class=\"ez-toc-section-end\"><\/span><\/h4>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-5799\" src=\"https:\/\/i0.wp.com\/www.blog.temok.com\/wp-content\/uploads\/2020\/07\/devops15.jpg?resize=750%2C500&#038;ssl=1\" alt=\"Can You Explain the master-slave architecture of Jenkins\" width=\"750\" height=\"500\" srcset=\"https:\/\/i0.wp.com\/blog.temok.com\/wp-content\/uploads\/2020\/07\/devops15.jpg?w=750&amp;ssl=1 750w, https:\/\/i0.wp.com\/blog.temok.com\/wp-content\/uploads\/2020\/07\/devops15.jpg?resize=300%2C200&amp;ssl=1 300w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/figure>\r\n\r\n\r\n\r\n<p>Whenever a code commit is made, the Jenkins master pulls the code from the remote GitHub repository and distributes the workload to all the Jenkins slaves. These slaves carry out, build, test, and produce test reports at the request of Jenkins&#8217;s master. DevOps engineer interview questions and answers are beneficial for beginners as well as experienced professionals.\u00a0<\/p>\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\" id=\"56\"><span class=\"ez-toc-section\" id=\"56_Explain_the_two_types_of_pipeline_and_their_syntax\"><\/span>56. Explain the two types of pipeline and their syntax.<span class=\"ez-toc-section-end\"><\/span><\/h4>\r\n\r\n\r\n\r\n<p>There are two types of pipelines: Scripted and Declarative.\u00a0<\/p>\r\n\r\n\r\n\r\n<p><strong>Scripted Pipeline<\/strong> is based on a groovy script and one or more node blocks perform the core work throughout the entire pipeline.\u00a0<\/p>\r\n\r\n\r\n\r\n<p><strong>Syntax:\u00a0<\/strong><\/p>\r\n\r\n\r\n\r\n<ol class=\"wp-block-list\">\r\n<li>Executes the pipeline on any available agent<\/li>\r\n<li>Defines a build stage<\/li>\r\n<li>Here you can perform steps related to the building stage<\/li>\r\n<li>Defines a test stage<\/li>\r\n<li>At this stage, perform steps related to the test stage<\/li>\r\n<li>Defines a deployment stage<\/li>\r\n<li>Now, perform the steps related to the deployment stage<\/li>\r\n<\/ol>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"750\" height=\"500\" class=\"wp-image-5802 aligncenter\" src=\"https:\/\/i0.wp.com\/www.blog.temok.com\/wp-content\/uploads\/2020\/07\/devops23.jpg?resize=750%2C500&#038;ssl=1\" alt=\"Jenkinsfile Scripted Pipeline\" srcset=\"https:\/\/i0.wp.com\/blog.temok.com\/wp-content\/uploads\/2020\/07\/devops23.jpg?w=750&amp;ssl=1 750w, https:\/\/i0.wp.com\/blog.temok.com\/wp-content\/uploads\/2020\/07\/devops23.jpg?resize=300%2C200&amp;ssl=1 300w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/figure>\r\n\r\n\r\n\r\n<p><strong>Declarative Pipeline<\/strong> provides a simple syntax to define a pipeline and defines the work done throughout the pipeline.\u00a0<\/p>\r\n\r\n\r\n\r\n<p><strong>Syntax:\u00a0<\/strong><\/p>\r\n\r\n\r\n\r\n<ol class=\"wp-block-list\">\r\n<li>Executes the pipeline (or any stages) on any available agent<\/li>\r\n<li>Defines a build stage<\/li>\r\n<li>Declarative pipeline performs steps related to the build stage<\/li>\r\n<li>Defines a test stage<\/li>\r\n<li>At this stage, performs steps related to the test stage<\/li>\r\n<li>Defines a deployment stage<\/li>\r\n<li>Now, perform the steps related to the deployment stage<\/li>\r\n<\/ol>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"750\" height=\"500\" class=\"wp-image-5801 aligncenter\" src=\"https:\/\/i0.wp.com\/www.blog.temok.com\/wp-content\/uploads\/2020\/07\/devops24.jpg?resize=750%2C500&#038;ssl=1\" alt=\"Jenkinsfile Declarative pipeline\" srcset=\"https:\/\/i0.wp.com\/blog.temok.com\/wp-content\/uploads\/2020\/07\/devops24.jpg?w=750&amp;ssl=1 750w, https:\/\/i0.wp.com\/blog.temok.com\/wp-content\/uploads\/2020\/07\/devops24.jpg?resize=300%2C200&amp;ssl=1 300w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/figure>\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\" id=\"57\"><span class=\"ez-toc-section\" id=\"57_How_to_create_a_backup_and_copy_files_in_Jenkins\"><\/span>57. How to create a backup and copy files in Jenkins?\u00a0<span class=\"ez-toc-section-end\"><\/span><\/h4>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"750\" height=\"500\" class=\"wp-image-5824 aligncenter\" src=\"https:\/\/i0.wp.com\/www.blog.temok.com\/wp-content\/uploads\/2020\/07\/devops16-1.jpg?resize=750%2C500&#038;ssl=1\" alt=\"\" srcset=\"https:\/\/i0.wp.com\/blog.temok.com\/wp-content\/uploads\/2020\/07\/devops16-1.jpg?w=750&amp;ssl=1 750w, https:\/\/i0.wp.com\/blog.temok.com\/wp-content\/uploads\/2020\/07\/devops16-1.jpg?resize=300%2C200&amp;ssl=1 300w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/figure>\r\n\r\n\r\n\r\n<p>Take the backup of your JENKINS_HOME directory regularly for creating the backup of the Jenkins setup that contains the build jobs configurations, slave node configurations, and build history. Moreover, you can also copy a job directory to clone.\u00a0<\/p>\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\" id=\"58\"><span class=\"ez-toc-section\" id=\"58_Define_three_security_mechanisms_Jenkins_uses_to_authenticate_users\"><\/span>58. Define three security mechanisms Jenkins uses to authenticate users.<span class=\"ez-toc-section-end\"><\/span><\/h4>\r\n\r\n\r\n\r\n<ul class=\"wp-block-list\">\r\n<li>An internal database is used to store credentials and user data.\u00a0<\/li>\r\n<li>LDAP (Lightweight Directory Access Protocol) is used to authenticate the users.\u00a0<\/li>\r\n<li>Jenkins uses the authentication mechanism used by the application server.<\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\" id=\"59\"><span class=\"ez-toc-section\" id=\"59_Have_you_understood_how_a_custom-built_core_plugin_is_deployed\"><\/span>59. Have you understood how a custom-built core plugin is deployed?<span class=\"ez-toc-section-end\"><\/span><\/h4>\r\n\r\n\r\n\r\n<p>We have included the DevOps interview questions and answers for experienced to deliver you complete and expert-level knowledge so that you can get a valuable job in a well-reputed organization.\u00a0<\/p>\r\n\r\n\r\n\r\n<p>Yes, we can deploy a custom-build core plugin with the following steps:\u00a0<\/p>\r\n\r\n\r\n\r\n<ul class=\"wp-block-list\">\r\n<li>Copy the .hpi file to the \u201c$JENKINS_HOME\/plugins\u201d<\/li>\r\n<li>Now, remove the plugin\u2019s development directory\u00a0<\/li>\r\n<li>Then create an empty file named &lt;plugin&gt;.hpi.pinned<\/li>\r\n<li>Finally, restart the Jenkins, and your custom build core plugin is available for use.\u00a0<\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\" id=\"60\"><span class=\"ez-toc-section\" id=\"60_What_are_the_different_ways_in_which_a_build_can_be_scheduledrun_in_Jenkins\"><\/span>60. What are the different ways in which a build can be scheduled\/run in Jenkins?<span class=\"ez-toc-section-end\"><\/span><\/h4>\r\n\r\n\r\n\r\n<ul class=\"wp-block-list\">\r\n<li>With the help of source code management commits<\/li>\r\n<li>Once the other builds are completed a build can be scheduled or run\u00a0<\/li>\r\n<li>Using manual build requests<\/li>\r\n<li>Scheduled to run at a particular time<\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\" id=\"61\"><span class=\"ez-toc-section\" id=\"61_How_can_you_restart_Jenkins_manually\"><\/span>61. How can you restart Jenkins manually?<span class=\"ez-toc-section-end\"><\/span><\/h4>\r\n\r\n\r\n\r\n<p>There are two ways to restart the Jenkins manually:<\/p>\r\n\r\n\r\n\r\n<p>(Jenkins_url)\/restart\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \/\/ This command will not wait for the builds to complete\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/p>\r\n\r\n\r\n\r\n<p>(Jenkins_url)\/safeRestart\u00a0 \u00a0 \/\/ All running builds will be complete before it restarts\u00a0\u00a0<\/p>\r\n\r\n\r\n\r\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Selenium_%E2%80%93_DevOps_Interview_Questions_for_Continuous_Testing\"><\/span><strong>Selenium &#8211; <\/strong><strong>DevOps Interview Questions for Continuous Testing<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\" id=\"62\"><span class=\"ez-toc-section\" id=\"62_Why_is_Selenium_used\"><\/span>62. Why is Selenium used?<span class=\"ez-toc-section-end\"><\/span><\/h4>\r\n\r\n\r\n\r\n<p>The main purpose of using Selenium in DevOps is continuous testing in functional and regression forms.\u00a0<\/p>\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\" id=\"63\"><span class=\"ez-toc-section\" id=\"63_Why_is_the_Selenium_Grid_used\"><\/span>63. Why is the Selenium Grid used?<span class=\"ez-toc-section-end\"><\/span><\/h4>\r\n\r\n\r\n\r\n<p>It is used to execute the same or different test scripts on different browsers and platforms so that the distributed test execution can be made. Selenium grid is used to save the execution time and provide the options to test under various environments.\u00a0<\/p>\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\" id=\"64\"><span class=\"ez-toc-section\" id=\"64_What_are_the_major_components_of_Selenium\"><\/span>64. What are the major components of Selenium?<span class=\"ez-toc-section-end\"><\/span><\/h4>\r\n\r\n\r\n\r\n<p>Selenium is an open-source tool used for automating various web applications. It has four major components that are described below:\u00a0<\/p>\r\n\r\n\r\n\r\n<p><strong>1. Selenium IDE<\/strong><\/p>\r\n\r\n\r\n\r\n<p>Selenium IDE (Integrated Development Environment) is a framework with easy recording and playback functions. If the application tester has the basic knowledge of HTML, JavaScript, and DOM then it will be easier to utilize Selenium IDE.\u00a0<\/p>\r\n\r\n\r\n\r\n<p><strong>2. Selenium RC<\/strong><\/p>\r\n\r\n\r\n\r\n<p>Selenium RC (Remote Control) is a valuable tool that helps to understand the test scripts and provides support for top programming languages like Ruby, PHP, Java, etc. But keep in mind, that it does not support playback and recording features.\u00a0<\/p>\r\n\r\n\r\n\r\n<p><strong>3. Selenium WebDriver<\/strong><\/p>\r\n\r\n\r\n\r\n<p>It is the extension of Selenium Remote Control, but it also supports several platforms and all the latest browsers. Mainly, the selenium web driver was created to support vital web pages in which dynamic elements are used and changing their positions without reloading the page, and it calls the browser for automation.<\/p>\r\n\r\n\r\n\r\n<p><strong>4. Selenium GRID<\/strong><\/p>\r\n\r\n\r\n\r\n<p>It is a wonderful tool that runs multiple test cases against different machines and web browsers in parallel. It is used with the selenium remote control.<\/p>\r\n\r\n\r\n\r\n<h3 class=\"wp-block-heading\" id=\"65\"><span class=\"ez-toc-section\" id=\"65_Briefly_explain_the_different_exceptions_in_Selenium_WebDriver\"><\/span>65. Briefly explain the different exceptions in Selenium WebDriver.<span class=\"ez-toc-section-end\"><\/span><\/h3>\r\n\r\n\r\n\r\n<p>Exceptions are the events that occur during the runtime of the project\/program and disrupt the normal execution. The following are the main selenium exceptions:\u00a0<\/p>\r\n\r\n\r\n\r\n<ul class=\"wp-block-list\">\r\n<li><strong>TimeoutException<\/strong> &#8211; It is thrown when a command operating does not complete in a specific time.<\/li>\r\n<li><strong>NoSuchElementException<\/strong> &#8211; It is thrown when an element having specific attributes is not found.<\/li>\r\n<li><strong>ElementNotVisibleException<\/strong> &#8211; It is thrown when an element is present in DOM (Document Object Model) but not visible. For example: Hidden Elements are defined in HTML using type=\u201chidden\u201d.<\/li>\r\n<li><strong>SessionNotFoundException<\/strong> \u2013 If you were running tests and you lost connection with your browser instance then <em>SessionNotFoundException<\/em> will be thrown. In this exception either you inadvertently quit the driver instance or the browser crashes.<\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\" id=\"66\"><span class=\"ez-toc-section\" id=\"66_Can_we_test_an_application_on_an_Android_browser_with_the_help_of_Selenium\"><\/span>66. Can we test an application on an Android browser with the help of Selenium?<span class=\"ez-toc-section-end\"><\/span><\/h4>\r\n\r\n\r\n\r\n<p>Yes, we can test both applications native apps and web apps on the Android browser using Selendroid or Appium framework.\u00a0<\/p>\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\" id=\"67\"><span class=\"ez-toc-section\" id=\"67_Do_You_know_about_the_different_test_types_that_Selenium_supports\"><\/span>67. Do You know about the different test types that Selenium supports?<span class=\"ez-toc-section-end\"><\/span><\/h4>\r\n\r\n\r\n\r\n<ul class=\"wp-block-list\">\r\n<li><strong>Functional<\/strong> &#8211; A black-box testing technique in which the test cases are based on the software specification.<\/li>\r\n<li><strong>Regression<\/strong> &#8211; This testing method is used to find new errors or regressions in different functional and non-functional areas of code after the change has been made.<\/li>\r\n<li><strong>Load<\/strong> <strong>Testing<\/strong> \u2013 A testing type used to monitor the response of a device after putting a load on it. Load testing is very helpful to understand the behavior of the system under certain conditions.<\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\" id=\"68\"><span class=\"ez-toc-section\" id=\"68_Can_we_access_the_text_of_a_web_element_if_yes_then_how\"><\/span>68. Can we access the text of a web element if yes then how?<span class=\"ez-toc-section-end\"><\/span><\/h4>\r\n\r\n\r\n\r\n<p>Yes, we can access the text of any particular web page with the help of the Get command which will return a string value. It is used for the verification of messages, labels, and errors displayed on the web page. Here is the syntax:\u00a0<\/p>\r\n\r\n\r\n\r\n<p>String Text=driver.findElement(By.id(\u201ctext\u201d)).getText();<\/p>\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\" id=\"69\"><span class=\"ez-toc-section\" id=\"69_Which_one_is_not_a_WebElement_method\"><\/span>69. Which one is not a WebElement method?<span class=\"ez-toc-section-end\"><\/span><\/h4>\r\n\r\n\r\n\r\n<ul class=\"wp-block-list\">\r\n<li>getText()<\/li>\r\n<li>size()<\/li>\r\n<li>getTagName()<\/li>\r\n<li>sendKeys()<\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n<p>size() is not a WebElement method.\u00a0<\/p>\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\" id=\"70\"><span class=\"ez-toc-section\" id=\"70_What_is_the_purpose_of_findElement_and_findElements\"><\/span>70. What is the purpose of findElement() and findElements()?<span class=\"ez-toc-section-end\"><\/span><\/h4>\r\n\r\n\r\n\r\n<p>findElement() is a method used to match the locator value with the first element in the current webpage.\u00a0<\/p>\r\n\r\n\r\n\r\n<p>WebElement element=driver.findElement(By.xpath(\u201c\/\/div[@id=\u2018example\u2019]\/\/ul\/\/li\u201d));<\/p>\r\n\r\n\r\n\r\n<p>findElements() is a method used to find out all the values matched with the locator values.\u00a0\u00a0<\/p>\r\n\r\n\r\n\r\n<p>WebElement element=driver.findElements(By.xpath(\u201c\/\/div[@id=\u2018example\u2019]\/\/ul\/\/li\u201d));<\/p>\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\" id=\"71\"><span class=\"ez-toc-section\" id=\"71_What_are_driverclose_and_driverquit_in_Selenium_WebDriver\"><\/span>71. What are driver.close() and driver.quit() in Selenium WebDriver?<span class=\"ez-toc-section-end\"><\/span><\/h4>\r\n\r\n\r\n\r\n<p>the driver is the WebDriver object and driver.close() command is used to close the browser window which is currently in focus other windows will not be closed.<\/p>\r\n\r\n\r\n\r\n<p>driver.quit() is used to close all the browser windows and terminate the WebDriver session by calling the driver.dispose method.\u00a0\u00a0<\/p>\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\" id=\"72\"><span class=\"ez-toc-section\" id=\"72_How_can_we_submit_a_form_using_Selenium\"><\/span>72. How can we submit a form using Selenium?<span class=\"ez-toc-section-end\"><\/span><\/h4>\r\n\r\n\r\n\r\n<p>Using selenium, you can submit a form with the following code.\u00a0<\/p>\r\n\r\n\r\n\r\n<p>WebElement el = driver.findElement(By.id(\u201cElementID\u201d));<\/p>\r\n\r\n\r\n\r\n<p>el.submit();<\/p>\r\n\r\n\r\n\r\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Configuration_Management_%E2%80%93_DevOps_Interview_Questions\"><\/span><strong>Configuration Management &#8211; <\/strong><strong>DevOps Interview Questions<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\" id=\"73\"><span class=\"ez-toc-section\" id=\"73_Can_you_explain_why_SSL_certificates_are_used_in_Chef\"><\/span>73. Can you explain why SSL certificates are used in Chef?<span class=\"ez-toc-section-end\"><\/span><\/h4>\r\n\r\n\r\n\r\n<p>We need <a class=\"aioseop-link\" href=\"https:\/\/www.temok.com\/ssl\" target=\"_blank\" rel=\"noopener\">SSL certificates<\/a> to make sure that each node has access to the right data and a secure connection with the Chef server. All nodes connected with this main Chef server have a private and public key. The public key will be stored on the Chef server and whenever the SSL certificate is sent to the server, it will contain the private key of any particular node.\u00a0<\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"750\" height=\"500\" class=\"wp-image-5805 aligncenter\" src=\"https:\/\/i0.wp.com\/www.blog.temok.com\/wp-content\/uploads\/2020\/07\/devops4.jpg?resize=750%2C500&#038;ssl=1\" alt=\"\" srcset=\"https:\/\/i0.wp.com\/blog.temok.com\/wp-content\/uploads\/2020\/07\/devops4.jpg?w=750&amp;ssl=1 750w, https:\/\/i0.wp.com\/blog.temok.com\/wp-content\/uploads\/2020\/07\/devops4.jpg?resize=300%2C200&amp;ssl=1 300w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/figure>\r\n\r\n\r\n\r\n<p>Now the Chef server will compare and verify the public key before giving access to the required data. Simply, with the help of SSL certificates, the server will form an encrypted connection with any node. Nowadays, interview questions for DevOps engineers are compulsory because the job competition is increasing in the market.\u00a0<\/p>\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\" id=\"74\"><span class=\"ez-toc-section\" id=\"74_What_is_Test_Kitchen_in_Chef_and_the_most_commonly_used_commands_for_this_purpose\"><\/span>74. What is Test Kitchen in Chef and the most commonly used commands for this purpose?<span class=\"ez-toc-section-end\"><\/span><\/h4>\r\n\r\n\r\n\r\n<p>Test kitchen is a command-line tool used to spin up an instance and provide the ability to test the cookbook on it before deploying it on production nodes. The following are the most commonly used commands:\u00a0<\/p>\r\n\r\n\r\n\r\n<p>$ kitchen create \/\/create instances<\/p>\r\n\r\n\r\n\r\n<p>$ kitchen converge \/\/combine multiple instances<\/p>\r\n\r\n\r\n\r\n<p>$ kitchen verify \/\/verify the instances<\/p>\r\n\r\n\r\n\r\n<p>$ kitchen destroy \/\/ destroy instances<\/p>\r\n\r\n\r\n\r\n<p>$ kitchen setup \/\/setup instances<\/p>\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\" id=\"75\"><span class=\"ez-toc-section\" id=\"75_You_want_to_disable_or_stop_the_%E2%80%9Chttpd%E2%80%9D_service_which_of_the_following_commands_is_correct\"><\/span>75. You want to disable or stop the \u201chttpd\u201d service, which of the following commands is correct?\u00a0<span class=\"ez-toc-section-end\"><\/span><\/h4>\r\n\r\n\r\n\r\n<ol class=\"wp-block-list\">\r\n<li># systemctl disable httpd.service<\/li>\r\n<li># system disable httpd\u00a0<\/li>\r\n<li># system disable httpd.service<\/li>\r\n<li># systemctl disable httpd.service<\/li>\r\n<\/ol>\r\n\r\n\r\n\r\n<p>The correct answer is A. # systemctl disable httpd.service<\/p>\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\" id=\"76\"><span class=\"ez-toc-section\" id=\"76_Differentiate_both_chef-apply_and_chef-client\"><\/span>76. Differentiate both chef-apply and chef-client?<span class=\"ez-toc-section-end\"><\/span><\/h4>\r\n\r\n\r\n\r\n<p>Chef-apply runs on the client system and applies the recipe stated in the following command:\u00a0<\/p>\r\n\r\n\r\n\r\n<p>$ chef-apply recipe_name.rb<\/p>\r\n\r\n\r\n\r\n<p>Chef-client is also run on the client system and applies all the cookbooks in your server\u2019s run list to the client system having the following command:\u00a0<\/p>\r\n\r\n\r\n\r\n<p>\u00a0$ knife chef-client<\/p>\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\" id=\"77\"><span class=\"ez-toc-section\" id=\"77_Do_you_know_about_the_Puppet_Module\"><\/span>77. Do you know about the Puppet Module?<span class=\"ez-toc-section-end\"><\/span><\/h4>\r\n\r\n\r\n\r\n<p>Yes, it is a collection of manifests and data (including templates, facts, or any other files) that have a particular directory structure.\u00a0<\/p>\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\" id=\"78\"><span class=\"ez-toc-section\" id=\"78_What_is_the_difference_between_Puppet_Module_and_Puppet_Manifest\"><\/span>78. What is the difference between Puppet Module and Puppet Manifest?<span class=\"ez-toc-section-end\"><\/span><\/h4>\r\n\r\n\r\n\r\n<p>Manifests are the file formats that store the puppet configuration and modules are the name of bundling the manifests and other resources into a reusable package. Puppet manifest uses .pp extension and the puppet programs are based on puppet code. Puppet modules organize different puppet manifests and class definitions into a shareable unit.\u00a0\u00a0<\/p>\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\" id=\"79\"><span class=\"ez-toc-section\" id=\"79_What_are_the_major_differences_between_Ansible_and_Puppet\"><\/span>79. What are the major differences between Ansible and Puppet?<span class=\"ez-toc-section-end\"><\/span><\/h4>\r\n\r\n\r\n\r\n<p>DevOps engineer interview questions are specially written to understand all the aspects of the job responsibilities because they also have to manage and control a huge number of <a class=\"aioseop-link\" href=\"https:\/\/www.temok.com\/dedicated-servers-japan\" target=\"_blank\" rel=\"noopener\">hosting servers<\/a> whether they are in <a class=\"aioseop-link\" href=\"https:\/\/www.temok.com\/linux-virtual-private-server-vps-san\" target=\"_blank\" rel=\"noopener\">San Francisco<\/a>\u00a0or <a class=\"aioseop-link\" href=\"https:\/\/www.temok.com\/linux-virtual-private-server-vps-india\" target=\"_blank\" rel=\"noopener\">India<\/a>. Nowadays, there are advanced technologies such as cloud computing and virtualization that are exponentially growing. Ansible and Puppet are used to manage a large number of servers and are also known as remote execution and configuration management tools. You can never ignore the real importance of these tools because they are also used to execute commands on multiple servers simultaneously. The key purpose of these tools is to maintain and configure thousands of servers together. We can differentiate both based on the following aspects:\u00a0<\/p>\r\n\r\n\r\n\r\n<p><strong>Category<\/strong><\/p>\r\n\r\n\r\n\r\n<ul class=\"wp-block-list\">\r\n<li>Ansible<\/li>\r\n<li>Puppet<\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n<p><strong>Scalability<\/strong><\/p>\r\n\r\n\r\n\r\n<ul class=\"wp-block-list\">\r\n<li>Ansible is simple and convenient<\/li>\r\n<li>Puppet is also scalable but lacks as compared to Ansible<\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n<p><strong>Management and Scheduling<\/strong><\/p>\r\n\r\n\r\n\r\n<ul class=\"wp-block-list\">\r\n<li>In the case of Ansible, the configuration is pushed from the server to the nodes for better code employment.\u00a0<\/li>\r\n<li>In Puppet, the configuration gets pulled from any selected server.<\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n<p><strong>Language<\/strong><\/p>\r\n\r\n\r\n\r\n<ul class=\"wp-block-list\">\r\n<li>Ansible is written in Python and uses YAML syntax to write configurations.<\/li>\r\n<li>Puppet is developed using Ruby and uses declarative language for configurations.<\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n<p><strong>Availability<\/strong>\u00a0<\/p>\r\n\r\n\r\n\r\n<ul class=\"wp-block-list\">\r\n<li>In case of any nodal failure, there is no need to worry about availability because the subordinate node is present.<\/li>\r\n<li>Multiple master servers are present so that if the current master fails, it does not stop the ongoing tasks.\u00a0<\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n<p><strong>Repository<\/strong><\/p>\r\n\r\n\r\n\r\n<ul class=\"wp-block-list\">\r\n<li>Ansible uses Ansible Galaxy to store all the information.<\/li>\r\n<li>Puppet uses the Puppet forge, which has 6000 modules.<\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\" id=\"80\"><span class=\"ez-toc-section\" id=\"80_Can_you_explain_the_Puppet_in_DevOps\"><\/span>80. Can you explain the Puppet in DevOps?<span class=\"ez-toc-section-end\"><\/span><\/h4>\r\n\r\n\r\n\r\n<p>Puppet is a configuration management tool that uses the master-slave architecture and automates the administration tasks. System administrators need to perform different tasks including installation and configuration of servers. These repetitive tasks become hectic when the infrastructure is large. Puppet makes it easier to configure, deploy, and manage servers. The puppet configuration management tool defines the distinct configurations for each host and scales up or down. Moreover, it also provides the option of centralized change will be propagated to all configured machines.\u00a0<\/p>\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\" id=\"81\"><span class=\"ez-toc-section\" id=\"81_Do_you_know_about_any_tool_to_make_Puppet_more_powerful\"><\/span>81. Do you know about any tool to make Puppet more powerful?<span class=\"ez-toc-section-end\"><\/span><\/h4>\r\n\r\n\r\n\r\n<p>The configuration changes are tracked with the help of <a href=\"https:\/\/www.atlassian.com\/software\/jira\" target=\"_blank\" rel=\"noopener\">Jira<\/a> and other maintenance is done using internal procedures. Version control operations are done with the support of Git and Puppet\u2019s code manager app.\u00a0<\/p>\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\" id=\"82\"><span class=\"ez-toc-section\" id=\"82_What_are_the_resources_used_in_Puppet\"><\/span>82. <strong>What are the <\/strong>r<strong>esources used in Puppet?<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h4>\r\n\r\n\r\n\r\n<p>Resources are a vital part of any configuration management tool because they describe a specific resource that Puppet can manage on a system such as networking, users, packaging, and so on. There is a resource declaration in a catalog that describes the actions to be taken on any resource. Once the catalog is executed, the node is set to the desired state.\u00a0<\/p>\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\" id=\"83\"><span class=\"ez-toc-section\" id=\"83_Can_You_explain_a_class_in_Puppet\"><\/span>83. Can You explain a class in Puppet?<span class=\"ez-toc-section-end\"><\/span><\/h4>\r\n\r\n\r\n\r\n<p>In the manifest file, classes are the named blocks that configure different functionalities of any node such as files, packages, and services. The classes are executed only when explicitly invoked.<\/p>\r\n\r\n\r\n\r\n<p>Class apache (String $version = \u2018latest\u2019) {<\/p>\r\n\r\n\r\n\r\n<p>package{<\/p>\r\n\r\n\r\n\r\n<p>\u2018httpd\u2019: ensure =&gt; $version,<\/p>\r\n\r\n\r\n\r\n<p>before =&gt; File[\u2018\/etc\/httpd.conf\u2019],}<\/p>\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\" id=\"84\"><span class=\"ez-toc-section\" id=\"84_Have_you_listened_to_Ansibles_work\"><\/span>84. Have you listened to Ansible&#8217;s work?<span class=\"ez-toc-section-end\"><\/span><\/h4>\r\n\r\n\r\n\r\n<p>Yes, it is an open-source automation tool that is used in DevOps.\u00a0<\/p>\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\" id=\"85\"><span class=\"ez-toc-section\" id=\"85_Can_You_tell_us_what_are_the_categories_of_Ansible_in_DevOps\"><\/span>85. Can You tell us what are the categories of Ansible in DevOps?<span class=\"ez-toc-section-end\"><\/span><\/h4>\r\n\r\n\r\n\r\n<p>Controlling machines and nodes are the categories of Ansible in DevOps.\u00a0<\/p>\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\" id=\"86\"><span class=\"ez-toc-section\" id=\"86_Is_it_possible_to_install_Ansible_on_the_controlling_machines\"><\/span>86. Is it possible to install Ansible on the controlling machines?<span class=\"ez-toc-section-end\"><\/span><\/h4>\r\n\r\n\r\n\r\n<p>Yes, it is possible to install the ansible on the controlling machines by using machine nodes with the help of SSH.\u00a0\u00a0\u00a0<\/p>\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\" id=\"87\"><span class=\"ez-toc-section\" id=\"87_What_are_the_benefits_of_the_Ansible_agentless_tool\"><\/span>87. What are the benefits of the Ansible agentless tool?\u00a0<span class=\"ez-toc-section-end\"><\/span><\/h4>\r\n\r\n\r\n\r\n<p>The agentless tool does not require any kind of mandatory installations on the remote nodes and it comes with the following benefits:\u00a0<\/p>\r\n\r\n\r\n\r\n<ul class=\"wp-block-list\">\r\n<li>Application development\u00a0<\/li>\r\n<li>Configuration management\u00a0<\/li>\r\n<li>Task automation\u00a0<\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\" id=\"88\"><span class=\"ez-toc-section\" id=\"88_What_is_an_Ansible_role_in_DevOps\"><\/span>88. What is an Ansible role in DevOps?<span class=\"ez-toc-section-end\"><\/span><\/h4>\r\n\r\n\r\n\r\n<p>It is an independent block of tasks, variables, templates, and files embedded in a playbook. For example, the following playback will install the tomcat on node1:<\/p>\r\n\r\n\r\n\r\n<ul class=\"wp-block-list\">\r\n<li>hosts : node1<\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n<p>roles<\/p>\r\n\r\n\r\n\r\n<p>&#8211; {role: install-tomcat}<\/p>\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\" id=\"89\"><span class=\"ez-toc-section\" id=\"89_When_should_we_use_%E2%80%98\"><\/span>89. When should we use &#8216;{{ }}&#8217;?<span class=\"ez-toc-section-end\"><\/span><\/h4>\r\n\r\n\r\n\r\n<p>{{}} is used for variables if there is no conditional statement.\u00a0<\/p>\r\n\r\n\r\n\r\n<p>For example:<\/p>\r\n\r\n\r\n\r\n<p>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0echo \u201cThis will print the value of {{foo}}\u201d<\/p>\r\n\r\n\r\n\r\n<p>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0when: foo is defined<\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"750\" height=\"500\" class=\"wp-image-5806 aligncenter\" src=\"https:\/\/i0.wp.com\/www.blog.temok.com\/wp-content\/uploads\/2020\/07\/devops25.jpg?resize=750%2C500&#038;ssl=1\" alt=\"\" srcset=\"https:\/\/i0.wp.com\/blog.temok.com\/wp-content\/uploads\/2020\/07\/devops25.jpg?w=750&amp;ssl=1 750w, https:\/\/i0.wp.com\/blog.temok.com\/wp-content\/uploads\/2020\/07\/devops25.jpg?resize=300%2C200&amp;ssl=1 300w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/figure>\r\n\r\n\r\n\r\n<p>The use of brackets makes it easier to understand the difference between undefined variables and strings. This will also ensure that Ansible does not recognize the line as a dictionary definition.\u00a0<\/p>\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\" id=\"90\"><span class=\"ez-toc-section\" id=\"90_How_to_make_content_reusableredistributable\"><\/span>90. How to make content reusable\/redistributable?<span class=\"ez-toc-section-end\"><\/span><\/h4>\r\n\r\n\r\n\r\n<p>Following are the different ways to make content redistributable or reusable:\u00a0<\/p>\r\n\r\n\r\n\r\n<ul class=\"wp-block-list\">\r\n<li>Roles are used to manage tasks in a playbook that can be shared via ansible-galaxy.\u00a0<\/li>\r\n<li>\u201cinclude\u201d is used to add another file or submodule to a playbook and make it possible to add a single code into multiple playbooks.\u00a0<\/li>\r\n<li>\u201cImport\u201d is the updated version of \u201cinclude\u201d and is used to ensure that the file is added only once. It is more suitable when a line is run recursively.\u00a0<\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Containerization_%E2%80%93_DevOps_Interview_Questions\"><\/span><strong>Containerization &#8211; <\/strong><strong>DevOps Interview Questions<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\" id=\"91\"><span class=\"ez-toc-section\" id=\"91_What_is_the_architecture_of_Docker\"><\/span>91. <strong>What is the arc<\/strong>h<strong>itecture of Docker?<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h4>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"750\" height=\"500\" class=\"wp-image-5807 aligncenter\" src=\"https:\/\/i0.wp.com\/www.blog.temok.com\/wp-content\/uploads\/2020\/07\/devops11.jpg?resize=750%2C500&#038;ssl=1\" alt=\"Docker Architecture\" srcset=\"https:\/\/i0.wp.com\/blog.temok.com\/wp-content\/uploads\/2020\/07\/devops11.jpg?w=750&amp;ssl=1 750w, https:\/\/i0.wp.com\/blog.temok.com\/wp-content\/uploads\/2020\/07\/devops11.jpg?resize=300%2C200&amp;ssl=1 300w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/figure>\r\n\r\n\r\n\r\n<ul class=\"wp-block-list\">\r\n<li>The basic architecture of Docker is client-server<\/li>\r\n<li>Client is a service that runs a command and it is translated with the help of REST API and then sent to the Server (Docker Daemon).<\/li>\r\n<li>Once the request is received by the docker daemon, it will interact with the operating system to build docker images and run docker containers.\u00a0<\/li>\r\n<li>A docker image is a set of instructions used to create containers.\u00a0<\/li>\r\n<li>A Docker container is the executable package of the application and its dependencies.\u00a0<\/li>\r\n<li>Docker registry is a service used to host and distribute the docker images among users.\u00a0<\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\" id=\"92\"><span class=\"ez-toc-section\" id=\"92_What_are_the_major_benefits_of_Docker_over_virtual_machines\"><\/span>92. What are the major benefits of Docker over virtual machines?<span class=\"ez-toc-section-end\"><\/span><\/h4>\r\n\r\n\r\n\r\n<figure class=\"wp-block-table\">\r\n<table class=\"has-subtle-pale-pink-background-color has-background\">\r\n<tbody>\r\n<tr>\r\n<td><strong>Criteria<\/strong><\/td>\r\n<td><strong>Virtual Machine\u00a0<\/strong><\/td>\r\n<td><strong>Docker<\/strong><\/td>\r\n<\/tr>\r\n<tr>\r\n<td><strong>Memory space<\/strong><\/td>\r\n<td>Occupies a lot of memory space<\/td>\r\n<td>Docker containers occupy smaller space<\/td>\r\n<\/tr>\r\n<tr>\r\n<td><strong>Boot-up time<\/strong><\/td>\r\n<td>Long\u00a0<\/td>\r\n<td>Short\u00a0<\/td>\r\n<\/tr>\r\n<tr>\r\n<td><strong>Performance<\/strong><\/td>\r\n<td>Unstable performance\u00a0<\/td>\r\n<td>Great performance<\/td>\r\n<\/tr>\r\n<tr>\r\n<td><strong>Scaling<\/strong><\/td>\r\n<td>It is difficult to scale up<\/td>\r\n<td>It is scalable or Easy to scale up<\/td>\r\n<\/tr>\r\n<tr>\r\n<td><strong>Efficiency<\/strong><\/td>\r\n<td>Low-efficiency<\/td>\r\n<td>High-efficiency<\/td>\r\n<\/tr>\r\n<tr>\r\n<td><strong>Portability<\/strong><\/td>\r\n<td>Compatibility issues\u00a0<\/td>\r\n<td>Easily portable across different platforms<\/td>\r\n<\/tr>\r\n<tr>\r\n<td><strong>Space allocation<\/strong><\/td>\r\n<td>Data volumes cannot be shared<\/td>\r\n<td>Data volumes are shared easily and used again across multiple containers<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<\/figure>\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\" id=\"93\"><span class=\"ez-toc-section\" id=\"93_How_do_you_share_Docker_containers_with_different_nodes\"><\/span>93. How do you share Docker containers with different nodes?<span class=\"ez-toc-section-end\"><\/span><\/h4>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"750\" height=\"500\" class=\"wp-image-5808 aligncenter\" src=\"https:\/\/i0.wp.com\/www.blog.temok.com\/wp-content\/uploads\/2020\/07\/devops22.jpg?resize=750%2C500&#038;ssl=1\" alt=\"docker swarm, \" srcset=\"https:\/\/i0.wp.com\/blog.temok.com\/wp-content\/uploads\/2020\/07\/devops22.jpg?w=750&amp;ssl=1 750w, https:\/\/i0.wp.com\/blog.temok.com\/wp-content\/uploads\/2020\/07\/devops22.jpg?resize=300%2C200&amp;ssl=1 300w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/figure>\r\n\r\n\r\n\r\n<ul class=\"wp-block-list\">\r\n<li>We can share docker containers with the help of a docker swarm on different nodes.\u00a0<\/li>\r\n<li>Docker swarm facilitates the developers and IT administrators to create or manage a cluster of swarms within the docker platform.\u00a0<\/li>\r\n<li>Swarm has two types of nodes: manager node and worker node.\u00a0<\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\" id=\"94\"><span class=\"ez-toc-section\" id=\"94_How_to_create_a_Docker_swarm_with_the_help_of_commands\"><\/span>94. How to create a Docker swarm with the help of commands?<span class=\"ez-toc-section-end\"><\/span><\/h4>\r\n\r\n\r\n\r\n<ul class=\"wp-block-list\">\r\n<li>Create a swarm by entering the manager IP with the help of the following command:\u00a0<\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n<p>Docker swarm init \u2013advertise-addr &lt;MANAGER-IP&gt;<\/p>\r\n\r\n\r\n\r\n<ul class=\"wp-block-list\">\r\n<li>Once the manager node is created, you will add worker nodes to your swarm.\u00a0<\/li>\r\n<li>When the manager node is initialized, a token is created. So, to create a worker node, you need to execute the following command (token)<\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n<p>Docker swarm join \\ &#8211;token SWMTKN-1-49nj1cmql0jkz5s234yi3oex3ngtyz0fb0xx14ie61trti4wxv-8vxv8rssmk743ojnwacrr2e7c \\ 192.168.19.100:2377<\/p>\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\" id=\"95\"><span class=\"ez-toc-section\" id=\"95_Is_it_possible_to_run_multiple_containers_using_a_single_service\"><\/span>95. Is it possible to run multiple containers using a single service?<span class=\"ez-toc-section-end\"><\/span><\/h4>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"750\" height=\"500\" class=\"wp-image-5810 aligncenter\" src=\"https:\/\/i0.wp.com\/www.blog.temok.com\/wp-content\/uploads\/2020\/07\/devops19.jpg?resize=750%2C500&#038;ssl=1\" alt=\"is it possible to run multiple containers using a single service?\" srcset=\"https:\/\/i0.wp.com\/blog.temok.com\/wp-content\/uploads\/2020\/07\/devops19.jpg?w=750&amp;ssl=1 750w, https:\/\/i0.wp.com\/blog.temok.com\/wp-content\/uploads\/2020\/07\/devops19.jpg?resize=300%2C200&amp;ssl=1 300w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/figure>\r\n\r\n\r\n\r\n<ul class=\"wp-block-list\">\r\n<li>Yes, you can easily run multiple containers with the help of a single service using Docker Compose.\u00a0<\/li>\r\n<li>Each container can interact with each other but runs in isolation.\u00a0<\/li>\r\n<li>All docker-compose files are YAML (human-readable data-serialization language) files.\u00a0<\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\" id=\"96\"><span class=\"ez-toc-section\" id=\"96_Why_do_we_need_a_Docker_file\"><\/span>96. Why do we need a Docker file?<span class=\"ez-toc-section-end\"><\/span><\/h4>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"750\" height=\"500\" class=\"wp-image-5811 aligncenter\" src=\"https:\/\/i0.wp.com\/www.blog.temok.com\/wp-content\/uploads\/2020\/07\/devops12.jpg?resize=750%2C500&#038;ssl=1\" alt=\"Why do we need a Docker file?\" srcset=\"https:\/\/i0.wp.com\/blog.temok.com\/wp-content\/uploads\/2020\/07\/devops12.jpg?w=750&amp;ssl=1 750w, https:\/\/i0.wp.com\/blog.temok.com\/wp-content\/uploads\/2020\/07\/devops12.jpg?resize=300%2C200&amp;ssl=1 300w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/figure>\r\n\r\n\r\n\r\n<ul class=\"wp-block-list\">\r\n<li>A docker file is used to create docker images\u00a0<\/li>\r\n<li>Using a docker image, anyone can run the code to create docker containers.\u00a0<\/li>\r\n<li>Once the Docker image is built, it is uploaded to a Docker registry.<\/li>\r\n<li>Now, users can get the docker image from the docker registry and build a new container whenever they want.\u00a0<\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\" id=\"97\"><span class=\"ez-toc-section\" id=\"97_What_are_the_main_differences_between_Docker_images_and_Docker_containers\"><\/span>97. What are the main differences between Docker images and Docker containers?<span class=\"ez-toc-section-end\"><\/span><\/h4>\r\n\r\n\r\n\r\n<figure class=\"wp-block-table\">\r\n<table class=\"has-subtle-light-gray-background-color has-background\">\r\n<tbody>\r\n<tr>\r\n<td><strong>Docker Images\u00a0<\/strong><\/td>\r\n<td><strong>Docker Container<\/strong><\/td>\r\n<\/tr>\r\n<tr>\r\n<td>Templates of Docker containers<\/td>\r\n<td>Runtime instances of a Docker image<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>An image is built using a Docker file<\/td>\r\n<td>Containers are created using Docker images<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>Stored in a Docker repository or a Docker hub<\/td>\r\n<td>Stored in the Docker daemon<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>Docker image layer is a read-only filesystem<\/td>\r\n<td>The container layer is a read-write filesystem<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<\/figure>\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\" id=\"98\"><span class=\"ez-toc-section\" id=\"98_How_to_create_a_Docker_container\"><\/span>98. How to create a Docker container?<span class=\"ez-toc-section-end\"><\/span><\/h4>\r\n\r\n\r\n\r\n<p>A user has two options either he will build a docker image or pull an existing docker image from the docker hub. Now, docker will create a new container MySQL, and the container layer of the read-write filesystem will also be created on the top of the image layer.\u00a0<\/p>\r\n\r\n\r\n\r\n<ul class=\"wp-block-list\">\r\n<li>Run this command to create a docker container: Docker run -t \u2013i MySQL<\/li>\r\n<li>Now list down the running containers with this command: Docker ps<\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\" id=\"99\"><span class=\"ez-toc-section\" id=\"99_Enlist_the_differences_between_a_registry_and_a_repository\"><\/span>99. Enlist the differences between a registry and a repository.<span class=\"ez-toc-section-end\"><\/span><\/h4>\r\n\r\n\r\n\r\n<figure class=\"wp-block-table\">\r\n<table class=\"has-subtle-pale-blue-background-color has-background\">\r\n<tbody>\r\n<tr>\r\n<td><strong>Registry<\/strong><\/td>\r\n<td><strong>Repository<\/strong><\/td>\r\n<\/tr>\r\n<tr>\r\n<td>It is an opensource server-side service used for hosting and distributing Docker images<\/td>\r\n<td>It is a collection of multiple versions of Docker images\u00a0<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>A user can distinguish between Docker images with their tag names<\/td>\r\n<td>It is stored in a Docker registry\u00a0<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>Docker also has its default registry called Docker Hub<\/td>\r\n<td>It has two types: public and private repositories<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<\/figure>\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\" id=\"100\"><span class=\"ez-toc-section\" id=\"100_What_are_the_names_of_different_cloud_platforms_that_support_Docker\"><\/span>100. What are the names of different cloud platforms that support Docker?<span class=\"ez-toc-section-end\"><\/span><\/h4>\r\n\r\n\r\n\r\n<ul class=\"wp-block-list\">\r\n<li><a class=\"aioseop-link\" href=\"https:\/\/www.temok.com\/managed-digitalocean-hosting\" target=\"_blank\" rel=\"noopener\">DigitalOcean Cloud<\/a><\/li>\r\n<li><a class=\"aioseop-link\" href=\"https:\/\/www.temok.com\/managed-magento-cloud-hosting\" target=\"_blank\" rel=\"noopener\">Magento Cloud<\/a><\/li>\r\n<li><a class=\"aioseop-link\" href=\"https:\/\/www.temok.com\/managed-amazon-cloud-hosting\" target=\"_blank\" rel=\"noopener\">Amazon Cloud (AWS)<\/a><\/li>\r\n<li><a class=\"aioseop-link\" href=\"https:\/\/www.temok.com\/managed-php-cloud-hosting\" target=\"_blank\" rel=\"noopener\">PHP Cloud<\/a><\/li>\r\n<li><a class=\"aioseop-link\" href=\"https:\/\/www.temok.com\/managed-laravel-cloud-hosting\" target=\"_blank\" rel=\"noopener\">Laravel Cloud<\/a><\/li>\r\n<li><a class=\"aioseop-link\" href=\"https:\/\/www.temok.com\/managed-drupal-cloud-hosting\" target=\"_blank\" rel=\"noopener\">Drupal Cloud<\/a><\/li>\r\n<li><a class=\"aioseop-link\" href=\"https:\/\/www.temok.com\/managed-joomla-cloud-hosting\" target=\"_blank\" rel=\"noopener\">Joomla Cloud<\/a><\/li>\r\n<li><a class=\"aioseop-link\" href=\"https:\/\/www.temok.com\/managed-prestashop-cloud-hosting\" target=\"_blank\" rel=\"noopener\">Prestashop Cloud<\/a><\/li>\r\n<li><a class=\"aioseop-link\" href=\"https:\/\/www.temok.com\/managed-wordpress-cloud-hosting\" target=\"_blank\" rel=\"noopener\">WordPress Cloud<\/a><\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"750\" height=\"500\" class=\"wp-image-5812 aligncenter\" src=\"https:\/\/i0.wp.com\/www.blog.temok.com\/wp-content\/uploads\/2020\/07\/devops5.jpg?resize=750%2C500&#038;ssl=1\" alt=\"cloud platforms that support Docker\" srcset=\"https:\/\/i0.wp.com\/blog.temok.com\/wp-content\/uploads\/2020\/07\/devops5.jpg?w=750&amp;ssl=1 750w, https:\/\/i0.wp.com\/blog.temok.com\/wp-content\/uploads\/2020\/07\/devops5.jpg?resize=300%2C200&amp;ssl=1 300w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/figure>\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\" id=\"101\"><span class=\"ez-toc-section\" id=\"101_What_do_you_know_about_the_expose_and_publish_commands_in_Docker\"><\/span>101. What do you know about the expose and publish commands in Docker?<span class=\"ez-toc-section-end\"><\/span><\/h4>\r\n\r\n\r\n\r\n<p><strong>Expose<\/strong><\/p>\r\n\r\n\r\n\r\n<ul class=\"wp-block-list\">\r\n<li>It is an instruction used in the Docker file<\/li>\r\n<li>Expose is used to expose ports within a Docker network<\/li>\r\n<li>It is the documented form of instructions used at the time of building an image and running a container<\/li>\r\n<li>Expose is a Docker command.<\/li>\r\n<li>Example: Expose 8080<\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n<p><strong>Publish<\/strong><\/p>\r\n\r\n\r\n\r\n<ul class=\"wp-block-list\">\r\n<li>It is used in a Docker run command<\/li>\r\n<li>You can use publish outside a Docker environment<\/li>\r\n<li>publish is used to map a host port to a running container port<\/li>\r\n<li>&#8211;publish or \u2013p is the command used in Docker<\/li>\r\n<li>Example: docker run \u2013d \u2013p 0.0.0.80:80<\/li>\r\n<\/ul>\r\n","protected":false},"excerpt":{"rendered":"<p><span class=\"span-reading-time rt-reading-time\" style=\"display: block;\"><span class=\"rt-label rt-prefix\"><\/span> <span class=\"rt-time\"> 26<\/span> <span class=\"rt-label rt-postfix\">min read<\/span><\/span>DevOps stands for Development and Operations is a well-renowned software development practice that most organizations adopt into their workflow. According to Forrester (a top research firm), more than 50% of the organization has implemented and expanding whereas 27% are planning to implement shortly. Biggest enterprises such as Google, Facebook, Amazon, and Netflix have implemented and [&hellip;]<\/p>\n","protected":false},"author":11,"featured_media":5793,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"pmpro_default_level":"","_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[442,77],"tags":[698,696,697,699],"class_list":["post-5768","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-technical-interviews","category-technology-trends","tag-100-devops-interview-questions","tag-devops","tag-devops-interview-questions","tag-devops-interview-questions-and-answers","pmpro-has-access"],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/blog.temok.com\/wp-content\/uploads\/2020\/07\/devops1.jpg?fit=750%2C500&ssl=1","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.temok.com\/blog\/wp-json\/wp\/v2\/posts\/5768","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.temok.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.temok.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.temok.com\/blog\/wp-json\/wp\/v2\/users\/11"}],"replies":[{"embeddable":true,"href":"https:\/\/www.temok.com\/blog\/wp-json\/wp\/v2\/comments?post=5768"}],"version-history":[{"count":36,"href":"https:\/\/www.temok.com\/blog\/wp-json\/wp\/v2\/posts\/5768\/revisions"}],"predecessor-version":[{"id":13088,"href":"https:\/\/www.temok.com\/blog\/wp-json\/wp\/v2\/posts\/5768\/revisions\/13088"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.temok.com\/blog\/wp-json\/wp\/v2\/media\/5793"}],"wp:attachment":[{"href":"https:\/\/www.temok.com\/blog\/wp-json\/wp\/v2\/media?parent=5768"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.temok.com\/blog\/wp-json\/wp\/v2\/categories?post=5768"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.temok.com\/blog\/wp-json\/wp\/v2\/tags?post=5768"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}