{"id":6924,"date":"2019-10-07T10:53:18","date_gmt":"2019-10-07T10:53:18","guid":{"rendered":"https:\/\/www.devopsschool.com\/blog\/?p=6924"},"modified":"2020-05-28T10:37:19","modified_gmt":"2020-05-28T10:37:19","slug":"sysops-interview-questions-and-answer-part-1","status":"publish","type":"post","link":"https:\/\/www.devopsschool.com\/blog\/sysops-interview-questions-and-answer-part-1\/","title":{"rendered":"SysOps Interview Questions and Answer &#8211; Part 1"},"content":{"rendered":"\n<ul class=\"wp-block-list\"><li>What is your favorite editor?<\/li><li>What is RAID? What is RAID0, RAID1, RAID5, RAID10?<\/li><li>Describe the general file system hierarchy of a Linux system.<\/li><li>Describe what each of the following command line utilities do:<ul><li>tee<\/li><li>awk<\/li><li>tr<\/li><li>cut<\/li><li>curl<\/li><li>tail<\/li><li>sed<\/li><\/ul><\/li><li>Command line demo:<ul><li>Search for &#8220;my konfu is the best&#8221; in all *.py files<\/li><li>Replace the occurrence of &#8220;my konfu is the best&#8221; with &#8220;I&#8217;m a linux jedi master&#8221; in all *.txt files<\/li><li>Find all files which have been accessed within the last 30 days<\/li><\/ul><\/li><li>What is the difference between virtual memory and swap ?<\/li><li>What is the difference between hardlinks and symlinks?<\/li><li>What is an inode and what fields are stored in an inode?<\/li><li>What are zombie processes ?<\/li><li>Can you have several HTTPS virtual hosts sharing the same IP?<\/li><li>What is the difference between processes and threads?<\/li><li>What is the difference between exec and fork?<\/li><li>How nginx can handle a lot of connections? What does it use inside?<ul><li>Example of answer: Eventloop.<\/li><\/ul><\/li><li>What is &#8220;nohup&#8221; used for?<\/li><li>What is an atomic operation?<\/li><li>I&#8217;ve added my public ssh key into authorized_keys but I&#8217;m still getting a password prompt, what can be wrong?<\/li><li>How do you catch a SIGHUP ? What about SIGSEGV ? What about SIGKILL ?<\/li><li>What is the Linux Kernel OOM and how does it work ?<\/li><li>What&#8217;s a chroot jail?<\/li><li>Describe the Linux boot process with as much detail as possible, starting from when the system is powered on and ending when you get a prompt.<\/li><li>What&#8217;s LD_PRELOAD and when is it used?<\/li><li>You ran a binary and nothing happened. How would you debug this?<\/li><li>When can a socket receive E_AGAIN ?<\/li><li>What is a dynamically\/statically linked file?<\/li><li>A careless sysadmin executes the following command: chmod 444 \/bin\/chmod &#8211; what do you do to fix this?<\/li><li>I&#8217;ve lost my root password, what can I do?<\/li><li>You have accidentally deleted a running script, how could you restore it ?<\/li><li>What load balancers have you used ?<\/li><li>AWS:<ul><li>What is the difference between an AMI and an instance ?<\/li><li>What\u2019s EBS ? What\u2019s an EBS snapshot ? What is the real cost of having an EBS snapshot ?<\/li><li>What\u2019s a VPC ?<\/li><li>What\u2019s the difference between a region and an availability zone ?<\/li><li>What\u2019s an ELB ?<\/li><li>What\u2019s S3 ? What are the features supported on S3 ?<\/li><\/ul><\/li><\/ul>\n","protected":false},"excerpt":{"rendered":"<p>What is your favorite editor? What is RAID? What is RAID0, RAID1, RAID5, RAID10? Describe the general file system hierarchy of a Linux system. Describe what each of the following&#8230; <\/p>\n","protected":false},"author":1,"featured_media":7815,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_joinchat":[],"footnotes":""},"categories":[4957],"tags":[],"class_list":["post-6924","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/6924","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/comments?post=6924"}],"version-history":[{"count":1,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/6924\/revisions"}],"predecessor-version":[{"id":6925,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/6924\/revisions\/6925"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/media\/7815"}],"wp:attachment":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/media?parent=6924"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/categories?post=6924"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/tags?post=6924"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}