Interview Questions & Answer for Web servers and App Servers

Table of Contents

General


What is a server?

Define or Explain what is an API

Tell me about interesting bugs you’ve found and also fixed

What is a Debuggger and how it works?

What is Metadata?

You can use one of the following formats: JSON, YAML, XML. Which one would you use? Why?

YAML


What is YAML?

True or False? Any valid JSON file is also a valid YAML file

What is the format of the following data?

{
    applications: [
        {
            name: "my_app",
            language: "python",
            version: 20.17
        }
    ]
}

What is the format of the following data?

applications:
  - app: "my_app"
    language: "python"
    version: 20.17

How to write a multi-line string with YAML? What use cases is it good for?

What is the difference between someMultiLineString: | to someMultiLineString: >?

What are placeholders in YAML?

How can you define multiple YAML components in one file?

What is Kafka?

Cassandra

When running a cassandra cluster, how often do you need to run nodetool repair in order to keep the cluster consistent?

Within the columnFamily GC-grace Once a week

Less than the compacted partition minimum bytes

Depended on the compaction strategy

Customers and Service Providers

What is SLO (service-level objective)?

What is SLA (service-level agreement)?

HTTP


What is HTTP?

Describe HTTP request lifecycle

True or False? HTTP is stateful

How HTTP request looks like?

What HTTP method types are there?

What HTTP response codes are there?

What is HTTPS?

Explain HTTP Cookies

What is HTTP Pipelining?

You get “504 Gateway Timeout” error from an HTTP server. What does it mean?

What is a proxy?

What is a reverse proxy?

What is CDN?

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?

Load Balancers


What is a load balancer?

What benefits load balancers provide?

What load balancer techniques/algorithms are you familiar with?

What are the drawbacks of round robin algorithm in load balancing?

What is an Application Load Balancer?

In which scenarios would you use ALB?

At what layers a load balancer can operate?

Can you perform load balancing without using a dedicated load balancer instance?

What is DNS load balancing? What its advantages? When would you use it?

What are sticky sessions? What are their pros and cons?

Explain each of the following load balancing techniques

Round Robin


Weighted Round Robin

Least Connection

Weighted Least Connection

Resource Based

Fixed Weighting

Weighted Response Time

Source IP Hash

URL Hash

Explain use case for connection draining?

Licenses

Are you familiar with “Creative Commons”? What do you know about it?

Explain the differences between copyleft and permissive licenses

Random


How a search engine works?

How auto completion works?

What is faster than RAM?

What is a memory leak?

What is your favorite protocol?

What is Cache API?

What is the C10K problem? Is it relevant today?

Rajesh Kumar
Follow me