{"id":22761,"date":"2021-07-24T20:43:08","date_gmt":"2021-07-24T20:43:08","guid":{"rendered":"https:\/\/www.devopsschool.com\/blog\/?p=22761"},"modified":"2021-07-24T20:44:12","modified_gmt":"2021-07-24T20:44:12","slug":"interview-questions-answer-for-web-servers-and-app-servers","status":"publish","type":"post","link":"https:\/\/www.devopsschool.com\/blog\/interview-questions-answer-for-web-servers-and-app-servers\/","title":{"rendered":"Interview Questions &#038; Answer for Web servers and App Servers"},"content":{"rendered":"\n<h1 class=\"wp-block-heading\">General<\/h1>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">What is a server?<\/h3>\n\n\n\n<h3 class=\"wp-block-heading\">Define or Explain what is an API<\/h3>\n\n\n\n<h3 class=\"wp-block-heading\">Tell me about interesting bugs you&#8217;ve found and also fixed<\/h3>\n\n\n\n<h3 class=\"wp-block-heading\">What is a Debuggger and how it works?<\/h3>\n\n\n\n<h3 class=\"wp-block-heading\">What is Metadata?<\/h3>\n\n\n\n<h3 class=\"wp-block-heading\">You can use one of the following formats: JSON, YAML, XML. Which one would you use? Why?<\/h3>\n\n\n\n<h1 class=\"wp-block-heading\">YAML<\/h1>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">What is YAML?<\/h3>\n\n\n\n<h3 class=\"wp-block-heading\">True or False? Any valid JSON file is also a valid YAML file<\/h3>\n\n\n\n<h3 class=\"wp-block-heading\">What is the format of the following data?<\/h3>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-1\" data-shcb-language-name=\"CSS\" data-shcb-language-slug=\"css\"><span><code class=\"hljs language-css\">{\n    <span class=\"hljs-attribute\">applications<\/span>: &#91;\n        {\n            name: <span class=\"hljs-string\">\"my_app\"<\/span>,\n            language: <span class=\"hljs-string\">\"python\"<\/span>,\n            version: <span class=\"hljs-number\">20.17<\/span>\n        }\n    ]\n}<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-1\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">CSS<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">css<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<h3 class=\"wp-block-heading\">What is the format of the following data?<\/h3>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-2\" data-shcb-language-name=\"JavaScript\" data-shcb-language-slug=\"javascript\"><span><code class=\"hljs language-javascript\">applications:\n  - app: <span class=\"hljs-string\">\"my_app\"<\/span>\n    <span class=\"hljs-attr\">language<\/span>: <span class=\"hljs-string\">\"python\"<\/span>\n    <span class=\"hljs-attr\">version<\/span>: <span class=\"hljs-number\">20.17<\/span><\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-2\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">JavaScript<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">javascript<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<h3 class=\"wp-block-heading\">How to write a multi-line string with YAML? What use cases is it good for?<\/h3>\n\n\n\n<h3 class=\"wp-block-heading\">What is the difference between someMultiLineString: | to someMultiLineString: &gt;?<\/h3>\n\n\n\n<h3 class=\"wp-block-heading\">What are placeholders in YAML?<\/h3>\n\n\n\n<h3 class=\"wp-block-heading\">How can you define multiple YAML components in one file?<\/h3>\n\n\n\n<h3 class=\"wp-block-heading\">What is Kafka?<\/h3>\n\n\n\n<h3 class=\"wp-block-heading\">Cassandra<\/h3>\n\n\n\n<h3 class=\"wp-block-heading\">When running a cassandra cluster, how often do you need to run nodetool repair in order to keep the cluster consistent?<\/h3>\n\n\n\n<h3 class=\"wp-block-heading\">Within the columnFamily GC-grace Once a week<\/h3>\n\n\n\n<h3 class=\"wp-block-heading\">Less than the compacted partition minimum bytes<\/h3>\n\n\n\n<h3 class=\"wp-block-heading\">Depended on the compaction strategy<\/h3>\n\n\n\n<h3 class=\"wp-block-heading\">Customers and Service Providers<\/h3>\n\n\n\n<h3 class=\"wp-block-heading\">What is SLO (service-level objective)?<\/h3>\n\n\n\n<h3 class=\"wp-block-heading\">What is SLA (service-level agreement)?<\/h3>\n\n\n\n<h1 class=\"wp-block-heading\">HTTP<\/h1>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">What is HTTP?<\/h3>\n\n\n\n<h3 class=\"wp-block-heading\">Describe HTTP request lifecycle<\/h3>\n\n\n\n<h3 class=\"wp-block-heading\">True or False? HTTP is stateful<\/h3>\n\n\n\n<h3 class=\"wp-block-heading\">How HTTP request looks like?<\/h3>\n\n\n\n<h3 class=\"wp-block-heading\">What HTTP method types are there?<\/h3>\n\n\n\n<h3 class=\"wp-block-heading\">What HTTP response codes are there?<\/h3>\n\n\n\n<h3 class=\"wp-block-heading\">What is HTTPS?<\/h3>\n\n\n\n<h3 class=\"wp-block-heading\">Explain HTTP Cookies<\/h3>\n\n\n\n<h3 class=\"wp-block-heading\">What is HTTP Pipelining?<\/h3>\n\n\n\n<h3 class=\"wp-block-heading\">You get &#8220;504 Gateway Timeout&#8221; error from an HTTP server. What does it mean?<\/h3>\n\n\n\n<h3 class=\"wp-block-heading\">What is a proxy?<\/h3>\n\n\n\n<h3 class=\"wp-block-heading\">What is a reverse proxy?<\/h3>\n\n\n\n<h3 class=\"wp-block-heading\">What is CDN?<\/h3>\n\n\n\n<h3 class=\"wp-block-heading\">When you publish a project, you usually publish it with a license. What types of licenses are you familiar with and which one do you prefer to use?<\/h3>\n\n\n\n<h1 class=\"wp-block-heading\">Load Balancers<\/h1>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">What is a load balancer?<\/h3>\n\n\n\n<h3 class=\"wp-block-heading\">What benefits load balancers provide?<\/h3>\n\n\n\n<h3 class=\"wp-block-heading\">What load balancer techniques\/algorithms are you familiar with?<\/h3>\n\n\n\n<h3 class=\"wp-block-heading\">What are the drawbacks of round robin algorithm in load balancing?<\/h3>\n\n\n\n<h3 class=\"wp-block-heading\">What is an Application Load Balancer?<\/h3>\n\n\n\n<h3 class=\"wp-block-heading\">In which scenarios would you use ALB?<\/h3>\n\n\n\n<h3 class=\"wp-block-heading\">At what layers a load balancer can operate?<\/h3>\n\n\n\n<h3 class=\"wp-block-heading\">Can you perform load balancing without using a dedicated load balancer instance?<\/h3>\n\n\n\n<h3 class=\"wp-block-heading\">What is DNS load balancing? What its advantages? When would you use it?<\/h3>\n\n\n\n<h3 class=\"wp-block-heading\">What are sticky sessions? What are their pros and cons?<\/h3>\n\n\n\n<h3 class=\"wp-block-heading\">Explain each of the following load balancing techniques<\/h3>\n\n\n\n<h1 class=\"wp-block-heading\">Round Robin<\/h1>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">Weighted Round Robin<\/h3>\n\n\n\n<h3 class=\"wp-block-heading\">Least Connection<\/h3>\n\n\n\n<h3 class=\"wp-block-heading\">Weighted Least Connection<\/h3>\n\n\n\n<h3 class=\"wp-block-heading\">Resource Based<\/h3>\n\n\n\n<h3 class=\"wp-block-heading\">Fixed Weighting<\/h3>\n\n\n\n<h3 class=\"wp-block-heading\">Weighted Response Time<\/h3>\n\n\n\n<h3 class=\"wp-block-heading\">Source IP Hash<\/h3>\n\n\n\n<h3 class=\"wp-block-heading\">URL Hash<\/h3>\n\n\n\n<h3 class=\"wp-block-heading\">Explain use case for connection draining?<\/h3>\n\n\n\n<h3 class=\"wp-block-heading\">Licenses<\/h3>\n\n\n\n<h3 class=\"wp-block-heading\">Are you familiar with &#8220;Creative Commons&#8221;? What do you know about it?<\/h3>\n\n\n\n<h3 class=\"wp-block-heading\">Explain the differences between copyleft and permissive licenses<\/h3>\n\n\n\n<h1 class=\"wp-block-heading\">Random<\/h1>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">How a search engine works?<\/h3>\n\n\n\n<h3 class=\"wp-block-heading\">How auto completion works?<\/h3>\n\n\n\n<h3 class=\"wp-block-heading\">What is faster than RAM?<\/h3>\n\n\n\n<h3 class=\"wp-block-heading\">What is a memory leak?<\/h3>\n\n\n\n<h3 class=\"wp-block-heading\">What is your favorite protocol?<\/h3>\n\n\n\n<h3 class=\"wp-block-heading\">What is Cache API?<\/h3>\n\n\n\n<h3 class=\"wp-block-heading\">What is the C10K problem? Is it relevant today?<\/h3>\n","protected":false},"excerpt":{"rendered":"<p>General What is a server? Define or Explain what is an API Tell me about interesting bugs you&#8217;ve found and also fixed What is a Debuggger and how it works?&#8230; <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_joinchat":[],"footnotes":""},"categories":[2],"tags":[],"class_list":["post-22761","post","type-post","status-publish","format-standard","hentry","category-uncategorised"],"_links":{"self":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/22761","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=22761"}],"version-history":[{"count":2,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/22761\/revisions"}],"predecessor-version":[{"id":22764,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/22761\/revisions\/22764"}],"wp:attachment":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/media?parent=22761"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/categories?post=22761"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/tags?post=22761"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}